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:
e874344
)
winbind: Use dom_sid_str_buf
author
Volker Lendecke
<vl@samba.org>
Fri, 26 Oct 2018 06:25:14 +0000
(08:25 +0200)
committer
Jeremy Allison
<jra@samba.org>
Fri, 9 Nov 2018 21:42:28 +0000
(22:42 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_cache.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_cache.c
b/source3/winbindd/winbindd_cache.c
index 2e2a04d09d8ec8542d46906abb097e241edb8333..c23ae62c403e17b151ec6e15dd4d577963f4f18d 100644
(file)
--- a/
source3/winbindd/winbindd_cache.c
+++ b/
source3/winbindd/winbindd_cache.c
@@
-854,8
+854,8
@@
static void centry_put_hash16(struct cache_entry *centry, const uint8_t val[16])
static void centry_put_sid(struct cache_entry *centry, const struct dom_sid *sid)
{
-
fstring
sid_string;
- centry_put_string(centry,
sid_to_fstring(sid_string, sid
));
+
struct dom_sid_buf
sid_string;
+ centry_put_string(centry,
dom_sid_str_buf(sid, &sid_string
));
}