mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-netapi: Fix Bug #6451: net/libnetapi user rename using wrong access bits.
Guenther
This commit is contained in:
parent
33be1f56f7
commit
29b8e08b83
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user