s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT
commit6a10012e5233e1ca2d77b4e12d0219b8d63da7ba
authorStefan Metzmacher <metze@samba.org>
Thu, 19 May 2016 09:47:18 +0000 (19 11:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 May 2016 06:58:21 +0000 (31 08:58 +0200)
treefe61b50927198e13a9803be8ee737e90070b2323
parent8ac105e900758c164a7bb223f7297b265b1189ee
s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT

This means we'll use the "client ipc min protocol", "client ipc max protocol"
and "client ipc signing" options. But "--signing=no" or "--signing=required"
still overwrite "client ipc signing".

The following can be used to alter the max protocol

rpcclient --option="client ipc max protocol=SMB2_10" 172.31.9.163 -Uadministrator%A1b2C3d4 -c "getusername"
Account Name: Administrator, Authority Name: W4EDOM-L4

rpcclient --option="client ipc max protocol=NT1" 172.31.9.163 -Uadministrator%A1b2C3d4 -c "getusername"
Account Name: Administrator, Authority Name: W4EDOM-L4

rpcclient 172.31.9.163 -Uadministrator%A1b2C3d4 -c "getusername"
Account Name: Administrator, Authority Name: W4EDOM-L4

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11927

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat May 21 05:01:15 CEST 2016 on sn-devel-144

(cherry picked from commit 2eb824fbaf61dfc5e9c735589c80c41379dabe86)
source3/rpcclient/rpcclient.c