summaryrefslogtreecommitdiffstats
path: root/source/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
commit6a229f1488c2f0935c24e223614e4c88b36d15c0 (patch)
tree1d0e1fa02afa1da3b293713621daa0902a8dac97 /source/groupdb
parent7a947ecdf56f2dd02811262372708f8a74bfedad (diff)
downloadsamba-6a229f1488c2f0935c24e223614e4c88b36d15c0.tar.gz
samba-6a229f1488c2f0935c24e223614e4c88b36d15c0.tar.xz
samba-6a229f1488c2f0935c24e223614e4c88b36d15c0.zip
When creating a group via a script, don't let winbind do it as well.
Volker
Diffstat (limited to 'source/groupdb')
-rw-r--r--source/groupdb/mapping.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index 048a6c5db05..71ef38e6c8a 100644
--- a/source/groupdb/mapping.c
+++ b/source/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;