summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/user.c
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/netapi/user.c
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/netapi/user.c')
-rw-r--r--source3/lib/netapi/user.c4
1 files changed, 2 insertions, 2 deletions
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 |