summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch/winbindd_cm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-15 14:05:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:49 -0500
commit07e9f4e61ae909d7ccc7ec7b650438510468829d (patch)
treec1c293453d9893f93dafc61a84db64084b1f36b6 /source3/nsswitch/winbindd_cm.c
parent315ad641c381b0630976eff711f251d1831ffc7c (diff)
downloadsamba-07e9f4e61ae909d7ccc7ec7b650438510468829d.tar.gz
samba-07e9f4e61ae909d7ccc7ec7b650438510468829d.tar.xz
samba-07e9f4e61ae909d7ccc7ec7b650438510468829d.zip
r18551: Implement a 30 seconds from startup, during which we
try hard to connect a DC even if we might be offline. Jeremy. (This used to be commit a9f115140700487767bafa058db744eea5ee8f77)
Diffstat (limited to 'source3/nsswitch/winbindd_cm.c')
-rw-r--r--source3/nsswitch/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 36748b0b115..7a1768354de 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -912,8 +912,8 @@ static BOOL find_new_dc(TALLOC_CTX *mem_ctx,
{
for (i=0; i<num_dcs; i++) {
DEBUG(10, ("find_new_dc: open_any_socket_out failed for "
- "domain %s address %s\n",
- domain->name, inet_ntoa(dcs[i].ip) ));
+ "domain %s address %s. Error was %s\n",
+ domain->name, inet_ntoa(dcs[i].ip), strerror(errno) ));
winbind_add_failed_connection_entry(domain,
dcs[i].name, NT_STATUS_UNSUCCESSFUL);
}