From 698b7fd43658d9e96d28f26c9e1dae5e770bb57f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 24 Oct 2008 01:57:28 +0200 Subject: netapi: fix access bits in netapi. Guenther --- source3/lib/netapi/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/netapi/user.c') 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)) { -- cgit