s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT
authorStefan Metzmacher <metze@samba.org>
Thu, 19 May 2016 09:47:18 +0000 (11:47 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 21 May 2016 03:01:15 +0000 (05:01 +0200)
commit2eb824fbaf61dfc5e9c735589c80c41379dabe86
treef9a055056a792705af2539ad602f6ad906ca60eb
parentf4b5e9d44d32a26d47fa8e465047be4355d4c30f
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
source3/rpcclient/rpcclient.c