summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-27 00:33:16 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 13:57:54 +0200
commit870944ca970f2b9484f0a36575b76f3eaeed66ee (patch)
tree2cc1ac544f568c58ae8e0b4ed5a0f4cebdbaa390 /source3/lib
parent64d06eadb762948b2361f66f41c2995804060190 (diff)
downloadsamba-870944ca970f2b9484f0a36575b76f3eaeed66ee.tar.gz
samba-870944ca970f2b9484f0a36575b76f3eaeed66ee.tar.bz2
samba-870944ca970f2b9484f0a36575b76f3eaeed66ee.zip
netapi: process level 1003 in construct_USER_INFO_X as well.
Guenther (This used to be commit cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/user.c5
1 files changed, 5 insertions, 0 deletions
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;