Michael Diederich has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242927?usp=email )
Change subject: fixing name2id for when we get a numeric gid or uid in fattr4 like in
setattr so that - switch Allow_Numeric_Owners is honored by allowing atless2id to run
first so we do not allow pam to interpret the numeric id as name - switch UseGetpwnam is
honored before calling pwentname2id this allows to reject user/group names that do not
carry the full name with at domain and allows to not depend on pam reject to use a numeric
id.
......................................................................
fixing name2id for when we get a numeric gid or uid in fattr4 like in setattr so that
- switch Allow_Numeric_Owners is honored by allowing atless2id to run first so we do not
allow pam to interpret the numeric id as name
- switch UseGetpwnam is honored before calling pwentname2id
this allows to reject user/group names that do not carry the full name with at domain and
allows to not depend on pam reject to use a numeric id.
Change-Id: I9790dd9214cc0ced20c8edbd93525c678d2d1e26
Signed-off-by: Michael Diederich <diederich(a)de.ibm.com>
---
M src/idmapper/idmapper.c
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/27/1242927/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1242927?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I9790dd9214cc0ced20c8edbd93525c678d2d1e26
Gerrit-Change-Number: 1242927
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Diederich <diederich(a)de.ibm.com>