summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_user.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-25 09:24:12 +0100
committerAndrew Bartlett <abartlet@samba.org>2008-04-25 09:24:12 +0100
commit28c29e7ad364a5e0a3aaa91d2dfd4400596ac691 (patch)
treed81b874e2e599a52d621106e2150e12e73f4d559 /source4/torture/libnet/libnet_user.c
parentd67e47e5cd11c928299dc03ce2ff521e2d3cca83 (diff)
parent240d959005f5fd80a38b3734b39dd5d6e425a566 (diff)
downloadsamba-28c29e7ad364a5e0a3aaa91d2dfd4400596ac691.tar.gz
samba-28c29e7ad364a5e0a3aaa91d2dfd4400596ac691.tar.bz2
samba-28c29e7ad364a5e0a3aaa91d2dfd4400596ac691.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 2c3a3d0134b5fe4cd9dfdb05d1b140b2c9b502f1)
Diffstat (limited to 'source4/torture/libnet/libnet_user.c')
-rw-r--r--source4/torture/libnet/libnet_user.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/libnet/libnet_user.c b/source4/torture/libnet/libnet_user.c
index 15e3f03506..6d3e682976 100644
--- a/source4/torture/libnet/libnet_user.c
+++ b/source4/torture/libnet/libnet_user.c
@@ -530,7 +530,8 @@ bool torture_modifyuser(struct torture_context *torture)
ZERO_STRUCT(user_req);
user_req.in.domain_name = lp_workgroup(torture->lp_ctx);
- user_req.in.user_name = name;
+ user_req.in.data.user_name = name;
+ user_req.in.level = USER_INFO_BY_NAME;
status = libnet_UserInfo(ctx, torture, &user_req);
if (!NT_STATUS_IS_OK(status)) {
@@ -642,7 +643,8 @@ bool torture_userinfo_api(struct torture_context *torture)
ZERO_STRUCT(req);
req.in.domain_name = domain_name.string;
- req.in.user_name = name;
+ req.in.data.user_name = name;
+ req.in.level = USER_INFO_BY_NAME;
status = libnet_UserInfo(ctx, mem_ctx, &req);
if (!NT_STATUS_IS_OK(status)) {