mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for ntlmssp
This commit is contained in:
parent
fcdda8f443
commit
e286b9c0bd
@ -1007,6 +1007,12 @@ out_free:
|
||||
pipe_default_auth_spnego_type = PIPE_AUTH_TYPE_SPNEGO_NTLMSSP;
|
||||
}
|
||||
if (binding->flags & DCERPC_AUTH_NTLM) {
|
||||
/* If neither Integrity or Privacy are requested then
|
||||
* Use just Connect level */
|
||||
if (pipe_default_auth_level == DCERPC_AUTH_LEVEL_NONE) {
|
||||
pipe_default_auth_level = DCERPC_AUTH_LEVEL_CONNECT;
|
||||
}
|
||||
|
||||
if (pipe_default_auth_type == DCERPC_AUTH_TYPE_SPNEGO) {
|
||||
pipe_default_auth_spnego_type = PIPE_AUTH_TYPE_SPNEGO_NTLMSSP;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user