summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-11 17:17:46 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-12-20 23:40:25 +0100
commit59f29acb2cd947d2f594a5af3d73d0cbe8298d92 (patch)
treee7a559024d055a037432c891cd77d1cef655fff9 /source3/modules/vfs_default.c
parentc45c6d09370a15021e0158a0356af84913b068f4 (diff)
downloadsamba-59f29acb2cd947d2f594a5af3d73d0cbe8298d92.tar.gz
vfs: 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/modules/vfs_default.c')
-rw-r--r--source3/modules/vfs_default.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index a492c9d3627..b1c4acc482d 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1330,6 +1330,7 @@ static NTSTATUS vfswrap_fsctl(struct vfs_handle_struct *handle,
* but I have to check that --metze
*/
struct dom_sid sid;
+ struct dom_sid_buf buf;
uid_t uid;
size_t sid_len;
@@ -1349,11 +1350,12 @@ static NTSTATUS vfswrap_fsctl(struct vfs_handle_struct *handle,
if (!sid_parse(_in_data + 4, sid_len, &sid)) {
return NT_STATUS_INVALID_PARAMETER;
}
- DEBUGADD(10, ("for SID: %s\n", sid_string_dbg(&sid)));
+ DEBUGADD(10, ("for SID: %s\n",
+ dom_sid_str_buf(&sid, &buf)));
if (!sid_to_uid(&sid, &uid)) {
DEBUG(0,("sid_to_uid: failed, sid[%s] sid_len[%lu]\n",
- sid_string_dbg(&sid),
+ dom_sid_str_buf(&sid, &buf),
(unsigned long)sid_len));
uid = (-1);
}