From 870944ca970f2b9484f0a36575b76f3eaeed66ee Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 27 Aug 2008 00:33:16 +0200 Subject: netapi: process level 1003 in construct_USER_INFO_X as well. Guenther (This used to be commit cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2) --- source3/lib/netapi/user.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/lib') diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 608c1a1d8d..97eb9d8002 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -111,6 +111,7 @@ static NTSTATUS construct_USER_INFO_X(uint32_t level, struct USER_INFO_0 *u0 = NULL; struct USER_INFO_1 *u1 = NULL; struct USER_INFO_2 *u2 = NULL; + struct USER_INFO_1003 *u1003 = NULL; struct USER_INFO_1007 *u1007 = NULL; if (!buffer || !uX) { @@ -162,6 +163,10 @@ static NTSTATUS construct_USER_INFO_X(uint32_t level, uX->usriX_country_code = u2->usri2_country_code; uX->usriX_code_page = u2->usri2_code_page; break; + case 1003: + u1003 = (struct USER_INFO_1003 *)buffer; + uX->usriX_password = u1003->usri1003_password; + break; case 1007: u1007 = (struct USER_INFO_1007 *)buffer; uX->usriX_comment = u1007->usri1007_comment; -- cgit