idmapper nfs4_gss_princ_to_ids fix:
idmapname2id() is called in case of name to id mapping.
This calls the nfs4_name_to_uid() API.

On success from nfs4_name_to_uid(), we again try to get id,
this time treating the username as kerberos principal.
This calls nfs4_gss_princ_to_ids() which is incorrect.

Removed the call nfs4_gss_princ_to_ids() from idmapname2id().

Reported-by: John Dorfner <dorfner@us.ibm.com>
Signed-off-by: suhrud <supatank@in.ibm.com>
Group-id bit check in ACE flag

check for specific bit instead of comparing complete number.
Ported from 1.5 : commit 44870c76b1950f85e3a2bc6b59a516993ed801a5

Signed-off-by: suhrud <supatank@in.ibm.com>
Encoding GROUP@ name in ACL
The code does not check if the group id is special id.
This leads to mapping the special "GROUP@" name to system gid 2.
Fixed to first check for special id while encoding the group name

Ported from 1.5: commit d3a14b898804585f2f594a0e4f6736769fad878d

Signed-off-by: suhrud <supatank@in.ibm.com>
Merge branch 'tp/ACE-group-id' into ibm_next_20_tmp
Merge branch 'tp/ACE-special-group' into ibm_next_20_tmp
FiX pt rpm build
RPM build broke due to config file name changes
Need to update spec with new names, and remove deleted configs
Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com>
Handle GPFS EUNTACH errors.

Need to exit when GPFS returns
EUNTACH to avoid error going back to client.

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>
Initialize GPFS up ops before creating the up thread.

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
Acked-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Merge branch 'tp/ptfixes' into ibm_next_20_tmp
Merge branch 'tp/up-ops' into ibm_next_20_tmp
Merge branch 'tp/handle_eunatch' into ibm_next_20_tmp