diff options
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 259c10d11f..25308697a6 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -72,6 +72,8 @@ static BOOL rpcclient_connect(struct client_info *info) make_nmb_name(&called , dns_to_netbios_name(info->dest_host ), info->name_type, scope); make_nmb_name(&calling, dns_to_netbios_name(info->myhostname), 0x0 , scope); + smb_cli->use_ntlmv2 = lp_client_ntlmv2(); + if (!cli_establish_connection(smb_cli, info->dest_host, &info->dest_ip, &calling, &called, |