diff options
author | Günther Deschner <gd@samba.org> | 2010-06-02 23:57:09 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 11:00:25 +0200 |
commit | b5c2af94475337b4769dc464a695ee29bc5e87c7 (patch) | |
tree | 735631192dcf23db54393979309f36b75a0db14d /source3/rpc_server | |
parent | 37b978c343b5727c7257d7a0a574ba82bb0c9c0f (diff) | |
download | samba-b5c2af94475337b4769dc464a695ee29bc5e87c7.tar.gz samba-b5c2af94475337b4769dc464a695ee29bc5e87c7.tar.bz2 samba-b5c2af94475337b4769dc464a695ee29bc5e87c7.zip |
s3-security: use shared "File Object specific access rights".
Guenther
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_eventlog_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c index 99185ef552..2d4c597358 100644 --- a/source3/rpc_server/srv_eventlog_nt.c +++ b/source3/rpc_server/srv_eventlog_nt.c @@ -129,7 +129,7 @@ static bool elog_check_access( EVENTLOG_INFO *info, NT_USER_TOKEN *token ) /* we have to have READ permission for a successful open */ - return ( info->access_granted & SA_RIGHT_FILE_READ_DATA ); + return ( info->access_granted & SEC_FILE_READ_DATA ); } /******************************************************************** @@ -439,7 +439,7 @@ NTSTATUS _eventlog_ClearEventLogW(pipes_struct *p, /* check for WRITE access to the file */ - if ( !(info->access_granted&SA_RIGHT_FILE_WRITE_DATA) ) + if ( !(info->access_granted & SEC_FILE_WRITE_DATA) ) return NT_STATUS_ACCESS_DENIED; /* Force a close and reopen */ |