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/auth | |
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/auth')
-rw-r--r-- | source3/auth/auth_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c index 937841c29cc..373b596d69c 100644 --- a/source3/auth/auth_domain.c +++ b/source3/auth/auth_domain.c @@ -148,7 +148,7 @@ static NTSTATUS connect_to_domain_password_server(struct cli_state **cli_ret, return result; } - result = rpccli_setup_netlogon_creds(cli, + result = rpccli_setup_netlogon_creds(cli, NCACN_NP, netlogon_creds, false, /* force_reauth */ current_nt_hash, |