libcli: Fix debug message, print sid string for new_ace trustee.
authorNoel Power <noel.power@suse.com>
Thu, 11 Feb 2016 16:00:55 +0000 (16:00 +0000)
committerAmitay Isaacs <amitay@samba.org>
Mon, 15 Feb 2016 23:55:23 +0000 (00:55 +0100)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
libcli/security/secdesc.c

index bbad8a3c2ab846e64e78a05099ffc5a91e7a2ed0..6e20e90bee52b8fb6135fdf1e13debebf3adecae 100644 (file)
@@ -567,7 +567,7 @@ NTSTATUS se_create_child_secdesc(TALLOC_CTX *ctx,
                          " inherited as %s:%d/0x%02x/0x%08x\n",
                          dom_sid_string(frame, &ace->trustee),
                          ace->type, ace->flags, ace->access_mask,
-                         dom_sid_string(frame, &ace->trustee),
+                         dom_sid_string(frame, &new_ace->trustee),
                          new_ace->type, new_ace->flags,
                          new_ace->access_mask));