Searched refs:auth2 (Results 1 – 3 of 3) sorted by relevance
155 nvlist_t *auth1 = NULL, *auth2 = NULL; in auth_compare() local158 (void) nvlist_lookup_nvlist(nvl2, FM_FMRI_AUTHORITY, &auth2); in auth_compare()159 if (auth1 == NULL && auth2 == NULL) in auth_compare()161 if (auth1 == NULL || auth2 == NULL) in auth_compare()168 (void) nvlist_lookup_string(auth2, *namep, &val2); in auth_compare()
347 const ns_cred_t *auth2) in __s_api_is_auth_matched() argument349 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()362 auth2->cred.unix_cred.userID) != 0)) || in __s_api_is_auth_matched()364 auth2->cred.unix_cred.passwd) != 0)))) in __s_api_is_auth_matched()
874 const ns_cred_t *auth2);