]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Add debug message to get_nt_acl_internal() to see what we got.
authorJeremy Allison <jra@samba.org>
Fri, 22 Oct 2010 21:55:52 +0000 (14:55 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Nov 2010 17:10:53 +0000 (18:10 +0100)
source3/modules/vfs_acl_common.c

index 24158a6813c5a243642fec9d1d3427a4d3834525..7629a3eb0a0b249e20c79934f5f7bbdf014ea6cb 100644 (file)
@@ -392,6 +392,13 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle,
 
        TALLOC_FREE(blob.data);
        *ppdesc = psd;
+
+       if (DEBUGLEVEL >= 10) {
+               DEBUG(10,("get_nt_acl_internal: returning acl for %s is:\n",
+                       name ));
+               NDR_PRINT_DEBUG(security_descriptor, psd);
+       }
+
        return NT_STATUS_OK;
 }