s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT

Enterprise / Samba - Stefan Metzmacher [samba.org] - 20 May 2016 22:01 UTC

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

2eb824f s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT
source3/rpcclient/rpcclient.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

Upstream: gitweb.samba.org


  • Share