svn commit: samba r13765 - branches/SAMBA_3_0/source/passdb
trunk/source/passdb
jerry at samba.org
jerry at samba.org
Wed Mar 1 02:47:51 GMT 2006
Author: jerry
Date: 2006-03-01 02:47:50 +0000 (Wed, 01 Mar 2006)
New Revision: 13765
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13765
Log:
Fix bug reported by jra. Don't check for a group SID when storing
a user since we no longer pay any attention to the value.
Modified:
branches/SAMBA_3_0/source/passdb/pdb_tdb.c
trunk/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-03-01 01:49:14 UTC (rev 13764)
+++ branches/SAMBA_3_0/source/passdb/pdb_tdb.c 2006-03-01 02:47:50 UTC (rev 13765)
@@ -1311,11 +1311,13 @@
tdbsam_endsampwent( my_methods );
+#if 0
if ( !pdb_get_group_rid(newpwd) ) {
DEBUG (0,("tdb_update_sam: Failing to store a struct samu for [%s] "
"without a primary group RID\n", pdb_get_username(newpwd)));
return False;
}
+#endif
if ( !(user_rid = pdb_get_user_rid(newpwd)) ) {
DEBUG(0,("tdb_update_sam: struct samu (%s) with no RID!\n", pdb_get_username(newpwd)));
Modified: trunk/source/passdb/pdb_tdb.c
===================================================================
--- trunk/source/passdb/pdb_tdb.c 2006-03-01 01:49:14 UTC (rev 13764)
+++ trunk/source/passdb/pdb_tdb.c 2006-03-01 02:47:50 UTC (rev 13765)
@@ -1311,11 +1311,13 @@
tdbsam_endsampwent( my_methods );
+#if 0
if ( !pdb_get_group_rid(newpwd) ) {
DEBUG (0,("tdb_update_sam: Failing to store a struct samu for [%s] "
"without a primary group RID\n", pdb_get_username(newpwd)));
return False;
}
+#endif
if ( !(user_rid = pdb_get_user_rid(newpwd)) ) {
DEBUG(0,("tdb_update_sam: struct samu (%s) with no RID!\n", pdb_get_username(newpwd)));
More information about the samba-cvs
mailing list