[driver] share any session for WILD vnetroot
when vnetroot creation of wild comes in it is always for "AUTH_SYS" but if there exists a gss_session than use that.
This commit is contained in:
parent
880dbf8afc
commit
dd6f2c1849
1 changed files with 3 additions and 2 deletions
|
|
@ -2465,7 +2465,8 @@ NTSTATUS nfs41_CreateVNetRoot(
|
||||||
pVNetRootContext->session = pNetRootContext->auth_sys_session;
|
pVNetRootContext->session = pNetRootContext->auth_sys_session;
|
||||||
DbgP("Using existing AUTH_SYS session 0x%x\n", pVNetRootContext->session);
|
DbgP("Using existing AUTH_SYS session 0x%x\n", pVNetRootContext->session);
|
||||||
goto out;
|
goto out;
|
||||||
} else if (pVNetRootContext->sec_flavor != RPCSEC_AUTH_SYS &&
|
} else if ((pVNetRootContext->sec_flavor != RPCSEC_AUTH_SYS ||
|
||||||
|
pNetRoot->Type != NET_ROOT_WILD) &&
|
||||||
pNetRootContext->gss_session) {
|
pNetRootContext->gss_session) {
|
||||||
pVNetRootContext->session = pNetRootContext->gss_session;
|
pVNetRootContext->session = pNetRootContext->gss_session;
|
||||||
DbgP("Using existing AUTHGSS session 0x%x\n", pVNetRootContext->session);
|
DbgP("Using existing AUTHGSS session 0x%x\n", pVNetRootContext->session);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue