diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-11 17:20:18 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-11 17:20:18 +0000 |
commit | cd6a6bd2cb802f61ace483c9e94af451e10bdb59 (patch) | |
tree | bf174946a54965a43199efa3dacf602c3bcf7499 /source3 | |
parent | 2cddf134e698e19d07b31ef68b325bc1c7070782 (diff) | |
download | samba-cd6a6bd2cb802f61ace483c9e94af451e10bdb59.tar.gz samba-cd6a6bd2cb802f61ace483c9e94af451e10bdb59.tar.xz samba-cd6a6bd2cb802f61ace483c9e94af451e10bdb59.zip |
Use sys_setgroups - systems with broken getgroups need this.
Jeremy.
(This used to be commit c7c90c83372df53eac0f3779dffedd4b28c8c757)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/wb_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index 1725ab3448..436bbc7bcc 100644 --- a/source3/nsswitch/wb_client.c +++ b/source3/nsswitch/wb_client.c @@ -313,7 +313,7 @@ int winbind_initgroups(char *user, gid_t gid) /* Set the groups */ - if (setgroups(ngroups, groups) == -1) { + if (sys_setgroups(ngroups, groups) == -1) { errno = EPERM; result = -1; goto done; |