1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

s3:winbind: Add additional debug level check to wb_lookupusergroups_recv()

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Andreas Schneider 2022-07-18 13:26:58 +02:00 committed by Ralph Boehme
parent 450b8da834
commit e824ee6b5a

View File

@ -109,9 +109,11 @@ NTSTATUS wb_lookupusergroups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
D_INFO("WB command lookupusergroups end.\nReceived %u SID(s).\n",
*num_sids);
for (i = 0; i < *num_sids; i++) {
struct dom_sid_buf buf;
D_INFO("%u: %s\n", i, dom_sid_str_buf(&((*sids)[i]), &buf));
if (CHECK_DEBUGLVL(DBGLVL_INFO)) {
for (i = 0; i < *num_sids; i++) {
struct dom_sid_buf buf;
D_INFO("%u: %s\n", i, dom_sid_str_buf(&((*sids)[i]), &buf));
}
}
return NT_STATUS_OK;
}