mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +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) {
|
switch (r->in.level) {
|
||||||
case 0:
|
case 0:
|
||||||
|
user_mask = SAMR_USER_ACCESS_SET_ATTRIBUTES;
|
||||||
|
break;
|
||||||
case 1003:
|
case 1003:
|
||||||
user_mask = SAMR_USER_ACCESS_SET_PASSWORD;
|
user_mask = SAMR_USER_ACCESS_SET_PASSWORD;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user