req, struct wb_getpwsid_state);
struct winbindd_pw *pw = state->pw;
struct wbint_userinfo *info;
- struct winbindd_domain *domain = NULL;
fstring acct_name, output_username;
char *mapped_name = NULL;
char *tmp;
return;
}
- domain = find_domain_from_name_noinit(info->domain_name);
- if (tevent_req_nomem(domain, req)) {
- return;
- }
-
/*
* TODO:
* This function should be called in 'idmap winbind child'. It shouldn't
* winbind.idl. This is a fix which can be backported for now.
*/
status = normalize_name_map(state,
- domain,
+ info->domain_name,
acct_name,
&mapped_name);
if (NT_STATUS_IS_OK(status)) {