From 8f3507338e3bb31c96e9073c2a894c72518388c3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 17 Feb 2004 21:25:42 +0000 Subject: When creating a group via a script, don't let winbind do it as well. Volker (This used to be commit 6a229f1488c2f0935c24e223614e4c88b36d15c0) --- source3/groupdb/mapping.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/groupdb') diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index 048a6c5db0..71ef38e6c8 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -838,11 +838,9 @@ int smb_create_group(char *unix_group, gid_t *new_gid) close(fd); } - } - /* Try winbindd */ + } else if ( winbind_create_group( unix_group, NULL ) ) { - if ( winbind_create_group( unix_group, NULL ) ) { DEBUG(3,("smb_create_group: winbindd created the group (%s)\n", unix_group)); ret = 0; -- cgit