turning callback off for krb5p
sspi requires strict ordering of messages. we can't have more than 1 outstanding rpc thus, hold the lock over send and receive and turn off callbacks.
This commit is contained in:
parent
67ae1eddaf
commit
47b0ccda9c
5 changed files with 26 additions and 10 deletions
|
|
@ -129,6 +129,10 @@ int nfs41_rpc_clnt_create(
|
|||
status = GetLastError();
|
||||
goto out;
|
||||
}
|
||||
#ifdef NO_CB_4_KRB5P
|
||||
if (sec_flavor == RPCSEC_AUTHGSS_KRB5P)
|
||||
needcb = 0;
|
||||
#endif
|
||||
rpc->needcb = needcb;
|
||||
rpc->cond = CreateEvent(NULL, TRUE, FALSE, "rpc_recovery_cond");
|
||||
if (rpc->cond == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue