This fixes the substitution for 'template homedir'.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12699
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Sat Mar 18 19:47:40 CET 2017 on sn-devel-144
(cherry picked from commit
ece5e67bbc027432aeb3d97205ef093a0acda8d5)
NTSTATUS status;
const char *domain_name;
- status = wb_lookupsid_recv(subreq, state, &type, &domain_name,
+ status = wb_lookupsid_recv(subreq, state->info, &type, &domain_name,
&state->info->primary_group_name);
TALLOC_FREE(subreq);
if (tevent_req_nterror(req, status)) {