winbindd: log domain name of failures to get trustdoms
authorRalph Boehme <slow@samba.org>
Wed, 3 Feb 2016 07:07:02 +0000 (08:07 +0100)
committerUri Simchoni <uri@samba.org>
Thu, 2 Jun 2016 03:33:14 +0000 (05:33 +0200)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/winbindd/winbindd_util.c

index c32352081e1b58f056f779d790e82a9a393b2099..f0344b1b26f4ddd052786cffc1646488fa3023f7 100644 (file)
@@ -348,7 +348,8 @@ static void trustdom_list_done(struct tevent_req *req)
 
        res = wb_domain_request_recv(req, state, &response, &err);
        if ((res == -1) || (response->result != WINBINDD_OK)) {
-               DBG_WARNING("Could not receive trustdoms\n");
+               DBG_WARNING("Could not receive trusts for domain %s\n",
+                           state->domain->name);
                TALLOC_FREE(state);
                return;
        }