1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

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)
This commit is contained in:
Gerald Carter 2006-03-01 02:47:50 +00:00 committed by Gerald (Jerry) Carter
parent 3af5da2e7c
commit 5837baa126

@ -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)));