summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_getpwuid.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-14 21:09:51 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-12-20 23:40:25 +0100
commit58f76ab13760947ddf2e8298e8191fa084105a7f (patch)
tree785317597c3a4af5535015c596b3681f7c3de4d1 /source3/winbindd/winbindd_getpwuid.c
parentd425cd5b683feeb7fd2d9a532fe7fe9b28c077c8 (diff)
downloadsamba-58f76ab13760947ddf2e8298e8191fa084105a7f.tar.gz
winbindd: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/winbindd/winbindd_getpwuid.c')
-rw-r--r--source3/winbindd/winbindd_getpwuid.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_getpwuid.c b/source3/winbindd/winbindd_getpwuid.c
index 319f2f71ad9..937c214e936 100644
--- a/source3/winbindd/winbindd_getpwuid.c
+++ b/source3/winbindd/winbindd_getpwuid.c
@@ -110,8 +110,10 @@ NTSTATUS winbindd_getpwuid_recv(struct tevent_req *req,
NTSTATUS status;
if (tevent_req_is_nterror(req, &status)) {
+ struct dom_sid_buf buf;
DEBUG(5, ("Could not convert sid %s: %s\n",
- sid_string_dbg(state->sid), nt_errstr(status)));
+ dom_sid_str_buf(state->sid, &buf),
+ nt_errstr(status)));
return status;
}
response->data.pw = state->pw;