Lines Matching refs:pw
136 struct winbindd_pw *pw;
140 pw = talloc(state, struct winbindd_pw);
141 if (composite_nomem(pw, state->ctx)) return;
149 WBSRV_SAMBA3_SET_STRING(pw->pw_name, user_info->out.account_name);
150 WBSRV_SAMBA3_SET_STRING(pw->pw_passwd, "*");
151 WBSRV_SAMBA3_SET_STRING(pw->pw_gecos, user_info->out.full_name);
152 WBSRV_SAMBA3_SET_STRING(pw->pw_dir,
154 all_string_sub(pw->pw_dir, "%WORKGROUP%", state->workgroup,
156 all_string_sub(pw->pw_dir, "%ACCOUNTNAME%", user_info->out.account_name,
158 WBSRV_SAMBA3_SET_STRING(pw->pw_shell,
161 pw->pw_uid = state->uid;
163 state->result = pw;
189 TALLOC_CTX *mem_ctx, struct winbindd_pw **pw)
199 *pw = talloc_steal(mem_ctx, state->result);