summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-03-01 02:47:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:53 -0500
commit5837baa12672dd0c0ee3f1011fba6c11bb9d3da9 (patch)
tree923778aa5e342ef473b96f1b847fdb7aec35810c /source3/passdb
parent3af5da2e7c8e9490feebfe61ff5f6d0f4ded8d88 (diff)
downloadsamba-5837baa12672dd0c0ee3f1011fba6c11bb9d3da9.tar.gz
samba-5837baa12672dd0c0ee3f1011fba6c11bb9d3da9.tar.bz2
samba-5837baa12672dd0c0ee3f1011fba6c11bb9d3da9.zip
r13765: 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. (This used to be commit 085c6859ee5b97efe9ec06e95877d500822d3c82)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_tdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index b38ebe436a..0bab02343e 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1311,11 +1311,13 @@ static BOOL tdb_update_sam(struct pdb_methods *my_methods, struct samu* newpwd,
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)));