Home
last modified time | relevance | path

Searched refs:auth1 (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fm/schemes/hc/
H A Dscheme.c155 nvlist_t *auth1 = NULL, *auth2 = NULL; in auth_compare() local
157 (void) nvlist_lookup_nvlist(nvl1, FM_FMRI_AUTHORITY, &auth1); in auth_compare()
159 if (auth1 == NULL && auth2 == NULL) in auth_compare()
161 if (auth1 == NULL || auth2 == NULL) in auth_compare()
167 (void) nvlist_lookup_string(auth1, *namep, &val1); in auth_compare()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c346 __s_api_is_auth_matched(const ns_cred_t *auth1, in __s_api_is_auth_matched() argument
349 if ((auth1->auth.type != auth2->auth.type) || in __s_api_is_auth_matched()
350 (auth1->auth.tlstype != auth2->auth.tlstype) || in __s_api_is_auth_matched()
351 (auth1->auth.saslmech != auth2->auth.saslmech) || in __s_api_is_auth_matched()
352 (auth1->auth.saslopt != auth2->auth.saslopt)) in __s_api_is_auth_matched()
355 if ((((auth1->auth.type == NS_LDAP_AUTH_SASL) && in __s_api_is_auth_matched()
358 (auth1->auth.type == NS_LDAP_AUTH_SIMPLE)) && in __s_api_is_auth_matched()
359 ((auth1->cred.unix_cred.userID == NULL) || in __s_api_is_auth_matched()
360 (auth1->cred.unix_cred.passwd == NULL) || in __s_api_is_auth_matched()
361 ((strcasecmp(auth1->cred.unix_cred.userID, in __s_api_is_auth_matched()
[all …]
H A Dns_internal.h873 boolean_t __s_api_is_auth_matched(const ns_cred_t *auth1,