diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/netapi/user.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index b7581957c4..35e4d7a9a9 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -118,6 +118,7 @@ static NTSTATUS construct_USER_INFO_X(uint32_t level, struct USER_INFO_1 *u1 = NULL; struct USER_INFO_2 *u2 = NULL; struct USER_INFO_1003 *u1003 = NULL; + struct USER_INFO_1006 *u1006 = NULL; struct USER_INFO_1007 *u1007 = NULL; struct USER_INFO_1009 *u1009 = NULL; struct USER_INFO_1011 *u1011 = NULL; @@ -176,6 +177,10 @@ static NTSTATUS construct_USER_INFO_X(uint32_t level, u1003 = (struct USER_INFO_1003 *)buffer; uX->usriX_password = u1003->usri1003_password; break; + case 1006: + u1006 = (struct USER_INFO_1006 *)buffer; + uX->usriX_home_dir = u1006->usri1006_home_dir; + break; case 1007: u1007 = (struct USER_INFO_1007 *)buffer; uX->usriX_comment = u1007->usri1007_comment; @@ -1327,6 +1332,7 @@ WERROR NetUserSetInfo_r(struct libnetapi_ctx *ctx, case 1003: user_mask = SAMR_USER_ACCESS_SET_PASSWORD; break; + case 1006: case 1007: case 1009: case 1011: |