From: Pavel Filipenský Date: Fri, 24 Jun 2022 08:43:33 +0000 (+0200) Subject: s3:winbind: Improve logging in winbindd_setgrent.c X-Git-Tag: tevent-0.13.0~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eaabe0404ca70a247aaba1dbaacd190811a30f1;p=thirdparty%2Fsamba.git s3:winbind: Improve logging in winbindd_setgrent.c Test scenario: id ADDOMAIN/alice Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_setgrent.c b/source3/winbindd/winbindd_setgrent.c index ab7fa98425b..f4f24983f30 100644 --- a/source3/winbindd/winbindd_setgrent.c +++ b/source3/winbindd/winbindd_setgrent.c @@ -39,6 +39,12 @@ struct tevent_req *winbindd_setgrent_send(TALLOC_CTX *mem_ctx, } TALLOC_FREE(cli->grent_state); + D_NOTICE("[%s (%u)] Winbind external command SETGRENT start.\n" + "winbind enum groups = %d\n", + cli->client_name, + (unsigned int)cli->pid, + lp_winbind_enum_groups()); + if (!lp_winbind_enum_groups()) { tevent_req_done(req); return tevent_req_post(req, ev); @@ -56,5 +62,6 @@ struct tevent_req *winbindd_setgrent_send(TALLOC_CTX *mem_ctx, NTSTATUS winbindd_setgrent_recv(struct tevent_req *req, struct winbindd_response *presp) { + D_NOTICE("Winbind external command SETGRENT end.\n"); return NT_STATUS_OK; }