Searched refs:auth_rep (Results 1 – 8 of 8) sorted by relevance
/titanic_41/usr/src/lib/pam_modules/authtok_store/ |
H A D | authtok_store.c | 102 struct pam_repository *auth_rep; 185 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); 191 if (auth_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; 241 if (auth_rep != NULL) { 244 service, auth_rep->type, user);
|
/titanic_41/usr/src/lib/pam_modules/passwd_auth/ |
H A D | passwd_auth.c | 87 pam_repository_t *auth_rep = NULL; in pam_sm_authenticate() local 126 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); in pam_sm_authenticate() 133 if (auth_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()
|
/titanic_41/usr/src/lib/pam_modules/unix_auth/ |
H A D | unix_auth.c | 150 struct pam_repository *auth_rep; in pam_sm_authenticate() local 191 result = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); in pam_sm_authenticate() 192 if (result == PAM_SUCCESS && auth_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()
|
/titanic_41/usr/src/lib/pam_modules/authtok_get/ |
H A D | authtok_get.c | 231 pam_repository_t *auth_rep = NULL; in pam_sm_authenticate() local 269 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); in pam_sm_authenticate() 276 if (auth_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()
|
/titanic_41/usr/src/lib/pam_modules/dhkeys/ |
H A D | dhkeys.c | 403 struct pam_repository *auth_rep = NULL; in remove_key() local 438 (void) pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep); in remove_key() 439 if (auth_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()
|
/titanic_41/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 290 pwu_repository_t *auth_rep = NULL; in pam_sm_acct_mgmt() local 328 if ((error = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep)) in pam_sm_acct_mgmt() 332 if (auth_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()
|
/titanic_41/usr/src/cmd/passwd/ |
H A D | passwd.c | 187 static pam_repository_t auth_rep; variable 244 auth_rep.type = NULL; in main() 245 auth_rep.scope = NULL; in main() 301 auth_rep.type = repository.type; in main() 302 auth_rep.scope = repository.scope; in main() 303 auth_rep.scope_len = repository.scope_len; in main() 305 if (auth_rep.type != NULL) { in main() 306 if (pam_set_item(pamh, PAM_REPOSITORY, (void *)&auth_rep) in main()
|
/titanic_41/usr/src/lib/libpam/ |
H A D | pam_framework.c | 466 pam_repository_t *auth_rep; in pam_set_item() local 468 auth_rep = (pam_repository_t *)pip->pi_addr; in pam_set_item() 469 if (auth_rep->type != NULL) in pam_set_item() 470 free(auth_rep->type); in pam_set_item() 471 if (auth_rep->scope != NULL) in pam_set_item() 472 free(auth_rep->scope); in pam_set_item() 473 free(auth_rep); in pam_set_item() 2507 pam_repository_t *auth_rep; in clean_up() local 2516 auth_rep = pamh->ps_item[PAM_REPOSITORY].pi_addr; in clean_up() 2517 if (auth_rep != NULL) { in clean_up() [all …]
|