summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-24 01:57:28 +0200
committerGünther Deschner <gd@samba.org>2008-10-28 00:13:50 +0100
commit698b7fd43658d9e96d28f26c9e1dae5e770bb57f (patch)
tree63c64f8e09380ee47b66a23647f904976ec3b29e
parentf5269ff1822564aa639395384629ae4560c5f79f (diff)
downloadsamba-698b7fd43658d9e96d28f26c9e1dae5e770bb57f.tar.gz
samba-698b7fd43658d9e96d28f26c9e1dae5e770bb57f.tar.bz2
samba-698b7fd43658d9e96d28f26c9e1dae5e770bb57f.zip
netapi: fix access bits in netapi.
Guenther
-rw-r--r--source3/lib/netapi/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c
index 2abc25d681..2e319cf23c 100644
--- a/source3/lib/netapi/user.c
+++ b/source3/lib/netapi/user.c
@@ -553,7 +553,7 @@ WERROR NetUserDel_r(struct libnetapi_ctx *ctx,
status = rpccli_samr_OpenUser(pipe_cli, ctx,
&domain_handle,
- STD_RIGHT_DELETE_ACCESS,
+ SEC_STD_DELETE,
user_rids.ids[0],
&user_handle);
if (!NT_STATUS_IS_OK(status)) {