diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-07-29 05:05:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-07-29 05:05:36 +0000 |
commit | 8b25fe734166b76ceebf8d9543c706ebe0fddc96 (patch) | |
tree | afcb4704429fd8eace29fbe503458a85afc00b88 /source/smbd/uid.c | |
parent | 19aa9a1c95d357e1041e9a3ece89d7bb3cc6f6ac (diff) | |
download | samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.tar.gz samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.tar.xz samba-8b25fe734166b76ceebf8d9543c706ebe0fddc96.zip |
get rid of the runtime test for broken getgroups() and add a compile
time test instead. This also allows us to get rid of the igroups
element of a couple of structures.
Diffstat (limited to 'source/smbd/uid.c')
-rw-r--r-- | source/smbd/uid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/uid.c b/source/smbd/uid.c index a8e0bf0d034..173fdaca03c 100644 --- a/source/smbd/uid.c +++ b/source/smbd/uid.c @@ -242,7 +242,6 @@ BOOL become_user(connection_struct *conn, int cnum, uint16 vuid) uid = conn->uid; gid = conn->gid; current_user.groups = conn->groups; - current_user.igroups = conn->igroups; current_user.ngroups = conn->ngroups; } else @@ -258,7 +257,6 @@ BOOL become_user(connection_struct *conn, int cnum, uint16 vuid) gid = conn->gid; current_user.ngroups = vuser->n_groups; current_user.groups = vuser->groups; - current_user.igroups = vuser->igroups; } if (initial_uid == 0) |