Lines Matching refs:errorp

665 	ns_ldap_error_t ** errorp)
707 *errorp = conn_user->ns_error;
728 &followRef, errorp);
738 errorp);
753 flags, cred, &connectionId, &conp, errorp,
759 * in *errorp,
766 (void) __ns_ldap_freeError(errorp);
767 *errorp = NULL;
941 if (*errorp)
942 (void) __ns_ldap_freeError(errorp);
958 0, cred, &connectionId, &conp, errorp,
964 * in errorp,
971 (void) __ns_ldap_freeError(errorp);
972 *errorp = NULL;
982 * Get LDAP error code from errorp.
984 if (*errorp != NULL) {
988 ldap_error = (*errorp)->status;
1002 * free errorp before going to
1006 errorp);
1007 *errorp = NULL;
1011 * free errorp before going to W_ERROR
1013 (void) __ns_ldap_freeError(errorp);
1014 *errorp = NULL;
1068 MKERROR_PWD_MGMT(*errorp, Errno, err,
1071 MKERROR(LOG_INFO, *errorp, Errno, err, NULL);
1076 __s_api_conn_mt_close(conn_user, Errno, errorp);
1088 MKERROR(LOG_WARNING, *errorp, return_rc, err, NULL);
1120 ns_ldap_error_t ** errorp)
1128 *errorp = NULL;
1141 (char *)dn, mods, cred, flags, errorp);
1156 ns_ldap_error_t ** errorp)
1164 *errorp = NULL;
1177 (char *)dn, mods, cred, flags, errorp);
1185 get_admin_passwd(ns_cred_t *cred, ns_ldap_error_t **errorp)
1207 &paramVal, errorp)) != NS_LDAP_SUCCESS)
1211 *errorp = __s_api_make_error(NS_CONFIG_NODEFAULT,
1213 if (*errorp == NULL)
1224 *errorp = __s_api_make_error(NS_CONFIG_SYNTAX,
1226 if (*errorp == NULL)
1239 ns_ldap_error_t *errorp = NULL;
1242 (void ***)&enable_shadow, &errorp) != NS_LDAP_SUCCESS) {
1243 if (errorp)
1244 (void) __ns_ldap_freeError(&errorp);
1277 ns_ldap_error_t ** errorp)
1287 *errorp = NULL;
1300 *errorp = __s_api_make_error(NS_CONFIG_NOTALLOW,
1320 rc = send_to_cachemgr(dn, (ns_ldap_attr_t **)attr, errorp);
1335 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1345 (char *)dn, mods, cred, flags, errorp);
1359 ns_ldap_error_t ** errorp)
1373 *errorp = NULL;
1392 new_dn ? new_dn : (char *)dn, mods, cred, flags, errorp);
1408 ns_ldap_error_t ** errorp)
1418 *errorp = NULL;
1421 (char *)dn, NULL, cred, flags, errorp);
1526 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1543 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1668 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1684 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1780 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1797 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1904 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1921 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2008 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2025 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2142 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2159 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2232 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2249 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2320 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2338 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2424 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2441 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2516 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2530 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2579 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2595 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2677 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2694 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2758 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2773 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2837 ns_ldap_error_t **errorp)
2851 errorp == NULL || service == NULL)
2879 * return NS_LDAP_INTERNAL and do not modify the incoming errorp
2906 /* clean errorp first */
2907 (void) __ns_ldap_freeError(errorp);
2909 errorp);
2916 (void) __ns_ldap_freeError(errorp);
2917 *errorp = new_errorp;
2931 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2944 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2994 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3010 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3074 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3091 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3095 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, &paramVal, errorp);
3101 if (rc && errorp)
3102 (void) __ns_ldap_freeError(errorp);
3177 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3191 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3269 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3285 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3380 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3394 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3464 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3477 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3546 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3559 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3613 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3628 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3683 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3698 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3749 ns_ldap_error_t **errorp);
3792 ns_ldap_error_t **errorp)
3825 rc = (*__s_cvtlist[s].cvt_rtn)(data, &rdn, &entry, errorp);
3848 &sdlist, errorp);
3855 rc = __s_api_getDNs(&dns, service, errorp);
3878 &paramVal, errorp);
3933 cred, flags, errorp);
3936 cred, flags, errorp);
3937 if (rc == NS_LDAP_INTERNAL && *errorp &&
3938 (*errorp)->status == LDAP_NO_SUCH_OBJECT) {
3939 (void) __ns_ldap_freeError(errorp);
3941 entry, cred, flags, errorp);
3942 if (rc == NS_LDAP_INTERNAL && *errorp &&
3943 (*errorp)->status ==
3945 (*errorp)->status = LDAP_NO_SUCH_OBJECT;
3951 cred, flags, errorp);
3952 if (rc == NS_LDAP_INTERNAL && *errorp &&
3953 (*errorp)->status == LDAP_ALREADY_EXISTS &&
3957 modattrlist, cred, flags, errorp);
4108 ns_ldap_error_t **errorp)
4123 *errorp = NULL;
4143 MKERROR(LOG_WARNING, *errorp, NS_CONFIG_CACHEMGR,
4156 *errorp = __s_api_make_error(admin_result->status,
4159 *errorp = __s_api_make_error(admin_result->status,