From: Günther Deschner Date: Tue, 26 Aug 2008 22:33:16 +0000 (+0200) Subject: netapi: process level 1003 in construct_USER_INFO_X as well. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2;p=thirdparty%2Fsamba.git netapi: process level 1003 in construct_USER_INFO_X as well. Guenther --- diff --git a/source/lib/netapi/user.c b/source/lib/netapi/user.c index 608c1a1d8d9..97eb9d8002d 100644 --- a/source/lib/netapi/user.c +++ b/source/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;