mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
net: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
71549537b7
commit
dbc9a1a772
@ -463,9 +463,10 @@ static int net_cache_samlogon_show(struct net_context *c,
|
||||
}
|
||||
|
||||
for (i = 0; i < num_user_sids; i++) {
|
||||
char buf[DOM_SID_STR_BUFLEN];
|
||||
dom_sid_string_buf(&user_sids[i], buf, sizeof(buf));
|
||||
d_printf("SID %2" PRIu32 ": %s\n", i, buf);
|
||||
struct dom_sid_buf buf;
|
||||
d_printf("SID %2" PRIu32 ": %s\n",
|
||||
i,
|
||||
dom_sid_str_buf(&user_sids[i], &buf));
|
||||
}
|
||||
|
||||
TALLOC_FREE(user_sids);
|
||||
|
Loading…
Reference in New Issue
Block a user