Lines Matching refs:errorp

825 	    &curEntry, &cookie->errorp);  in __s_api_getEntry()
1041 if (cookie->errorp) in delete_search_cookie()
1042 (void) __ns_ldap_freeError(&cookie->errorp); in delete_search_cookie()
1364 MKERROR(LOG_WARNING, cookie->errorp, in get_mapped_filter()
1549 (void ***)&param, &cookie->errorp); in setup_next_search()
1606 &cookie->errorp, fail_if_new_pwd_reqd, in get_current_session()
1618 &cookie->errorp); in get_current_session()
1619 cookie->errorp = NULL; in get_current_session()
1653 &cookie->errorp, fail_if_new_pwd_reqd, in get_next_session()
1665 &cookie->errorp); in get_next_session()
1666 cookie->errorp = NULL; in get_next_session()
1702 &cookie->errorp, fail_if_new_pwd_reqd, in get_referral_session()
1714 &cookie->errorp); in get_referral_session()
1715 cookie->errorp = NULL; in get_referral_session()
2032 ns_ldap_error_t **errorp = NULL; in multi_result() local
2054 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in multi_result()
2057 cookie->errorp = *errorp; in multi_result()
2124 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in multi_result()
2127 cookie->errorp = *errorp; in multi_result()
2264 ns_ldap_error_t **errorp; in search_state_machine() local
2267 errorp = &error; in search_state_machine()
2342 (void) __ns_ldap_freeError(&cookie->errorp); in search_state_machine()
2382 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in search_state_machine()
2385 cookie->errorp = *errorp; in search_state_machine()
2531 &cookie->errorp); in search_state_machine()
2639 ns_ldap_error_t *errorp = NULL; in search_state_machine() local
2646 rc, &errorp); in search_state_machine()
2647 if (errorp != NULL) { in search_state_machine()
2649 &cookie->errorp); in search_state_machine()
2650 cookie->errorp = errorp; in search_state_machine()
2776 ns_ldap_error_t *errorp = NULL; in search_state_machine() local
2783 rc, &errorp); in search_state_machine()
2784 if (errorp != NULL) { in search_state_machine()
2786 &cookie->errorp); in search_state_machine()
2787 cookie->errorp = errorp; in search_state_machine()
2923 MKERROR(LOG_INFO, *errorp, in search_state_machine()
2927 MKERROR(LOG_WARNING, *errorp, in search_state_machine()
2932 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, in search_state_machine()
2936 cookie->errorp = *errorp; in search_state_machine()
2945 rc_save, &cookie->errorp); in search_state_machine()
2956 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in search_state_machine()
2959 cookie->errorp = *errorp; in search_state_machine()
2967 cookie->errorp = cookie->conn_user->ns_error; in search_state_machine()
2982 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, NS_LDAP_MEMORY); in search_state_machine()
2984 cookie->errorp = *errorp; in search_state_machine()
3034 MKERROR(LOG_INFO, cookie->errorp, NS_LDAP_INTERNAL, err, in check_shadow()
3068 ns_ldap_error_t **errorp, in ldap_list() argument
3082 *errorp = NULL; in ldap_list()
3103 &cookie->followRef, errorp); in ldap_list()
3115 *errorp = error; in ldap_list()
3142 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in ldap_list()
3148 *errorp = cookie->errorp; in ldap_list()
3149 cookie->errorp = NULL; in ldap_list()
3161 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in ldap_list()
3204 *errorp = cookie->errorp; in ldap_list()
3205 cookie->errorp = NULL; in ldap_list()
3236 cookie->caller_errorp = errorp; in ldap_list()
3255 *errorp = conn_user->ns_error; in ldap_list()
3258 *errorp = cookie->errorp; in ldap_list()
3264 cookie->errorp = NULL; in ldap_list()
3292 ns_ldap_error_t **errorp, in __ns_ldap_list() argument
3305 attribute, auth, mod_flags, rResult, errorp, in __ns_ldap_list()
3326 ns_ldap_error_t **errorp, in __ns_ldap_list_sort() argument
3336 &try_cnt, &rc, errorp) == 0) in __ns_ldap_list_sort()
3339 attribute, auth, flags, rResult, errorp, &trc, callback, in __ns_ldap_list_sort()
3373 ns_ldap_error_t **errorp, in __ns_ldap_list_batch_add() argument
3396 auth, mod_flags, rResult, errorp, rcp, callback, userdata, cu); in __ns_ldap_list_batch_add()
3459 ns_ldap_error_t *errorp = NULL; in __ns_ldap_list_batch_process() local
3486 rc = __s_api_setup_getnext(c->conn_user, &c->err_rc, &errorp); in __ns_ldap_list_batch_process()
3489 if (errorp != NULL) { in __ns_ldap_list_batch_process()
3490 (void) __ns_ldap_freeError(&c->errorp); in __ns_ldap_list_batch_process()
3491 c->errorp = errorp; in __ns_ldap_list_batch_process()
3496 if (errorp != NULL) { in __ns_ldap_list_batch_process()
3497 (void) __ns_ldap_freeError(&c->errorp); in __ns_ldap_list_batch_process()
3498 c->errorp = errorp; in __ns_ldap_list_batch_process()
3511 *c->caller_errorp = errorp; in __ns_ldap_list_batch_process()
3528 *c->caller_errorp = c->errorp; in __ns_ldap_list_batch_process()
3533 c->errorp = NULL; in __ns_ldap_list_batch_process()
3640 ns_ldap_result_t **resultp, ns_ldap_error_t **errorp) in lookup_dn() argument
3646 *errorp = NULL; in lookup_dn()
3657 rc = __s_api_toFollowReferrals(flags, &cookie->followRef, errorp); in lookup_dn()
3708 *errorp = user->ns_error; in lookup_dn()
3711 *errorp = cookie->errorp; in lookup_dn()
3712 cookie->errorp = NULL; in lookup_dn()
3734 ns_ldap_error_t **errorp, ns_conn_user_t *conn_user) in find_domainname() argument
3742 *errorp = NULL; in find_domainname()
3750 rc = lookup_dn(&ldata, nis_domain_attrs, &result, errorp); in find_domainname()
3776 const ns_cred_t *cred, ns_ldap_error_t **errorp) in __s_api_find_domainname() argument
3784 &try_cnt, &rc, errorp) == 0) in __s_api_find_domainname()
3786 rc = find_domainname(dn, domainname, cred, errorp, cu); in __s_api_find_domainname()
3804 ns_ldap_error_t ** errorp, in firstEntry() argument
3817 *errorp = NULL; in firstEntry()
3831 *errorp = error; in firstEntry()
3862 *errorp = error; in firstEntry()
3879 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in firstEntry()
3901 &cookie->followRef, errorp); in firstEntry()
3938 *errorp = cookie->errorp; in firstEntry()
3939 cookie->errorp = NULL; in firstEntry()
3969 *errorp = conn_user->ns_error; in firstEntry()
3972 *errorp = cookie->errorp; in firstEntry()
3973 cookie->errorp = NULL; in firstEntry()
3980 *errorp = cookie->errorp; in firstEntry()
3981 cookie->errorp = NULL; in firstEntry()
4007 ns_ldap_error_t ** errorp, in __ns_ldap_firstEntry() argument
4016 &try_cnt, &rc, errorp) == 0) in __ns_ldap_firstEntry()
4019 attribute, auth, flags, vcookie, result, errorp, userdata, in __ns_ldap_firstEntry()
4028 ns_ldap_error_t ** errorp) in __ns_ldap_nextEntry() argument
4040 &cookie->err_rc, errorp); in __ns_ldap_nextEntry()
4060 *errorp = cookie->errorp; in __ns_ldap_nextEntry()
4061 cookie->errorp = NULL; in __ns_ldap_nextEntry()
4072 ns_ldap_error_t ** errorp) in __ns_ldap_endEntry() argument
4089 *errorp = cookie->errorp; in __ns_ldap_endEntry()
4091 cookie->errorp = NULL; in __ns_ldap_endEntry()
4137 __ns_ldap_auth(const ns_cred_t *auth, const int flags, ns_ldap_error_t **errorp, in __ns_ldap_auth() argument
4153 *errorp = NULL; in __ns_ldap_auth()
4161 auth, &connectionId, &conp, errorp, in __ns_ldap_auth()
4168 if (rc == NS_LDAP_OP_FAILED && *errorp) in __ns_ldap_auth()
4169 (void) __ns_ldap_freeError(errorp); in __ns_ldap_auth()
4207 ns_ldap_error_t **errorp) in __ns_ldap_uid2dn() argument
4217 *errorp = NULL; in __ns_ldap_uid2dn()
4273 &result, errorp, NULL, in __ns_ldap_uid2dn()
4292 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, strdup(errstr), in __ns_ldap_uid2dn()
4313 ns_ldap_error_t **errorp) in __ns_ldap_dn2uid() argument
4320 *errorp = NULL; in __ns_ldap_dn2uid()
4343 rc = lookup_dn(&ldata, dn2uid_attrs, &result, errorp); in __ns_ldap_dn2uid()
4362 const ns_cred_t *cred, ns_ldap_error_t **errorp) in __ns_ldap_host2dn() argument
4377 *errorp = NULL; in __ns_ldap_host2dn()
4404 errorp, NULL, in __ns_ldap_host2dn()
4424 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, strdup(errstr), in __ns_ldap_host2dn()
4438 ns_ldap_error_t **errorp) in __ns_ldap_dn2domain() argument
4444 *errorp = NULL; in __ns_ldap_dn2domain()
4496 if (*errorp) in __ns_ldap_dn2domain()
4497 (void) __ns_ldap_freeError(errorp); in __ns_ldap_dn2domain()
4509 cred, errorp); in __ns_ldap_dn2domain()
4543 ns_ldap_error_t **errorp) in __ns_ldap_getServiceAuthMethods() argument
4556 if (errorp == NULL) in __ns_ldap_getServiceAuthMethods()
4558 *errorp = NULL; in __ns_ldap_getServiceAuthMethods()
4567 *errorp = error; in __ns_ldap_getServiceAuthMethods()
4606 MKERROR(LOG_WARNING, *errorp, NS_CONFIG_SYNTAX, in __ns_ldap_getServiceAuthMethods()
5827 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in getAcctMgmt()
5833 (void) __ns_ldap_freeError(&(cookie->errorp)); in getAcctMgmt()
5834 cookie->errorp = NULL; in getAcctMgmt()
5853 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in getAcctMgmt()
5882 (void) __ns_ldap_freeError(&(cookie->errorp)); in getAcctMgmt()