diff options
author | Olga Kornievskaia <aglo@citi.umich.edu> | 2008-12-24 00:19:00 +0300 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-12-24 00:19:00 +0300 |
commit | 61054b14d545e257b9415d5ca0cd5f43762b4d0c (patch) | |
tree | 7f648cf35a3b79aa1555f21050f11d415b93f381 /fs/nfsd/nfs4state.c | |
parent | 945b34a7725a5f0741de7775132aafc58bfecfbb (diff) | |
download | linux-61054b14d545e257b9415d5ca0cd5f43762b4d0c.tar.xz |
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>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r-- | fs/nfsd/nfs4state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index f3b9a8d064f3..07db31568ac9 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -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); |