1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/rpcclient
Stefan Metzmacher 2eb824fbaf 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
2016-05-21 05:01:15 +02:00
..
cmd_clusapi.c s3-rpcclient: add client for create enum ex. 2015-08-04 19:11:18 +02:00
cmd_dfs.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_drsuapi.c idl:drsuapi: Manage all possible lengths of drsuapi_DsBindInfo 2014-07-07 05:22:33 +02:00
cmd_dssetup.c
cmd_echo.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_epmapper.c s3:rpcclient: make use of dcerpc_binding_set_abstract_syntax() in cmd_epmapper.c 2014-02-13 11:54:16 +01:00
cmd_eventlog.c
cmd_fss.c fsrvp: define FSRVP_E_SHADOWCOPYSET_ID_MISMATCH 2014-11-14 23:27:04 +01:00
cmd_lsarpc.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_netlogon.c s3: rpcclient: Prevent null ptr access by returning error if no creds available 2015-11-04 22:15:24 +01:00
cmd_ntsvcs.c
cmd_samr.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_shutdown.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_spoolss.c Convert all uint32/16/8 to _t in source3/rpcclient. 2015-05-12 01:32:12 +02:00
cmd_srvsvc.c rpcclient: Add netsharesetdfsflags command 2015-06-12 09:47:19 +02:00
cmd_test.c s3:rpcclient: make use of rpcclient_cli_state 2013-10-17 08:48:52 +13:00
cmd_winreg.c
cmd_witness.c s3-rpcclient: protect against empty witness async notify messages. 2015-09-29 11:59:20 +02:00
cmd_wkssvc.c
rpcclient.c s3:rpcclient: make use of SMB_SIGNING_IPC_DEFAULT 2016-05-21 05:01:15 +02:00
rpcclient.h s3:rpcclient: only require netlogon_creds for specified netlogon calls 2015-03-30 13:41:25 +02:00