Lines Matching refs:pw
112 struct winbindd_pw *pw;
119 pw = talloc(state, struct winbindd_pw);
120 if(composite_nomem(pw, state->ctx)) return;
125 WBSRV_SAMBA3_SET_STRING(pw->pw_name, user_info->out.account_name);
126 WBSRV_SAMBA3_SET_STRING(pw->pw_passwd, "*");
127 WBSRV_SAMBA3_SET_STRING(pw->pw_gecos, user_info->out.full_name);
128 WBSRV_SAMBA3_SET_STRING(pw->pw_dir,
130 all_string_sub(pw->pw_dir, "%WORKGROUP%", state->workgroup_name,
132 all_string_sub(pw->pw_dir, "%ACCOUNTNAME%", user_info->out.account_name,
134 WBSRV_SAMBA3_SET_STRING(pw->pw_shell,
140 state->result = pw;
180 TALLOC_CTX *mem_ctx, struct winbindd_pw **pw)
190 *pw = talloc_steal(mem_ctx, state->result);