>From Malahal <[email protected]>:

Malahal has uploaded a new change for review.

  https://review.gerrithub.io/287052

Change subject: Fix incorrect gid with kerberos and NFSv4 idmapping.
......................................................................

Fix incorrect gid with kerberos and NFSv4 idmapping.

If IDMAPD_DOMAIN and LOCAL_REALMS are set to the same value, NFSv4
idmapping user names and kerberos principal names match resulting in
they both using the same idmapper cache entry. principal2uid() ends up
getting ANON_GID as gid instead of actual gid in most cases resulting
in files getting created with incorrect gid.

NFSv4 idmapping entries will not have associated gid and kerberos
principal entries won't be there in uidtree. Adding an existing idmapper
cache entry is modified to combine old and new entries to accommodate
for this.

Change-Id: Ia40f3f14f2aa99a60e8635e0f33cc597fb3e7399
Signed-off-by: Malahal Naineni <[email protected]>
---
M src/idmapper/idmapper.c
M src/idmapper/idmapper_cache.c
2 files changed, 57 insertions(+), 29 deletions(-)


  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/52/287052/1
-- 
To view, visit https://review.gerrithub.io/287052
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia40f3f14f2aa99a60e8635e0f33cc597fb3e7399
Gerrit-PatchSet: 1
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Owner: Malahal <[email protected]>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to