diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-04-25 09:24:12 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-25 09:24:12 +0100 |
commit | 28c29e7ad364a5e0a3aaa91d2dfd4400596ac691 (patch) | |
tree | d81b874e2e599a52d621106e2150e12e73f4d559 /source4/scripting/ejs/ejsnet/net_user.c | |
parent | d67e47e5cd11c928299dc03ce2ff521e2d3cca83 (diff) | |
parent | 240d959005f5fd80a38b3734b39dd5d6e425a566 (diff) | |
download | samba-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/scripting/ejs/ejsnet/net_user.c')
-rw-r--r-- | source4/scripting/ejs/ejsnet/net_user.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/scripting/ejs/ejsnet/net_user.c b/source4/scripting/ejs/ejsnet/net_user.c index 57e538d3b4..0c32035c6c 100644 --- a/source4/scripting/ejs/ejsnet/net_user.c +++ b/source4/scripting/ejs/ejsnet/net_user.c @@ -268,8 +268,9 @@ static int ejs_net_userinfo(MprVarHandle eid, int argc, char **argv) /* call the libnet function */ req.in.domain_name = userman_domain; - req.in.user_name = username; - + req.in.data.user_name = username; + req.in.level = USER_INFO_BY_NAME; + status = libnet_UserInfo(ctx, mem_ctx, &req); if (!NT_STATUS_IS_OK(status)) { ejsSetErrorMsg(eid, "%s", req.out.error_string); |