svn commit: samba r16623 - in trunk/source/passdb: .

jra at samba.org jra at samba.org
Wed Jun 28 17:10:52 GMT 2006


Author: jra
Date: 2006-06-28 17:10:52 +0000 (Wed, 28 Jun 2006)
New Revision: 16623

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16623

Log:
Fix bug #3877, reported by jason at ncac.gwu.edu
Jeremy.

Modified:
   trunk/source/passdb/pdb_tdb.c


Changeset:
Modified: trunk/source/passdb/pdb_tdb.c
===================================================================
--- trunk/source/passdb/pdb_tdb.c	2006-06-28 16:35:23 UTC (rev 16622)
+++ trunk/source/passdb/pdb_tdb.c	2006-06-28 17:10:52 UTC (rev 16623)
@@ -1321,7 +1321,6 @@
 
 static BOOL tdb_update_sam(struct pdb_methods *my_methods, struct samu* newpwd, int flag)
 {
-	uint32		user_rid;
 	BOOL            result = True;
 
 	/* invalidate the existing TDB iterator if it is open */
@@ -1336,7 +1335,7 @@
 	}
 #endif
 
-	if ( !(user_rid = pdb_get_user_rid(newpwd)) ) {
+	if (!pdb_get_user_rid(newpwd)) {
 		DEBUG(0,("tdb_update_sam: struct samu (%s) with no RID!\n", pdb_get_username(newpwd)));
 		return False;
 	}



More information about the samba-cvs mailing list