r24615: Say for which domain the getdcname request failed.
authorGünther Deschner <gd@samba.org>
Wed, 22 Aug 2007 09:32:37 +0000 (09:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:10 +0000 (12:30 -0500)
Guenther
(This used to be commit 1ce1958f7a5f41072ad1e2f1fb55f3cd4ebe4b14)

source3/nsswitch/winbindd_misc.c

index fb552678caf606810a3241352366867e97dbfc28..35554cf954e25f1f3e02040d590de5c21fcf34a6 100644 (file)
@@ -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;
        }