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:
Olga Kornievskaia 2011-02-03 13:13:10 -05:00
parent 67ae1eddaf
commit 47b0ccda9c
5 changed files with 26 additions and 10 deletions

View file

@ -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) {