diff options
author | Günther Deschner <gd@samba.org> | 2016-09-06 17:07:32 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-10-26 11:20:16 +0200 |
commit | b6be9b5f95537da0b6d9c1312ec8b934af1aed0f (patch) | |
tree | db7ed9f42e6a84acee0726842c7dd8e6dc47b655 /source3/rpcclient | |
parent | 3b82d6cc2ee5211a7d817594f4de925fd7a40a10 (diff) | |
download | samba-b6be9b5f95537da0b6d9c1312ec8b934af1aed0f.tar.gz |
s3-rpcclient: support [packet] in rpcclient binding strings.
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 3f7a8b7be38..398fe4a0f31 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -1057,6 +1057,10 @@ out_free: pipe_default_auth_level = DCERPC_AUTH_LEVEL_CONNECT; pipe_default_auth_type = DCERPC_AUTH_TYPE_NTLMSSP; } + if (bflags & DCERPC_PACKET) { + pipe_default_auth_level = DCERPC_AUTH_LEVEL_PACKET; + pipe_default_auth_type = DCERPC_AUTH_TYPE_NTLMSSP; + } if (bflags & DCERPC_SIGN) { pipe_default_auth_level = DCERPC_AUTH_LEVEL_INTEGRITY; pipe_default_auth_type = DCERPC_AUTH_TYPE_NTLMSSP; |