mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
auth: 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
4602605323
commit
4c1d10760d
@ -578,14 +578,13 @@ static void log_authentication_event_human_readable(
|
||||
local = tsocket_address_string(ui->local_host, frame);
|
||||
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
char sid_buf[DOM_SID_STR_BUFLEN];
|
||||
struct dom_sid_buf sid_buf;
|
||||
|
||||
dom_sid_string_buf(sid, sid_buf, sizeof(sid_buf));
|
||||
logon_line = talloc_asprintf(frame,
|
||||
" became [%s]\\[%s] [%s].",
|
||||
log_escape(frame, domain_name),
|
||||
log_escape(frame, account_name),
|
||||
sid_buf);
|
||||
dom_sid_str_buf(sid, &sid_buf));
|
||||
} else {
|
||||
logon_line = talloc_asprintf(
|
||||
frame,
|
||||
|
Loading…
Reference in New Issue
Block a user