git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08be989
)
libndr: Use dom_sid_str_buf
author
Volker Lendecke
<vl@samba.org>
Fri, 21 Dec 2018 08:32:41 +0000
(09:32 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 8 Jan 2019 02:40:27 +0000
(
03:40
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
librpc/ndr/ndr_sec_helper.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_sec_helper.c
b/librpc/ndr/ndr_sec_helper.c
index ecc05115d4b114f9587e551a318ed35fee1b194b..5a2ed16e33e21cb4b4d2d5bbd6d0b91fad1d68e1 100644
(file)
--- a/
librpc/ndr/ndr_sec_helper.c
+++ b/
librpc/ndr/ndr_sec_helper.c
@@
-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)