summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_cmd_getpwnam.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/winbind/wb_cmd_getpwnam.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/winbind/wb_cmd_getpwnam.c')
-rw-r--r--source4/winbind/wb_cmd_getpwnam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/winbind/wb_cmd_getpwnam.c b/source4/winbind/wb_cmd_getpwnam.c
index fb2dc197c9..7d821537f0 100644
--- a/source4/winbind/wb_cmd_getpwnam.c
+++ b/source4/winbind/wb_cmd_getpwnam.c
@@ -92,7 +92,8 @@ static void cmd_getpwnam_recv_domain(struct composite_context *ctx)
return;
}
- user_info->in.user_name = user_name;
+ user_info->in.level = USER_INFO_BY_NAME;
+ user_info->in.data.user_name = user_name;
user_info->in.domain_name = domain->libnet_ctx->samr.name;
state->workgroup_name = talloc_strdup(state,
domain->libnet_ctx->samr.name);