blankburian(a)wwu.de has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504443 )
Change subject: Gather unix uid and gid using wbcGetpwsid
......................................................................
Gather unix uid and gid using wbcGetpwsid
Currently, the primary group is determined from the second sid in the sids
list of the user info. When the flag unix_primary_group is used in the
winbind configuration, the primary gid is instead being looked up from attribute
primaryGroupID while the sids list keeps the same order. The function
wbcGetpwsid asks winbind to determine the primary gid. It also returns the
uid, so that the call to wbcSidToUid can be omitted.
Change-Id: I919dfb1b32b4f51353efee5a3482cf9aac498b3a
Signed-off-by: Markus Blank-Burian <blankburian(a)wwu.de>
---
M src/idmapper/idmapper.c
1 file changed, 7 insertions(+), 18 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/43/504443/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/504443
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I919dfb1b32b4f51353efee5a3482cf9aac498b3a
Gerrit-Change-Number: 504443
Gerrit-PatchSet: 1
Gerrit-Owner: blankburian(a)wwu.de
Gerrit-MessageType: newchange