From 7a5a3d3944ad7d9fa16f37cde2de43d2eceffd0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 24 Oct 2008 01:57:28 +0200 Subject: [PATCH] netapi: fix access bits in netapi. Guenther (cherry picked from commit a42b38b34d4e97d2c196e67aef3b01d4f043b646) --- source/lib/netapi/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/lib/netapi/user.c b/source/lib/netapi/user.c index d7fe392526c..1f4b03f677b 100644 --- a/source/lib/netapi/user.c +++ b/source/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)) { -- 2.11.4.GIT