summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-10-15 14:18:22 -0700
committerJeremy Allison <jra@samba.org>2010-10-15 17:38:21 -0700
commitf4a9d25cfc70e79f476d01ae3234f2155bbcf39e (patch)
tree2bb2089fde300870cb5de0bc20d182eba3df4c5b /source3
parent625126dc8dec1198b94bda0643222f0b046587d8 (diff)
downloadsamba-f4a9d25cfc70e79f476d01ae3234f2155bbcf39e.tar.gz
samba-f4a9d25cfc70e79f476d01ae3234f2155bbcf39e.tar.bz2
samba-f4a9d25cfc70e79f476d01ae3234f2155bbcf39e.zip
Add debug message to get_nt_acl_internal() to see what we got.
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_acl_common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index 8ea0fb8b16..a6ea75f45c 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -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;
}