git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:winbind: remove the method SET_MAPPING from winbind's API
[ira/wip.git]
/
source3
/
lib
/
system_smbd.c
diff --git
a/source3/lib/system_smbd.c
b/source3/lib/system_smbd.c
index b22d15fb8a9e5441858ccab7d82e45bda29e6023..b4447c5f9cd179ee86fea87edfc0a761f0f79584 100644
(file)
--- a/
source3/lib/system_smbd.c
+++ b/
source3/lib/system_smbd.c
@@
-68,7
+68,7
@@
static int getgrouplist_internals(const char *user, gid_t gid, gid_t *groups,
return -1;
}
- if (initgroups(user, gid)
!= 0
) {
+ if (initgroups(user, gid)
== -1
) {
DEBUG(0, ("getgrouplist_internals: initgroups() failed!\n"));
SAFE_FREE(gids_saved);
return -1;