From f4a9d25cfc70e79f476d01ae3234f2155bbcf39e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 15 Oct 2010 14:18:22 -0700 Subject: [PATCH] Add debug message to get_nt_acl_internal() to see what we got. --- source3/modules/vfs_acl_common.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index 8ea0fb8b167..a6ea75f45cd 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; }