summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-03 10:36:05 +0200
committerGünther Deschner <gd@samba.org>2010-06-03 11:00:26 +0200
commitb6a2cea74d90499bd3e239ab696502ae8afed30e (patch)
tree5b2796475ab3e334cd4d39fa25742d756a6b851c /source3/lib
parent102b0cfe62c6486846cdfb4938a83e2be4aad912 (diff)
downloadsamba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.gz
samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.tar.bz2
samba-b6a2cea74d90499bd3e239ab696502ae8afed30e.zip
s3-security: use shared "Standard access rights.".
Guenther
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/localgroup.c2
-rw-r--r--source3/lib/netapi/user.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/localgroup.c b/source3/lib/netapi/localgroup.c
index dd0f8d2097..f8832328fe 100644
--- a/source3/lib/netapi/localgroup.c
+++ b/source3/lib/netapi/localgroup.c
@@ -934,7 +934,7 @@ static NTSTATUS libnetapi_lsa_lookup_names3(TALLOC_CTX *mem_ctx,
status = rpccli_lsa_open_policy2(lsa_pipe, mem_ctx,
false,
- STD_RIGHT_READ_CONTROL_ACCESS |
+ SEC_STD_READ_CONTROL |
LSA_POLICY_VIEW_LOCAL_INFORMATION |
LSA_POLICY_LOOKUP_NAMES,
&lsa_handle);
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index e291193fa2..c586d11ceb 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -1770,8 +1770,8 @@ WERROR NetUserSetInfo_r(struct libnetapi_ctx *ctx,
SAMR_USER_ACCESS_GET_GROUPS;
break;
case 3:
- user_mask = STD_RIGHT_READ_CONTROL_ACCESS |
- STD_RIGHT_WRITE_DAC_ACCESS |
+ user_mask = SEC_STD_READ_CONTROL |
+ SEC_STD_WRITE_DAC |
SAMR_USER_ACCESS_GET_GROUPS |
SAMR_USER_ACCESS_SET_PASSWORD |
SAMR_USER_ACCESS_SET_ATTRIBUTES |