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 | c7c90c83372df53eac0f3779dffedd4b28c8c757 (patch) | |
tree | 1ef8ee2dc4631c8ada966f599954ff2b45bd1fc9 | |
parent | f09cb41ad86b233253758de7ef2781589ac07b86 (diff) | |
download | samba-c7c90c83372df53eac0f3779dffedd4b28c8c757.tar.gz samba-c7c90c83372df53eac0f3779dffedd4b28c8c757.tar.xz samba-c7c90c83372df53eac0f3779dffedd4b28c8c757.zip |
Use sys_setgroups - systems with broken getgroups need this.
Jeremy.
-rw-r--r-- | source/nsswitch/wb_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/wb_client.c b/source/nsswitch/wb_client.c index 1725ab34483..436bbc7bcc3 100644 --- a/source/nsswitch/wb_client.c +++ b/source/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; |