summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-08-22 09:32:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:10 -0500
commitd94d58a46f7105001bbc2a312dc99b1866956ead (patch)
treee98c60c3f582f03a40bb3454b856def93a1f226e /source3
parentf71a4fa3af115e28ef707d3d2ba63008c39ca6dc (diff)
downloadsamba-d94d58a46f7105001bbc2a312dc99b1866956ead.tar.gz
samba-d94d58a46f7105001bbc2a312dc99b1866956ead.tar.bz2
samba-d94d58a46f7105001bbc2a312dc99b1866956ead.zip
r24615: Say for which domain the getdcname request failed.
Guenther (This used to be commit 1ce1958f7a5f41072ad1e2f1fb55f3cd4ebe4b14)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_misc.c b/source3/nsswitch/winbindd_misc.c
index fb552678ca..35554cf954 100644
--- a/source3/nsswitch/winbindd_misc.c
+++ b/source3/nsswitch/winbindd_misc.c
@@ -253,7 +253,8 @@ enum winbindd_result winbindd_dual_getdcname(struct winbindd_domain *domain,
cli_set_timeout(netlogon_pipe->cli, orig_timeout);
if (!W_ERROR_IS_OK(werr)) {
- DEBUG(5, ("Error requesting DCname: %s\n", dos_errstr(werr)));
+ DEBUG(5, ("Error requesting DCname for domain %s: %s\n",
+ state->request.domain_name, dos_errstr(werr)));
return WINBINDD_ERROR;
}