1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Pavel Filipenský 2022-07-19 16:25:13 +02:00 committed by Andreas Schneider
parent 47c48fd020
commit a2f30eede4

View File

@ -87,9 +87,12 @@ struct tevent_req *winbindd_getsidaliases_send(TALLOC_CTX *mem_ctx,
cli->client_name,
(unsigned int)cli->pid,
request->data.sid);
for (i = 0; i < num_sids; i++) {
struct dom_sid_buf sidstr;
D_NOTICE("%"PRIu32": %s\n", i, dom_sid_str_buf(&sids[i], &sidstr));
if (CHECK_DEBUGLVL(DBGLVL_DEBUG)) {
for (i = 0; i < num_sids; i++) {
struct dom_sid_buf sidstr;
D_NOTICE("%"PRIu32": %s\n",
i, dom_sid_str_buf(&sids[i], &sidstr));
}
}
subreq = wb_lookupuseraliases_send(state, ev, domain, num_sids, sids);