diff options
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; |