diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-12-29 11:11:50 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2017-01-02 18:04:13 +0100 |
commit | 94fc5c48b756d2938589c0b9363f29995a08ea2f (patch) | |
tree | 8bbffb1ad1867990d687b690b70223fed1e49d35 /source4/librpc | |
parent | 59abfcb7945103cd4031abac86d51cd51ce052ca (diff) | |
download | samba-94fc5c48b756d2938589c0b9363f29995a08ea2f.tar.gz |
s4:librpc/rpc: don't do an anonymous bind over ncacn_np:server[packet]
DCERPC_AUTH_LEVEL_PACKET is basically the same as
DCERPC_AUTH_LEVEL_INTEGRITY.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 85356cfc6e7..39f7d87fc83 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -661,7 +661,7 @@ struct composite_context *dcerpc_pipe_auth_send(struct dcerpc_pipe *p, * if not doing sign or seal */ if (conn->transport.transport == NCACN_NP && - !(conn->flags & (DCERPC_SIGN|DCERPC_SEAL))) { + !(conn->flags & (DCERPC_PACKET|DCERPC_SIGN|DCERPC_SEAL))) { auth_none_req = dcerpc_bind_auth_none_send(c, s->pipe, s->table); composite_continue(c, auth_none_req, continue_auth_none, c); return c; |