diff options
author | Günther Deschner <gd@samba.org> | 2009-06-16 15:00:20 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-06-16 15:00:20 +0200 |
commit | 29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b (patch) | |
tree | d32a452e744311e8eda2a1e68c6daeb1355caa6f | |
parent | 33be1f56f778116a5657b257ffb0f1eb7196658a (diff) | |
download | samba-29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b.tar.gz samba-29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b.tar.bz2 samba-29b8e08b83eeb0ab7d33bf46981cdbad8c35dc9b.zip |
s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.
Guenther
-rw-r--r-- | source3/lib/netapi/user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 849ba9cc92..5fb6c203a7 100644 --- 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; |