From 5837baa12672dd0c0ee3f1011fba6c11bb9d3da9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 1 Mar 2006 02:47:50 +0000 Subject: 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) --- source3/passdb/pdb_tdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/passdb/pdb_tdb.c') 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))); -- cgit