first stab at SECINFO

handling receiving WRONGSEC error in compound_encode_decode function by
sending either SECINFO or SECINFO_NONAME op to find out available
security flavors from the server. then try to establish new security
context given the ordered list returned by the server.

Not handling if parent directory doesn't permit a security flavor of
its child directory. Example "/" exported with only auth_sys and
"/sec" exported with only "gss".
This commit is contained in:
Olga Kornievskaia 2011-06-30 12:21:07 -04:00
parent 939db9c80b
commit c570ba2383
3 changed files with 189 additions and 7 deletions

View file

@ -1143,6 +1143,7 @@ int nfs41_secinfo(
int nfs41_secinfo_noname(
IN nfs41_session *session,
IN nfs41_path_fh *file,
OUT nfs41_secinfo_info *secinfo);
enum nfsstat4 pnfs_rpc_layoutget(