Searched defs:auth_rep (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/authtok_get/
H A Dauthtok_get.c231 pam_repository_t *auth_rep = NULL; local
269 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
276 if (auth_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;
/illumos-gate/usr/src/lib/pam_modules/authtok_store/
H A Dauthtok_store.c102 struct pam_repository *auth_rep; local
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);
/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c87 pam_repository_t *auth_rep = NULL; local
126 res = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
133 if (auth_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;
/illumos-gate/usr/src/lib/pam_modules/unix_auth/
H A Dunix_auth.c150 struct pam_repository *auth_rep; local
191 result = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
192 if (result == PAM_SUCCESS && auth_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;
/illumos-gate/usr/src/lib/pam_modules/dhkeys/
H A Ddhkeys.c403 struct pam_repository *auth_rep = NULL; local
438 (void) pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep);
439 if (auth_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;
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c290 pwu_repository_t *auth_rep = NULL; local
328 if ((error = pam_get_item(pamh, PAM_REPOSITORY, (void **)&auth_rep))
332 if (auth_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;
/illumos-gate/usr/src/lib/libpam/
H A Dpam_framework.c462 pam_repository_t *auth_rep; local
464 auth_rep = (pam_repository_t *)pip->pi_addr;
465 if (auth_rep->type != NULL)
466 free(auth_rep->type);
467 if (auth_rep->scope != NULL)
468 free(auth_rep->scope);
469 free(auth_rep);
2502 pam_repository_t *auth_rep; local
2511 auth_rep = pamh->ps_item[PAM_REPOSITORY].pi_addr;
2512 if (auth_rep !
[all...]
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c187 static pam_repository_t auth_rep; variable
244 auth_rep.type = NULL;
245 auth_rep.scope = NULL;
301 auth_rep.type = repository.type;
302 auth_rep.scope = repository.scope;
303 auth_rep.scope_len = repository.scope_len;
305 if (auth_rep.type != NULL) {
306 if (pam_set_item(pamh, PAM_REPOSITORY, (void *)&auth_rep)

Completed in 74 milliseconds