mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
r6178: fix ncacn_np connection without sign or seal against NT4
metze (This used to be commit d92100fcc2066454df441a1ea2c7b9940fa19fa1)
This commit is contained in:
parent
ac5fc1302d
commit
0ba6108bcd
@ -936,7 +936,10 @@ NTSTATUS dcerpc_pipe_auth(struct dcerpc_pipe *p,
|
||||
status = dcerpc_bind_auth_schannel(tmp_ctx,
|
||||
p, pipe_uuid, pipe_version,
|
||||
credentials);
|
||||
} else if (!cli_credentials_is_anonymous(credentials)) {
|
||||
} else if (!cli_credentials_is_anonymous(credentials) &&
|
||||
!(binding->transport == NCACN_NP &&
|
||||
!(binding->flags & DCERPC_SIGN) &&
|
||||
!(binding->flags & DCERPC_SEAL))) {
|
||||
uint8_t auth_type;
|
||||
if (binding->flags & DCERPC_AUTH_SPNEGO) {
|
||||
auth_type = DCERPC_AUTH_TYPE_SPNEGO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user