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:
8284ed9
)
libads: Use dom_sid_str_buf
author
Volker Lendecke
<vl@samba.org>
Fri, 9 Nov 2018 20:12:51 +0000
(21:12 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 27 Feb 2019 00:35:18 +0000
(
01:35
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index 6b5f271272acbdb94ee5c31cfd2b326a142dc07e..ae23245fb1485a69e2b69ee64a8b526d1327356b 100644
(file)
--- a/
source3/libads/ldap.c
+++ b/
source3/libads/ldap.c
@@
-2264,12
+2264,12
@@
static void dump_sid(ADS_STRUCT *ads, const char *field, struct berval **values)
int i;
for (i=0; values[i]; i++) {
struct dom_sid sid;
-
fstring
tmp;
+
struct dom_sid_buf
tmp;
if (!sid_parse((const uint8_t *)values[i]->bv_val,
values[i]->bv_len, &sid)) {
return;
}
- printf("%s: %s\n", field,
sid_to_fstring(tmp, &sid
));
+ printf("%s: %s\n", field,
dom_sid_str_buf(&sid, &tmp
));
}
}