diff options
Diffstat (limited to 'source3/groupdb/mapping.c')
-rw-r--r-- | source3/groupdb/mapping.c | 4 |
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; |