Searched defs:pwu_rep (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c232 pwu_repository_t *pwu_rep = NULL; local
277 pwu_rep = PWU_DEFAULT_REP;
279 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
281 pwu_rep->type = auth_rep->type;
282 pwu_rep->scope = auth_rep->scope;
283 pwu_rep->scope_len = auth_rep->scope_len;
290 res = __get_authtoken_attr(user, pwu_rep, al);
292 if (pwu_rep != PWU_DEFAULT_REP)
293 free(pwu_rep);
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c97 pwu_repository_t *pwu_rep; local
192 pwu_rep = PWU_DEFAULT_REP;
194 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
196 pwu_rep->type = auth_rep->type;
197 pwu_rep->scope = auth_rep->scope;
198 pwu_rep->scope_len = auth_rep->scope_len;
201 res = __set_authtoken_attr(user, oldpw, pwu_rep, &l, &updated_reps);
203 if (pwu_rep != PWU_DEFAULT_REP)
204 free(pwu_rep);
[all...]
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c88 pwu_repository_t *pwu_rep = NULL; local
134 pwu_rep = PWU_DEFAULT_REP;
136 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
138 pwu_rep->type = auth_rep->type;
139 pwu_rep->scope = auth_rep->scope;
140 pwu_rep->scope_len = auth_rep->scope_len;
143 res = __user_to_authenticate(user, pwu_rep, &auth_user, &privileged);
225 res = __get_authtoken_attr(auth_user, pwu_rep, al);
316 if (pwu_rep)
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_auth/
H A Dunix_auth.c151 pwu_repository_t *pwu_rep; local
193 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
195 pwu_rep->type = auth_rep->type;
196 pwu_rep->scope = auth_rep->scope;
197 pwu_rep->scope_len = auth_rep->scope_len;
199 pwu_rep = PWU_DEFAULT_REP;
218 result = __get_authtoken_attr(user, pwu_rep, attr_pw);
220 if (pwu_rep != PWU_DEFAULT_REP)
221 free(pwu_rep);
[all...]
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c404 pwu_repository_t *pwu_rep; local
440 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
442 pwu_rep->type = auth_rep->type;
443 pwu_rep->scope = auth_rep->scope;
444 pwu_rep->scope_len = auth_rep->scope_len;
446 pwu_rep = PWU_DEFAULT_REP;
452 result = __get_authtoken_attr(uname, pwu_rep, attr_pw);
454 if (pwu_rep != PWU_DEFAULT_REP)
455 free(pwu_rep);
[all...]
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c289 pwu_repository_t *pwu_rep = PWU_DEFAULT_REP; local
333 pwu_rep = PWU_DEFAULT_REP;
335 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) {
339 pwu_rep->type = auth_rep->type;
340 pwu_rep->scope = auth_rep->scope;
341 pwu_rep->scope_len = auth_rep->scope_len;
350 result = __get_authtoken_attr(user, pwu_rep, attr_pw);
392 result = __get_authtoken_attr(user, pwu_rep, attr_spw);
428 if (pwu_rep !
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c151 pwu_repository_t *pwu_rep; local
262 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL)
264 pwu_rep->type = pam_rep->type;
265 pwu_rep->scope = pam_rep->scope;
266 pwu_rep->scope_len = pam_rep->scope_len;
268 pwu_rep = PWU_DEFAULT_REP;
273 result = __get_authtoken_attr(user, pwu_rep, attr);
274 if (pwu_rep != PWU_DEFAULT_REP)
275 free(pwu_rep);
711 pwu_repository_t *pwu_rep = PWU_DEFAULT_REP; local
[all...]

Completed in 256 milliseconds