Home
last modified time | relevance | path

Searched refs:pwu_rep (Results 1 – 7 of 7) sorted by relevance

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