git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc98bd
)
When creating a group via a script, don't let winbind do it as well.
author
Volker Lendecke
<vlendec@samba.org>
Tue, 17 Feb 2004 21:29:05 +0000
(21:29 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Tue, 17 Feb 2004 21:29:05 +0000
(21:29 +0000)
Volker
(This used to be commit
f90c590731b45e413e70cd5d9b56d0d77dd48391
)
source3/groupdb/mapping.c
patch
|
blob
|
history
diff --git
a/source3/groupdb/mapping.c
b/source3/groupdb/mapping.c
index 048a6c5db053ff5fbcd393ff6d375eff1066d33e..71ef38e6c8ab3ee5ec8f9995c39f2dfca5c1d0f5 100644
(file)
--- 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;