1
0
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:
Günther Deschner 2009-06-16 15:00:20 +02:00
parent 33be1f56f7
commit 29b8e08b83

View File

@ -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;