Lines Matching defs:error

70 		ns_ldap_error_t **error, int callnumber);
105 getFirstFromConfig(ns_server_info_t *ret, ns_ldap_error_t **error)
112 ret_code = __s_api_getServers(&servers, error);
124 MKERROR(LOG_ERR, *error, NS_CONFIG_NODEFAULT,
145 __door_getadmincred(char **buffer, int *buflen, ns_ldap_error_t **error)
147 return (__door_getconf(buffer, buflen, error, GETADMINCRED));
156 requestAdminCred(UnixCred_t **cred, ns_ldap_error_t **error)
162 *error = NULL;
163 ret = __door_getadmincred(&buffer, &buflen, error);
166 if (*error != NULL && (*error)->message != NULL)
167 syslog(LOG_WARNING, "libsldap: %s", (*error)->message);
172 ret = SetDoorInfoToUnixCred(buffer, error, cred);
185 ns_server_info_t *ret, ns_ldap_error_t **error, const char *addrType)
203 if (ret == NULL || error == NULL) {
207 *error = NULL;
223 error)) != NS_LDAP_SUCCESS) {
235 if (*error != NULL) {
236 (void) __ns_ldap_freeError(error);
239 ret_code = getFirstFromConfig(ret, error);
256 *error,
301 ret_code = getFirstFromConfig(ret, error);
318 *error,
341 MKERROR(LOG_WARNING, *error, NS_CONFIG_CACHEMGR,
354 MKERROR(LOG_WARNING, *error, NS_CONFIG_CACHEMGR,
368 MKERROR(LOG_WARNING, *error, NS_CONFIG_CACHEMGR,
471 *error = NULL;
710 ns_ldap_error_t *error = NULL;
719 ns_rc = __ns_ldap_getParam(NS_LDAP_SEARCH_TIME_P, &paramVal, &error);
725 } else if (error != NULL) {
726 (void) __ns_ldap_freeError(&error);
727 error = NULL;
808 * Failure: returns NULL, error code and message should be in errorp
970 /* Log the error */
1029 /* Reset memory allocation error */
1108 * free the error structure
1133 * free the error structure
1167 * free the error structure
1263 * errmsg : error message from the server
1276 * NS_LDAP_EXTERNAL: error, connection should not open
1308 * try to map ldap rc and error message to
1399 * to fail, set up the error info.
2114 * NS_LDAP_INTERNAL If there was a ldap error.
2138 * errorp Set if there are any INTERNAL, or CONFIG error.
2185 * (pointed by *ldp). Otherwise, the function returns an NS error code and
2267 * errstr - Buffer to which error string is written if error occurs.
2273 * Returns 1 for success, 0 in case of error.
2312 * The only possible error here could be TRY_AGAIN if buffer was
2366 * an NS error code and provides an additional info pointed by *errorp.
2434 * If an error occurs, the function returns an NS error code
2481 * This finction performs a non-SASL bind operation. If an error accures,
2482 * the function returns an NS error code and provides an additional info
2554 * get ldaprc, controls, and error msg
2581 * If not SSL connection or error occurred, done.
2601 * This finction performs a SASL bind operation. If an error accures,
2602 * the function returns an NS error code and provides an additional info
2716 * get ldaprc, controls, and error msg
2817 * If an error accures, the function returns an NS error code