summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-17 21:29:05 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-17 21:29:05 +0000
commit25d96fd0f0d3812fc05492cea56a936ff8a0452d (patch)
tree1a3e9aa90cfef8d2c7c777dcfffd59a8a00ad294
parentdfc98bd6efc023a4215081cd94209d43f20c4cbe (diff)
downloadsamba-25d96fd0f0d3812fc05492cea56a936ff8a0452d.tar.gz
samba-25d96fd0f0d3812fc05492cea56a936ff8a0452d.tar.bz2
samba-25d96fd0f0d3812fc05492cea56a936ff8a0452d.zip
When creating a group via a script, don't let winbind do it as well.
Volker (This used to be commit f90c590731b45e413e70cd5d9b56d0d77dd48391)
-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;