rpcrt4: RPC_C_AUTHN_LEVEL_NONE and RPC_C_AUTHN_LEVEL_DEFAULT are
handled at the binding level now instead of the message level, so remove this special handling in RPCRT4_Send.
This commit is contained in:
parent
20c53a77e2
commit
06dd3efe2f
|
@ -563,10 +563,7 @@ RPC_STATUS RPCRT4_Send(RpcConnection *Connection, RpcPktHdr *Header,
|
||||||
RPC_STATUS r;
|
RPC_STATUS r;
|
||||||
SecBuffer out;
|
SecBuffer out;
|
||||||
|
|
||||||
if (!Connection->AuthInfo ||
|
if (!Connection->AuthInfo || SecIsValidHandle(&Connection->ctx))
|
||||||
Connection->AuthInfo->AuthnLevel == RPC_C_AUTHN_LEVEL_DEFAULT ||
|
|
||||||
Connection->AuthInfo->AuthnLevel == RPC_C_AUTHN_LEVEL_NONE ||
|
|
||||||
SecIsValidHandle(&Connection->ctx))
|
|
||||||
{
|
{
|
||||||
return RPCRT4_SendAuth(Connection, Header, Buffer, BufferLength, NULL, 0);
|
return RPCRT4_SendAuth(Connection, Header, Buffer, BufferLength, NULL, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue