]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:winbind: Improve logging in winbindd_endgrent.c
authorPavel Filipenský <pfilipen@redhat.com>
Fri, 24 Jun 2022 08:40:11 +0000 (10:40 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 15 Jul 2022 14:25:38 +0000 (14:25 +0000)
Test scenario:
id ADDOMAIN/alice

Signed-off-by: Pavel Filipenský <pfilipen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/winbindd/winbindd_endgrent.c

index 08dfc552f435a07772754e14999d4175ae38a2ec..6fdeb8f3da7cc6fc402fd657966df06cd8081aa8 100644 (file)
@@ -37,6 +37,10 @@ struct tevent_req *winbindd_endgrent_send(TALLOC_CTX *mem_ctx,
        if (req == NULL) {
                return NULL;
        }
+       D_NOTICE("[%s (%u)] Winbind external command ENDGRENT start.\n",
+                cli->client_name,
+                (unsigned int)cli->pid);
+
        TALLOC_FREE(cli->grent_state);
        tevent_req_done(req);
        return tevent_req_post(req, ev);
@@ -45,5 +49,6 @@ struct tevent_req *winbindd_endgrent_send(TALLOC_CTX *mem_ctx,
 NTSTATUS winbindd_endgrent_recv(struct tevent_req *req,
                                struct winbindd_response *presp)
 {
+       D_NOTICE("Winbind external command ENDGRENT end.\n");
        return NT_STATUS_OK;
 }