summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}