• J. Bruce Fields's avatar
    nfsd4: use callback security parameters in create_session · c6bb3ca2
    J. Bruce Fields authored
    We're currently ignoring the callback security parameters specified in
    create_session, and just assuming the client wants auth_sys, because
    that's all the current linux client happens to care about.  But this
    could cause us callbacks to fail to a client that wanted something
    different.
    
    For now, all we're doing is no longer ignoring the uid and gid passed in
    the auth_sys case.  Further patches will add support for auth_null and
    gss (and possibly use more of the auth_sys information; the spec wants
    us to use exactly the credential we're passed, though it's hard to
    imagine why a client would care).
    Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
    c6bb3ca2
nfs4callback.c 26.5 KB