From: Pavel Filipenský Date: Fri, 24 Jun 2022 08:47:10 +0000 (+0200) Subject: s3:winbind: Improve logging in winbindd_endpwent.c X-Git-Tag: tevent-0.13.0~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fed5d20815b51aa1594a06af8bdf1bb1354da9b;p=thirdparty%2Fsamba.git s3:winbind: Improve logging in winbindd_endpwent.c Test scenario: $ getent passwd Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/winbindd_endpwent.c b/source3/winbindd/winbindd_endpwent.c index 8f785fb3a8a..a7c14cbc763 100644 --- a/source3/winbindd/winbindd_endpwent.c +++ b/source3/winbindd/winbindd_endpwent.c @@ -37,6 +37,11 @@ struct tevent_req *winbindd_endpwent_send(TALLOC_CTX *mem_ctx, if (req == NULL) { return NULL; } + + D_NOTICE("[%s (%u)] Winbind external command ENDPWENT start.\n", + cli->client_name, + (unsigned int)cli->pid); + TALLOC_FREE(cli->pwent_state); tevent_req_done(req); return tevent_req_post(req, ev); @@ -45,5 +50,6 @@ struct tevent_req *winbindd_endpwent_send(TALLOC_CTX *mem_ctx, NTSTATUS winbindd_endpwent_recv(struct tevent_req *req, struct winbindd_response *presp) { + D_NOTICE("Winbind external command ENDPWENT end.\n"); return NT_STATUS_OK; }