mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
net_usershare: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b080389f3e
commit
a32564eaf9
@ -446,12 +446,14 @@ static int info_fn(struct file_list *fl, void *priv)
|
||||
}
|
||||
|
||||
} else {
|
||||
fstring sidstr;
|
||||
sid_to_fstring(sidstr,
|
||||
&psd->dacl->aces[num_aces].trustee);
|
||||
acl_str = talloc_asprintf_append(acl_str,
|
||||
struct dom_sid_buf sidstr;
|
||||
|
||||
acl_str = talloc_asprintf_append(
|
||||
acl_str,
|
||||
"%s",
|
||||
sidstr);
|
||||
dom_sid_str_buf(
|
||||
&psd->dacl->aces[num_aces].trustee,
|
||||
&sidstr));
|
||||
if (!acl_str) {
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user