diff options
author | Günther Deschner <gd@samba.org> | 2010-06-03 10:36:05 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-06-03 11:00:26 +0200 |
commit | b6a2cea74d90499bd3e239ab696502ae8afed30e (patch) | |
tree | 5b2796475ab3e334cd4d39fa25742d756a6b851c /source3/rpc_server/srv_winreg_nt.c | |
parent | 102b0cfe62c6486846cdfb4938a83e2be4aad912 (diff) | |
download | samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.gz samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.xz samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.zip |
s3-security: use shared "Standard access rights.".
Guenther
Diffstat (limited to 'source3/rpc_server/srv_winreg_nt.c')
-rw-r--r-- | source3/rpc_server/srv_winreg_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c index 10ea8fef223..28d5ac92376 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/rpc_server/srv_winreg_nt.c @@ -851,7 +851,7 @@ WERROR _winreg_GetKeySecurity(pipes_struct *p, struct winreg_GetKeySecurity *r) /* access checks first */ - if ( !(key->key->access_granted & STD_RIGHT_READ_CONTROL_ACCESS) ) + if ( !(key->key->access_granted & SEC_STD_READ_CONTROL) ) return WERR_ACCESS_DENIED; err = reg_getkeysecurity(p->mem_ctx, key, &secdesc); @@ -892,7 +892,7 @@ WERROR _winreg_SetKeySecurity(pipes_struct *p, struct winreg_SetKeySecurity *r) /* access checks first */ - if ( !(key->key->access_granted & STD_RIGHT_WRITE_DAC_ACCESS) ) + if ( !(key->key->access_granted & SEC_STD_WRITE_DAC) ) return WERR_ACCESS_DENIED; err = ntstatus_to_werror(unmarshall_sec_desc(p->mem_ctx, r->in.sd->data, |