mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
libndr: 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
08be989aa9
commit
c9036f2597
@ -147,7 +147,8 @@ size_t ndr_size_dom_sid0(const struct dom_sid *sid, int flags)
|
||||
*/
|
||||
void ndr_print_dom_sid(struct ndr_print *ndr, const char *name, const struct dom_sid *sid)
|
||||
{
|
||||
ndr->print(ndr, "%-25s: %s", name, dom_sid_string(ndr, sid));
|
||||
struct dom_sid_buf buf;
|
||||
ndr->print(ndr, "%-25s: %s", name, dom_sid_str_buf(sid, &buf));
|
||||
}
|
||||
|
||||
void ndr_print_dom_sid2(struct ndr_print *ndr, const char *name, const struct dom_sid *sid)
|
||||
|
Loading…
Reference in New Issue
Block a user