nfsd: support callbacks with gss flavors
This patch adds server-side support for callbacks other than AUTH_SYS. Signed-off-by: Olga Kornievskaia <aglo@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
committed by
Trond Myklebust
parent
945b34a772
commit
61054b14d5
@@ -786,6 +786,7 @@ nfsd4_setclientid(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
||||
}
|
||||
copy_verf(new, &clverifier);
|
||||
new->cl_addr = sin->sin_addr.s_addr;
|
||||
new->cl_flavor = rqstp->rq_flavor;
|
||||
princ = svc_gss_principal(rqstp);
|
||||
if (princ) {
|
||||
new->cl_principal = kstrdup(princ, GFP_KERNEL);
|
||||
|
Reference in New Issue
Block a user