[Pkg-samba-maint] r2618 - in branches/samba/lenny/debian: . patches

bubulle at alioth.debian.org bubulle at alioth.debian.org
Sat Feb 28 18:48:19 UTC 2009


tags 514151 pending
thanks

Author: bubulle
Date: 2009-02-28 18:48:19 +0000 (Sat, 28 Feb 2009)
New Revision: 2618

Added:
   branches/samba/lenny/debian/patches/bug_514151_upstream_5825.patch
Modified:
   branches/samba/lenny/debian/changelog
   branches/samba/lenny/debian/patches/series
Log:
Prepare an upload for spu: Fix #514151

Modified: branches/samba/lenny/debian/changelog
===================================================================
--- branches/samba/lenny/debian/changelog	2009-02-28 07:52:36 UTC (rev 2617)
+++ branches/samba/lenny/debian/changelog	2009-02-28 18:48:19 UTC (rev 2618)
@@ -1,3 +1,9 @@
+samba (2:3.2.5-4lenny1) UNRELEASED; urgency=low
+
+  * Fix account locking with an LDAP backend. Closes: #514151
+
+ -- Christian Perrier <bubulle at debian.org>  Sat, 28 Feb 2009 19:42:05 +0100
+
 samba (2:3.2.5-4) unstable; urgency=low
 
   * Fix segfault whan accessign some NAS devices running old versions of Samba

Added: branches/samba/lenny/debian/patches/bug_514151_upstream_5825.patch
===================================================================
--- branches/samba/lenny/debian/patches/bug_514151_upstream_5825.patch	                        (rev 0)
+++ branches/samba/lenny/debian/patches/bug_514151_upstream_5825.patch	2009-02-28 18:48:19 UTC (rev 2618)
@@ -0,0 +1,28 @@
+Goal: Account locking when LDAP backend is used.
+
+Fixes: #514151
+
+Status wrt upstream: Fixed in 3.2.6
+
+Author: Jeremy Allison <jra at samba.org>
+
+Note: This patch was propused by Jeremy Allison in the upstream bug report
+      (https://bugzilla.samba.org/show_bug.cgi?id=5825#c8). This only line
+      if fixed in 3.2.6 and looks like it solves the problem, even when #5825
+      (upstream report) is still pending.
+
+Index: samba-3.2.5/source/passdb/pdb_interface.c
+===================================================================
+--- samba-3.2.5.orig/source/passdb/pdb_interface.c	2009-02-09 07:46:52.000000000 -0200
++++ samba-3.2.5/source/passdb/pdb_interface.c	2009-02-09 07:47:16.000000000 -0200
+@@ -1150,7 +1150,9 @@
+ 
+ static NTSTATUS pdb_default_update_login_attempts (struct pdb_methods *methods, struct samu *newpwd, bool success)
+ {
+-	return NT_STATUS_NOT_IMPLEMENTED;
++	/* Only the pdb_nds backend implements this, by
++	 * default just return ok. */
++	return NT_STATUS_OK;
+ }
+ 
+ static NTSTATUS pdb_default_get_account_policy(struct pdb_methods *methods, int policy_index, uint32 *value)

Modified: branches/samba/lenny/debian/patches/series
===================================================================
--- branches/samba/lenny/debian/patches/series	2009-02-28 07:52:36 UTC (rev 2617)
+++ branches/samba/lenny/debian/patches/series	2009-02-28 18:48:19 UTC (rev 2618)
@@ -23,3 +23,4 @@
 smbd-prevent-access-to-root-filesystem-when-connect.patch
 bug_500129_upstream_5953.patch
 bug_509101_upstream_5904.patch
+account_lock_LDAP.patch




More information about the Pkg-samba-maint mailing list