svn commit: samba r16624 - in branches/SAMBA_3_0/source/passdb: .
jra at samba.org
jra at samba.org
Wed Jun 28 17:11:07 GMT 2006
Author: jra
Date: 2006-06-28 17:11:06 +0000 (Wed, 28 Jun 2006)
New Revision: 16624
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16624
Log:
Fix bug #3877, reported by jason at ncac.gwu.edu
Jeremy.
Modified:
branches/SAMBA_3_0/source/passdb/pdb_tdb.c
Changeset:
Modified: branches/SAMBA_3_0/source/passdb/pdb_tdb.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/pdb_tdb.c 2006-06-28 17:10:52 UTC (rev 16623)
+++ branches/SAMBA_3_0/source/passdb/pdb_tdb.c 2006-06-28 17:11:06 UTC (rev 16624)
@@ -1310,7 +1310,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 */
@@ -1325,7 +1324,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