diff options
| author | Volker Lendecke <vl@samba.org> | 2018-11-24 13:16:56 +0100 |
|---|---|---|
| committer | Ralph Boehme <slow@samba.org> | 2018-11-27 07:13:14 +0100 |
| commit | b289d15b85cd7d2e92b4d63d53eb6ea4d97d72b9 (patch) | |
| tree | f55356c268028418d55b2a5e9852dd5aa56a43bf /libcli/security | |
| parent | 8be87034d40e51a8dd897fa5dae01e1ec8ebc648 (diff) | |
| download | samba-b289d15b85cd7d2e92b4d63d53eb6ea4d97d72b9.tar.gz samba-b289d15b85cd7d2e92b4d63d53eb6ea4d97d72b9.tar.bz2 samba-b289d15b85cd7d2e92b4d63d53eb6ea4d97d72b9.zip | |
libcli: Use dom_sid_str_buf
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/security')
| -rw-r--r-- | libcli/security/secdesc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libcli/security/secdesc.c b/libcli/security/secdesc.c index 8cf44347c7c..53e0e023a7b 100644 --- a/libcli/security/secdesc.c +++ b/libcli/security/secdesc.c @@ -492,6 +492,7 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, const struct dom_sid *ptrustee = &ace->trustee; const struct dom_sid *creator = NULL; uint8_t new_flags = ace->flags; + struct dom_sid_buf sidbuf1, sidbuf2; if (!is_inheritable_ace(ace, container)) { continue; @@ -540,9 +541,9 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, DEBUG(5,("se_create_child_secdesc(): %s:%d/0x%02x/0x%08x" " inherited as %s:%d/0x%02x/0x%08x\n", - dom_sid_string(frame, &ace->trustee), + dom_sid_str_buf(&ace->trustee, &sidbuf1), ace->type, ace->flags, ace->access_mask, - dom_sid_string(frame, &new_ace->trustee), + dom_sid_str_buf(&new_ace->trustee, &sidbuf2), new_ace->type, new_ace->flags, new_ace->access_mask)); @@ -565,9 +566,9 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx, DEBUG(5, ("se_create_child_secdesc(): %s:%d/0x%02x/0x%08x " " inherited as %s:%d/0x%02x/0x%08x\n", - dom_sid_string(frame, &ace->trustee), + dom_sid_str_buf(&ace->trustee, &sidbuf1), ace->type, ace->flags, ace->access_mask, - dom_sid_string(frame, &new_ace->trustee), + dom_sid_str_buf(&new_ace->trustee, &sidbuf2), new_ace->type, new_ace->flags, new_ace->access_mask)); |
