Searched refs:pwu_rep (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/ |
H A D | passwd_auth.c | 90 pwu_repository_t *pwu_rep = NULL; in pam_sm_authenticate() local 137 pwu_rep = PWU_DEFAULT_REP; in pam_sm_authenticate() 139 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) in pam_sm_authenticate() 141 pwu_rep->type = auth_rep->type; in pam_sm_authenticate() 142 pwu_rep->scope = auth_rep->scope; in pam_sm_authenticate() 143 pwu_rep->scope_len = auth_rep->scope_len; in pam_sm_authenticate() 146 res = __user_to_authenticate(user, pwu_rep, &auth_user, &privileged); in pam_sm_authenticate() 228 res = __get_authtoken_attr(auth_user, pwu_rep, al); in pam_sm_authenticate() 319 if (pwu_rep) in pam_sm_authenticate() 320 free(pwu_rep); in pam_sm_authenticate()
|
/illumos-gate/usr/src/lib/pam_modules/unix_auth/ |
H A D | unix_auth.c | 153 pwu_repository_t *pwu_rep; in pam_sm_authenticate() local 196 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) in pam_sm_authenticate() 198 pwu_rep->type = auth_rep->type; in pam_sm_authenticate() 199 pwu_rep->scope = auth_rep->scope; in pam_sm_authenticate() 200 pwu_rep->scope_len = auth_rep->scope_len; in pam_sm_authenticate() 202 pwu_rep = PWU_DEFAULT_REP; in pam_sm_authenticate() 221 result = __get_authtoken_attr(user, pwu_rep, attr_pw); in pam_sm_authenticate() 223 if (pwu_rep != PWU_DEFAULT_REP) in pam_sm_authenticate() 224 free(pwu_rep); in pam_sm_authenticate()
|
/illumos-gate/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 291 pwu_repository_t *pwu_rep = PWU_DEFAULT_REP; in pam_sm_acct_mgmt() local 335 pwu_rep = PWU_DEFAULT_REP; in pam_sm_acct_mgmt() 337 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) { in pam_sm_acct_mgmt() 341 pwu_rep->type = auth_rep->type; in pam_sm_acct_mgmt() 342 pwu_rep->scope = auth_rep->scope; in pam_sm_acct_mgmt() 343 pwu_rep->scope_len = auth_rep->scope_len; in pam_sm_acct_mgmt() 352 result = __get_authtoken_attr(user, pwu_rep, attr_pw); in pam_sm_acct_mgmt() 394 result = __get_authtoken_attr(user, pwu_rep, attr_spw); in pam_sm_acct_mgmt() 430 if (pwu_rep != PWU_DEFAULT_REP) { in pam_sm_acct_mgmt() 431 free(pwu_rep); in pam_sm_acct_mgmt() [all …]
|
/illumos-gate/usr/src/lib/pam_modules/authtok_store/ |
H A D | authtok_store.c | 99 pwu_repository_t *pwu_rep; 197 pwu_rep = PWU_DEFAULT_REP; 199 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) { 203 pwu_rep->type = auth_rep->type; 204 pwu_rep->scope = auth_rep->scope; 205 pwu_rep->scope_len = auth_rep->scope_len; 208 res = __set_authtoken_attr(user, oldpw, pwu_rep, &l, &updated_reps); 211 if (pwu_rep != PWU_DEFAULT_REP) 212 free(pwu_rep);
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | authtok_check.c | 153 pwu_repository_t *pwu_rep; in get_passwd_defaults() local 264 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) in get_passwd_defaults() 266 pwu_rep->type = pam_rep->type; in get_passwd_defaults() 267 pwu_rep->scope = pam_rep->scope; in get_passwd_defaults() 268 pwu_rep->scope_len = pam_rep->scope_len; in get_passwd_defaults() 270 pwu_rep = PWU_DEFAULT_REP; in get_passwd_defaults() 275 result = __get_authtoken_attr(user, pwu_rep, attr); in get_passwd_defaults() 276 if (pwu_rep != PWU_DEFAULT_REP) in get_passwd_defaults() 277 free(pwu_rep); in get_passwd_defaults() 720 pwu_repository_t *pwu_rep = PWU_DEFAULT_REP; in pam_sm_chauthtok() local [all …]
|
/illumos-gate/usr/src/lib/pam_modules/authtok_get/ |
H A D | authtok_get.c | 233 pwu_repository_t *pwu_rep = NULL; in pam_sm_authenticate() local 278 pwu_rep = PWU_DEFAULT_REP; in pam_sm_authenticate() 280 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) in pam_sm_authenticate() 282 pwu_rep->type = auth_rep->type; in pam_sm_authenticate() 283 pwu_rep->scope = auth_rep->scope; in pam_sm_authenticate() 284 pwu_rep->scope_len = auth_rep->scope_len; in pam_sm_authenticate() 291 res = __get_authtoken_attr(user, pwu_rep, al); in pam_sm_authenticate() 293 if (pwu_rep != PWU_DEFAULT_REP) in pam_sm_authenticate() 294 free(pwu_rep); in pam_sm_authenticate()
|
/illumos-gate/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 407 pwu_repository_t *pwu_rep; in remove_key() local 443 if ((pwu_rep = calloc(1, sizeof (*pwu_rep))) == NULL) in remove_key() 445 pwu_rep->type = auth_rep->type; in remove_key() 446 pwu_rep->scope = auth_rep->scope; in remove_key() 447 pwu_rep->scope_len = auth_rep->scope_len; in remove_key() 449 pwu_rep = PWU_DEFAULT_REP; in remove_key() 456 result = __get_authtoken_attr(uname, pwu_rep, attr_pw); in remove_key() 458 if (pwu_rep != PWU_DEFAULT_REP) in remove_key() 459 free(pwu_rep); in remove_key()
|