summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-04 08:59:34 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-04 08:59:34 +0000
commitdb972ebb93d52624355191614a180b12a296a1c4 (patch)
tree4b9275ae9a0c5597f4d262b7c0897648c8f0c5ad /source3/auth
parent302bffc08f4e0ff48dedd35c0580b143ab52671f (diff)
downloadsamba-db972ebb93d52624355191614a180b12a296a1c4.tar.gz
samba-db972ebb93d52624355191614a180b12a296a1c4.tar.bz2
samba-db972ebb93d52624355191614a180b12a296a1c4.zip
Make it clear that the credentials are being setup on the NETLOGON channel, and
may not be to our PDC (might be BDC, or trusted DC). Andrew Bartlett (This used to be commit 610be8d483f335226386f92b5e85ddeb07846d41)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_domain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 8c56b4484e..79cf5b156d 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -212,7 +212,7 @@ machine %s. Error was : %s.\n", remote_machine, cli_errstr(*cli)));
result = cli_nt_setup_creds(*cli, sec_chan, trust_passwd, &neg_flags, 2);
if (!NT_STATUS_IS_OK(result)) {
- DEBUG(0,("connect_to_domain_password_server: unable to setup the PDC credentials to machine \
+ DEBUG(0,("connect_to_domain_password_server: unable to setup the NETLOGON credentials to machine \
%s. Error was : %s.\n", remote_machine, nt_errstr(result)));
cli_nt_session_close(*cli);
cli_ulogoff(*cli);
@@ -274,9 +274,9 @@ static NTSTATUS find_connect_dc(struct cli_state **cli,
if ( !rpc_find_dc(lp_workgroup(), srv_name, &dc_ip) ) {
DEBUG(0,("find_connect_dc: Failed to find an DCs for %s\n", lp_workgroup()));
- return NT_STATUS_NO_LOGON_SERVERS;
+ return NT_STATUS_NO_LOGON_SERVERS;
}
-
+
return attempt_connect_to_dc( cli, domain, &dc_ip, setup_creds_as,
sec_chan, trust_passwd );
}