Home
last modified time | relevance | path

Searched refs:auth_user (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/pam_modules/passwd_auth/
H A Dpasswd_auth.c76 char *auth_user = NULL; in pam_sm_authenticate() local
143 res = __user_to_authenticate(user, pwu_rep, &auth_user, &privileged); in pam_sm_authenticate()
165 if (auth_user == NULL) { /* No authentication needed */ in pam_sm_authenticate()
184 auth_user); in pam_sm_authenticate()
225 res = __get_authtoken_attr(auth_user, pwu_rep, al); in pam_sm_authenticate()
318 if (auth_user) in pam_sm_authenticate()
319 free(auth_user); in pam_sm_authenticate()
/illumos-gate/usr/src/lib/passwdutil/
H A D__user_to_authenticate.c30 __user_to_authenticate(char *name, pwu_repository_t *rep, char **auth_user, in __user_to_authenticate() argument
56 auth_user, auth_self); in __user_to_authenticate()
H A Dldap_attr.c80 char **auth_user, int *privileged);
194 char **auth_user, int *privileged) in ldap_user_to_authenticate() argument
235 *auth_user = NULL; in ldap_user_to_authenticate()
238 STRDUP_OR_ERR(*auth_user, user, res); in ldap_user_to_authenticate()
249 STRDUP_OR_RET(*auth_user, user); in ldap_user_to_authenticate()
266 STRDUP_OR_ERR(*auth_user, pwr.pw_name, res); in ldap_user_to_authenticate()
270 if ((*auth_user = malloc(MAX_INT_LEN)) == NULL) { in ldap_user_to_authenticate()
273 (void) snprintf(*auth_user, MAX_INT_LEN, "%d", in ldap_user_to_authenticate()
H A Dnis_attr.c50 char **auth_user, int *privileged);
126 char **auth_user, int *privileged) in nis_user_to_authenticate() argument
149 *auth_user = NULL; in nis_user_to_authenticate()
158 *auth_user = strdup(user); in nis_user_to_authenticate()
H A Dfiles_attr.c55 char **auth_user, int *privileged);
333 char **auth_user, int *privileged) in files_user_to_authenticate() argument
345 *auth_user = NULL; in files_user_to_authenticate()
351 if ((*auth_user = strdup(user)) == NULL) { in files_user_to_authenticate()