summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-23 09:45:07 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-23 15:02:26 +0200
commit0aed29105e9d8ddcd27a70d7af820da8813ca47b (patch)
tree9c9cfad154e13af3771b01c543a129606de157c6 /source3/rpc_server
parente058dfb3b0714da229d1bddf96c72611af7b1fab (diff)
downloadsamba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.tar.gz
samba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.tar.bz2
samba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.zip
s3-smbd: Add security_info_wanted argument to get_nt_acl_no_snum
I need to get at the owner, group, DACL and SACL when testing correct ACL storage. Andrew Bartlett
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/eventlog/srv_eventlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/eventlog/srv_eventlog_nt.c b/source3/rpc_server/eventlog/srv_eventlog_nt.c
index 67ab471444..a05ea3fcbe 100644
--- a/source3/rpc_server/eventlog/srv_eventlog_nt.c
+++ b/source3/rpc_server/eventlog/srv_eventlog_nt.c
@@ -91,7 +91,7 @@ static bool elog_check_access( EVENTLOG_INFO *info, const struct security_token
/* get the security descriptor for the file */
- sec_desc = get_nt_acl_no_snum( info, tdbname );
+ sec_desc = get_nt_acl_no_snum( info, tdbname, SECINFO_OWNER | SECINFO_GROUP | SECINFO_DACL);
TALLOC_FREE( tdbname );
if ( !sec_desc ) {