summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-17 21:25:42 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-17 21:25:42 +0000
commit8f3507338e3bb31c96e9073c2a894c72518388c3 (patch)
tree8f6ee03dc7c97f7ac42c6a9255091e0deeb6154f /source3/groupdb
parent34a9928ee1c141f2cdb498d96bb09e7498cf090f (diff)
downloadsamba-8f3507338e3bb31c96e9073c2a894c72518388c3.tar.gz
samba-8f3507338e3bb31c96e9073c2a894c72518388c3.tar.bz2
samba-8f3507338e3bb31c96e9073c2a894c72518388c3.zip
When creating a group via a script, don't let winbind do it as well.
Volker (This used to be commit 6a229f1488c2f0935c24e223614e4c88b36d15c0)
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c4
1 files changed, 1 insertions, 3 deletions
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;