Lines Matching refs:service
54 /* PAM_SERVICE */ "service",
286 pam_start(const char *service, const char *user,
296 service ? service : "NULL", user ? user : "NULL", (void *)pam_conv,
303 if ((err = pam_set_item(*pamh, PAM_SERVICE, (void *)service))
889 "Error in underlying service module"));
1001 * Run through the PAM service module stack for the given module type.
1996 char *service;
2000 * service types:
2005 (void) pam_get_item(pamh, PAM_SERVICE, (void **)&service);
2006 if (service == NULL || *service == '\0') {
2007 __pam_log(LOG_AUTH | LOG_ERR, "No service name");
2022 /* See if entry is this service and valid */
2023 if (verify_pam_conf(pamentp, service)) {
2026 i, pam_trace_cname(pamh), (void *)pamh, service);
2032 if (strcasecmp(pamentp->pam_service, service) == 0) {
2035 i, pam_trace_cname(pamh), (void *)pamh, service);
2036 /* process first service entry */
2051 /* add first service entry */
2055 (void *)pamh, service, i,
2062 /* append more service entries */
2066 (void *)pamh, service, i,
2082 (void *)pamh, service, i,
2168 /* get service name (e.g. login, su, passwd) */
2474 * True = Error if there is no service.
2475 * True = Error if there is a service and it matches the requested service
2480 verify_pam_conf(pamtab_t *pam, char *service)
2483 ((strcasecmp(pam->pam_service, service) == 0) &&
2601 * Internal convenience functions for Solaris PAM service modules.