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:
33be1f5
)
s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.
author
Günther Deschner
<gd@samba.org>
Tue, 16 Jun 2009 13:00:20 +0000
(15:00 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 16 Jun 2009 13:00:20 +0000
(15:00 +0200)
Guenther
source3/lib/netapi/user.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/user.c
b/source3/lib/netapi/user.c
index 849ba9cc924b5fded3c749507851bc209ea7a86d..5fb6c203a766477d73409a3582cf42fd52a46b6d 100644
(file)
--- a/
source3/lib/netapi/user.c
+++ b/
source3/lib/netapi/user.c
@@
-1746,6
+1746,8
@@
WERROR NetUserSetInfo_r(struct libnetapi_ctx *ctx,
switch (r->in.level) {
case 0:
+ user_mask = SAMR_USER_ACCESS_SET_ATTRIBUTES;
+ break;
case 1003:
user_mask = SAMR_USER_ACCESS_SET_PASSWORD;
break;