git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273edcb
)
netapi: fix access bits in netapi.
author
Günther Deschner
<gd@samba.org>
Thu, 23 Oct 2008 23:57:28 +0000
(
01:57
+0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 12 Dec 2008 00:04:51 +0000
(
01:04
+0100)
Guenther
source/lib/netapi/user.c
patch
|
blob
|
history
diff --git
a/source/lib/netapi/user.c
b/source/lib/netapi/user.c
index d7fe392526c39b4534124f5640fca860d34f53f1..1f4b03f677b4ded0aacf8d8105291c0699504a55 100644
(file)
--- 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,
- S
TD_RIGHT_DELETE_ACCESS
,
+ S
EC_STD_DELETE
,
user_rids.ids[0],
&user_handle);
if (!NT_STATUS_IS_OK(status)) {