Lines Matching refs:errorp

823 	    &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()
1548 (void ***)&param, &cookie->errorp); in setup_next_search()
1605 &cookie->errorp, fail_if_new_pwd_reqd, in get_current_session()
1617 &cookie->errorp); in get_current_session()
1618 cookie->errorp = NULL; in get_current_session()
1652 &cookie->errorp, fail_if_new_pwd_reqd, in get_next_session()
1664 &cookie->errorp); in get_next_session()
1665 cookie->errorp = NULL; in get_next_session()
1701 &cookie->errorp, fail_if_new_pwd_reqd, in get_referral_session()
1713 &cookie->errorp); in get_referral_session()
1714 cookie->errorp = NULL; in get_referral_session()
2031 ns_ldap_error_t **errorp = NULL; in multi_result() local
2053 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in multi_result()
2056 cookie->errorp = *errorp; in multi_result()
2123 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in multi_result()
2126 cookie->errorp = *errorp; in multi_result()
2263 ns_ldap_error_t **errorp; in search_state_machine() local
2266 errorp = &error; in search_state_machine()
2341 (void) __ns_ldap_freeError(&cookie->errorp); in search_state_machine()
2381 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in search_state_machine()
2384 cookie->errorp = *errorp; in search_state_machine()
2529 &cookie->errorp); in search_state_machine()
2636 ns_ldap_error_t *errorp = NULL; in search_state_machine() local
2643 rc, &errorp); in search_state_machine()
2644 if (errorp != NULL) { in search_state_machine()
2646 &cookie->errorp); in search_state_machine()
2647 cookie->errorp = errorp; in search_state_machine()
2772 ns_ldap_error_t *errorp = NULL; in search_state_machine() local
2779 rc, &errorp); in search_state_machine()
2780 if (errorp != NULL) { in search_state_machine()
2782 &cookie->errorp); in search_state_machine()
2783 cookie->errorp = errorp; in search_state_machine()
2918 MKERROR(LOG_INFO, *errorp, in search_state_machine()
2921 MKERROR(LOG_WARNING, *errorp, in search_state_machine()
2925 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, in search_state_machine()
2929 cookie->errorp = *errorp; in search_state_machine()
2938 rc_save, &cookie->errorp); in search_state_machine()
2949 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, in search_state_machine()
2952 cookie->errorp = *errorp; in search_state_machine()
2960 cookie->errorp = cookie->conn_user->ns_error; in search_state_machine()
2975 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, err, NULL); in search_state_machine()
2977 cookie->errorp = *errorp; in search_state_machine()
3027 MKERROR(LOG_INFO, cookie->errorp, NS_LDAP_INTERNAL, err, in check_shadow()
3061 ns_ldap_error_t **errorp, in ldap_list() argument
3075 *errorp = NULL; in ldap_list()
3096 &cookie->followRef, errorp); in ldap_list()
3108 *errorp = error; in ldap_list()
3135 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in ldap_list()
3141 *errorp = cookie->errorp; in ldap_list()
3142 cookie->errorp = NULL; in ldap_list()
3154 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in ldap_list()
3197 *errorp = cookie->errorp; in ldap_list()
3198 cookie->errorp = NULL; in ldap_list()
3229 cookie->caller_errorp = errorp; in ldap_list()
3248 *errorp = conn_user->ns_error; in ldap_list()
3251 *errorp = cookie->errorp; in ldap_list()
3256 cookie->errorp = NULL; in ldap_list()
3284 ns_ldap_error_t **errorp, in __ns_ldap_list() argument
3297 attribute, auth, mod_flags, rResult, errorp, in __ns_ldap_list()
3318 ns_ldap_error_t **errorp, in __ns_ldap_list_sort() argument
3328 &try_cnt, &rc, errorp) == 0) in __ns_ldap_list_sort()
3331 attribute, auth, flags, rResult, errorp, &trc, callback, in __ns_ldap_list_sort()
3365 ns_ldap_error_t **errorp, in __ns_ldap_list_batch_add() argument
3388 auth, mod_flags, rResult, errorp, rcp, callback, userdata, cu); in __ns_ldap_list_batch_add()
3451 ns_ldap_error_t *errorp = NULL; in __ns_ldap_list_batch_process() local
3478 rc = __s_api_setup_getnext(c->conn_user, &c->err_rc, &errorp); in __ns_ldap_list_batch_process()
3481 if (errorp != NULL) { in __ns_ldap_list_batch_process()
3482 (void) __ns_ldap_freeError(&c->errorp); in __ns_ldap_list_batch_process()
3483 c->errorp = errorp; in __ns_ldap_list_batch_process()
3488 if (errorp != NULL) { in __ns_ldap_list_batch_process()
3489 (void) __ns_ldap_freeError(&c->errorp); in __ns_ldap_list_batch_process()
3490 c->errorp = errorp; in __ns_ldap_list_batch_process()
3503 *c->caller_errorp = errorp; in __ns_ldap_list_batch_process()
3520 *c->caller_errorp = c->errorp; in __ns_ldap_list_batch_process()
3525 c->errorp = NULL; in __ns_ldap_list_batch_process()
3599 ns_ldap_error_t **errorp, ns_conn_user_t *conn_user) in find_domainname() argument
3610 *errorp = NULL; in find_domainname()
3621 &cookie->followRef, errorp); in find_domainname()
3667 *errorp = conn_user->ns_error; in find_domainname()
3670 *errorp = cookie->errorp; in find_domainname()
3684 cookie->errorp = NULL; in find_domainname()
3698 const ns_cred_t *cred, ns_ldap_error_t **errorp) in __s_api_find_domainname() argument
3706 &try_cnt, &rc, errorp) == 0) in __s_api_find_domainname()
3708 rc = find_domainname(dn, domainname, cred, errorp, cu); in __s_api_find_domainname()
3726 ns_ldap_error_t ** errorp, in firstEntry() argument
3739 *errorp = NULL; in firstEntry()
3753 *errorp = error; in firstEntry()
3784 *errorp = error; in firstEntry()
3801 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in firstEntry()
3823 &cookie->followRef, errorp); in firstEntry()
3860 *errorp = cookie->errorp; in firstEntry()
3861 cookie->errorp = NULL; in firstEntry()
3891 *errorp = conn_user->ns_error; in firstEntry()
3894 *errorp = cookie->errorp; in firstEntry()
3895 cookie->errorp = NULL; in firstEntry()
3902 *errorp = cookie->errorp; in firstEntry()
3903 cookie->errorp = NULL; in firstEntry()
3929 ns_ldap_error_t ** errorp, in __ns_ldap_firstEntry() argument
3938 &try_cnt, &rc, errorp) == 0) in __ns_ldap_firstEntry()
3941 attribute, auth, flags, vcookie, result, errorp, userdata, in __ns_ldap_firstEntry()
3950 ns_ldap_error_t ** errorp) in __ns_ldap_nextEntry() argument
3962 &cookie->err_rc, errorp); in __ns_ldap_nextEntry()
3982 *errorp = cookie->errorp; in __ns_ldap_nextEntry()
3983 cookie->errorp = NULL; in __ns_ldap_nextEntry()
3994 ns_ldap_error_t ** errorp) in __ns_ldap_endEntry() argument
4011 *errorp = cookie->errorp; in __ns_ldap_endEntry()
4013 cookie->errorp = NULL; in __ns_ldap_endEntry()
4062 ns_ldap_error_t **errorp, in __ns_ldap_auth() argument
4079 *errorp = NULL; in __ns_ldap_auth()
4087 auth, &connectionId, &conp, errorp, in __ns_ldap_auth()
4094 if (rc == NS_LDAP_OP_FAILED && *errorp) in __ns_ldap_auth()
4095 (void) __ns_ldap_freeError(errorp); in __ns_ldap_auth()
4136 ns_ldap_error_t **errorp) in __ns_ldap_uid2dn() argument
4146 *errorp = NULL; in __ns_ldap_uid2dn()
4202 &result, errorp, NULL, in __ns_ldap_uid2dn()
4221 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, strdup(errstr), in __ns_ldap_uid2dn()
4240 ns_ldap_error_t **errorp) in __ns_ldap_host2dn() argument
4254 *errorp = NULL; in __ns_ldap_host2dn()
4280 errorp, NULL, in __ns_ldap_host2dn()
4300 MKERROR(LOG_WARNING, *errorp, NS_LDAP_INTERNAL, strdup(errstr), in __ns_ldap_host2dn()
4317 ns_ldap_error_t **errorp) in __ns_ldap_dn2domain() argument
4323 *errorp = NULL; in __ns_ldap_dn2domain()
4375 if (*errorp) in __ns_ldap_dn2domain()
4376 (void) __ns_ldap_freeError(errorp); in __ns_ldap_dn2domain()
4388 cred, errorp); in __ns_ldap_dn2domain()
4424 ns_ldap_error_t **errorp) in __ns_ldap_getServiceAuthMethods() argument
4436 if (errorp == NULL) in __ns_ldap_getServiceAuthMethods()
4438 *errorp = NULL; in __ns_ldap_getServiceAuthMethods()
4447 *errorp = error; in __ns_ldap_getServiceAuthMethods()
4486 MKERROR(LOG_WARNING, *errorp, NS_CONFIG_SYNTAX, in __ns_ldap_getServiceAuthMethods()
5705 rc = __s_api_getDNs(&dns, service, &cookie->errorp); in getAcctMgmt()
5711 (void) __ns_ldap_freeError(&(cookie->errorp)); in getAcctMgmt()
5712 cookie->errorp = NULL; in getAcctMgmt()
5731 rc = __s_api_getSearchScope(&scope, &cookie->errorp); in getAcctMgmt()
5761 (void) __ns_ldap_freeError(&(cookie->errorp)); in getAcctMgmt()