Lines Matching defs:errorp
719 ns_ldap_error_t ** errorp)
766 *errorp = conn_user->ns_error;
787 &followRef, errorp);
797 errorp);
812 flags, cred, &connectionId, &conp, errorp,
818 * in *errorp,
825 (void) __ns_ldap_freeError(errorp);
826 *errorp = NULL;
1009 if (*errorp)
1010 (void) __ns_ldap_freeError(errorp);
1033 0, cred, &connectionId, &conp, errorp,
1039 * in errorp,
1046 (void) __ns_ldap_freeError(errorp);
1047 *errorp = NULL;
1057 * Get LDAP error code from errorp.
1059 if (*errorp != NULL) {
1063 ldap_error = (*errorp)->status;
1079 * free errorp before going to
1083 errorp);
1084 *errorp = NULL;
1088 * free errorp before going to W_ERROR
1090 (void) __ns_ldap_freeError(errorp);
1091 *errorp = NULL;
1145 MKERROR_PWD_MGMT(*errorp, Errno, err,
1148 MKERROR(LOG_INFO, *errorp, Errno, err, NULL);
1153 __s_api_conn_mt_close(conn_user, Errno, errorp);
1165 MKERROR(LOG_WARNING, *errorp, return_rc, err, NULL);
1190 ns_ldap_error_t ** errorp, int opcode, ldap_service_t svc)
1198 *errorp = __s_api_make_error(NS_CONFIG_NOTALLOW,
1219 return (send_to_cachemgr(dn, attr, errorp, opcode, svc));
1230 ns_ldap_error_t ** errorp)
1238 *errorp = NULL;
1246 rc = do_cachemgr_operation(dn, (ns_ldap_attr_t **)attr, errorp,
1262 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1273 (char *)dn, mods, cred, flags, errorp);
1287 ns_ldap_error_t ** errorp)
1295 *errorp = NULL;
1303 rc = do_cachemgr_operation(dn, (ns_ldap_attr_t **)attr, errorp,
1319 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1330 (char *)dn, mods, cred, flags, errorp);
1338 get_admin_passwd(ns_cred_t *cred, ns_ldap_error_t **errorp)
1360 ¶mVal, errorp)) != NS_LDAP_SUCCESS)
1364 *errorp = __s_api_make_error(NS_CONFIG_NODEFAULT,
1366 if (*errorp == NULL)
1377 *errorp = __s_api_make_error(NS_CONFIG_SYNTAX,
1379 if (*errorp == NULL)
1392 ns_ldap_error_t *errorp = NULL;
1395 (void ***)&enable_shadow, &errorp) != NS_LDAP_SUCCESS) {
1396 if (errorp)
1397 (void) __ns_ldap_freeError(&errorp);
1430 ns_ldap_error_t ** errorp)
1438 *errorp = NULL;
1446 rc = do_cachemgr_operation(dn, (ns_ldap_attr_t **)attr, errorp,
1462 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1472 (char *)dn, mods, cred, flags, errorp);
1486 ns_ldap_error_t ** errorp)
1500 *errorp = NULL;
1507 errorp, ADMIN_ADDENTRY, map_service_to_type(service));
1522 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1547 new_dn ? new_dn : (char *)dn, mods, cred, flags, errorp);
1562 ns_ldap_error_t ** errorp)
1572 *errorp = NULL;
1575 rc = do_cachemgr_operation(dn, NULL, errorp,
1591 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) !=
1597 (char *)dn, NULL, cred, flags, errorp);
1721 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1738 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1863 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1879 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
1975 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
1992 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2109 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2126 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2213 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2230 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2347 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2364 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2437 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2454 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2525 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2543 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2629 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2646 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2721 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2735 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2784 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2800 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2882 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2899 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
2963 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
2978 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3042 ns_ldap_error_t **errorp)
3056 errorp == NULL || service == NULL)
3084 * return NS_LDAP_INTERNAL and do not modify the incoming errorp
3111 /* clean errorp first */
3112 (void) __ns_ldap_freeError(errorp);
3114 errorp);
3121 (void) __ns_ldap_freeError(errorp);
3122 *errorp = new_errorp;
3136 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3149 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3199 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3215 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3279 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3296 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3300 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, ¶mVal, errorp);
3306 if (rc && errorp)
3307 (void) __ns_ldap_freeError(errorp);
3382 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3396 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3474 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3490 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3585 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3599 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3669 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3682 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3751 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3764 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3818 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3833 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3888 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp)
3903 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL)
3954 ns_ldap_error_t **errorp);
3997 ns_ldap_error_t **errorp)
4030 rc = (*__s_cvtlist[s].cvt_rtn)(data, &rdn, &entry, errorp);
4053 &sdlist, errorp);
4060 rc = __s_api_getDNs(&dns, service, errorp);
4083 ¶mVal, errorp);
4139 modattrlist, cred, flags, errorp);
4142 cred, flags, errorp);
4146 cred, flags, errorp);
4147 if (rc == NS_LDAP_INTERNAL && *errorp &&
4148 (*errorp)->status == LDAP_NO_SUCH_OBJECT) {
4149 (void) __ns_ldap_freeError(errorp);
4151 entry, cred, flags, errorp);
4152 if (rc == NS_LDAP_INTERNAL && *errorp &&
4153 (*errorp)->status ==
4155 (*errorp)->status = LDAP_NO_SUCH_OBJECT;
4161 cred, flags, errorp);
4162 if (rc == NS_LDAP_INTERNAL && *errorp &&
4163 (*errorp)->status == LDAP_ALREADY_EXISTS &&
4167 modattrlist, cred, flags, errorp);
4350 ns_ldap_error_t **errorp,
4367 *errorp = NULL;
4389 MKERROR(LOG_WARNING, *errorp, NS_CONFIG_CACHEMGR,
4404 *errorp = __s_api_make_error(admin_result->status,
4407 *errorp = __s_api_make_error(admin_result->status,