diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-09-05 16:59:00 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-10-08 12:48:15 +0200 |
commit | ae72733874f474c24fdeb5d9bc718ddf9abf4b8f (patch) | |
tree | 109126e9ab4797912d091f285d3a868d1d31c253 /source3/rpcclient | |
parent | e94422a8acf4a812ed19ddd63b42789df49a3f00 (diff) | |
download | samba-ae72733874f474c24fdeb5d9bc718ddf9abf4b8f.tar.gz |
s3-winbindd: Attempt to connect to NETLOGON over NCACN_IP_TCP if we can
This is very helpful in the trusted domain situation, as we may not
have a two-way trust but we can use our domain trust account to set up
a connection to NETLOGON
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct 8 12:48:15 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 7b190c15e1d..a573106d6e1 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -805,7 +805,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, return ntresult; } - ntresult = rpccli_setup_netlogon_creds(cli, + ntresult = rpccli_setup_netlogon_creds(cli, NCACN_NP, rpcclient_netlogon_creds, false, /* force_reauth */ current_nt_hash, |