diff options
author | Gerald Carter <jerry@samba.org> | 2006-03-01 02:47:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:53 -0500 |
commit | 085c6859ee5b97efe9ec06e95877d500822d3c82 (patch) | |
tree | 3b7eb89a5f879de7d96987122f48e1f7d5a4b295 /source/passdb | |
parent | bb3b15e631c8dae7aaea303be18e086d63ee16d6 (diff) | |
download | samba-085c6859ee5b97efe9ec06e95877d500822d3c82.tar.gz samba-085c6859ee5b97efe9ec06e95877d500822d3c82.tar.xz samba-085c6859ee5b97efe9ec06e95877d500822d3c82.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.
Diffstat (limited to 'source/passdb')
-rw-r--r-- | source/passdb/pdb_tdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/passdb/pdb_tdb.c b/source/passdb/pdb_tdb.c index b38ebe436a7..0bab02343e7 100644 --- a/source/passdb/pdb_tdb.c +++ b/source/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))); |