Add debug message to get_nt_acl_internal() to see what we got.
authorJeremy Allison <jra@samba.org>
Fri, 15 Oct 2010 21:18:22 +0000 (14:18 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 16 Oct 2010 00:38:21 +0000 (17:38 -0700)
source3/modules/vfs_acl_common.c

index 8ea0fb8b167f3d3b84f9d5f6178cc89f7ea20b54..a6ea75f45cd24d9473c94ac0742e52b8cc61e29b 100644 (file)
@@ -395,6 +395,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;
 }