1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

s3:winbind: Improve logging in wb_dsgetdcname.c

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Pavel Filipenský 2022-06-24 15:05:09 +02:00 committed by Andreas Schneider
parent d21d69e874
commit 08e80f8763

View File

@ -47,6 +47,10 @@ struct tevent_req *wb_dsgetdcname_send(TALLOC_CTX *mem_ctx,
return NULL;
}
D_INFO("WB command dsgetdcname start.\n"
"Search domain name %s and site name %s.\n",
domain_name,
site_name);
if (strequal(domain_name, "BUILTIN")) {
/*
* This makes no sense
@ -119,7 +123,9 @@ NTSTATUS wb_dsgetdcname_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
req, struct wb_dsgetdcname_state);
NTSTATUS status;
D_INFO("WB command dsgetdcname end.\n");
if (tevent_req_is_nterror(req, &status)) {
D_WARNING("Failed with %s.\n", nt_errstr(status));
return status;
}
*pdcinfo = talloc_move(mem_ctx, &state->dcinfo);