git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac5fc13
)
r6178: fix ncacn_np connection without sign or seal against NT4
author
Stefan Metzmacher
<metze@samba.org>
Sat, 2 Apr 2005 06:10:45 +0000
(06:10 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:11:23 +0000
(13:11 -0500)
metze
(This used to be commit
d92100fcc2066454df441a1ea2c7b9940fa19fa1
)
source4/librpc/rpc/dcerpc_util.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc_util.c
b/source4/librpc/rpc/dcerpc_util.c
index ffefd5111cacfec99524d4f7fdf609182b5508bb..f45ae92babec5cb9e3d87c8bae95cfe5d6e5dac1 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_util.c
+++ b/
source4/librpc/rpc/dcerpc_util.c
@@
-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;