Error Number 0x0a Ldap_referral
Wed, 27 Apr 2005 14:42:30 +0200 (CEST) Hi all! I'm trying to set up syncRepl functionality with refreshAndPersist option but I can't get it to work: replication only works in one direction. Modification of consumer's data using phpLDAPadmin results in an error message (LDAP_REFERRAL). Currently I'm using OpenLDAP version 2.3.2 beta with backend bdb db4-4.2.52-7.1 on Red Hat Enterprise Linux AS 4 (provider) and SuSE Linux 9.2 (consumer). The following is my configuration and details about the error: ---------------------------------------------------------------------- slapd.conf (Provider): ---------------------------------------------------------------------- include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema pidfile /usr/local/var/run/slapd.pid argsfile /usr/local/var/run/slapd.args access to attrs=userPassword by self write by * auth access to dn="cn=root,dc=example,dc=de" by * none access to dn.subtree="ou=test1,dc=example,dc=de" by dn="cn=test1,ou=test1,dc=example,dc=de" write by * none access to * by * read database bdb suffix "dc=example,dc=de" rootdn "cn=root,dc=example,dc=de" rootpw {SSHA}FlnixNQL+hxEt1GCFpomR9Wx1x9ChWPg directory /usr/local/var/openldap-data index objectclass eq index entryCSN,entryUUID eq overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100 ---------------------------------------------------------------------- slapd.conf (Consumer): ---------------------------------------------------------------------- include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema pidfile /usr/local/var/run/slapd.pid argsfile /usr/local/var/run/slapd.args access to attrs=userPassword by self write by * auth access to dn="cn=root,dc=example,dc=de" by * none access to dn.subtree="ou=test1,dc=
requested client operation completed successfully. 0x01 1 LDAP_OPERATIONS_ERROR: Indicates an internal error. The server is unable to respond with a more specific error and is also unable to properly respond to a request. It does not indicate that the client has sent an erroneous message. 0x02 2 LDAP_PROTOCOL_ERROR: Indicates that the server has received an invalid or malformed request from the client. 0x03 3 LDAP_TIMELIMIT_EXCEEDED: Indicates that the operation's time limit specified by either the client or the server has been exceeded. On search operations, incomplete results are returned. 0x04 4 LDAP_SIZELIMIT_EXCEEDED: Indicates that in a search operation, http://www.openldap.org/lists/openldap-software/200504/msg00450.html the size limit specified by the client or the server has been exceeded. Incomplete results are returned. 0x05 5 LDAP_COMPARE_FALSE: Does not indicate an error condition. Indicates that the results of a compare operation are false. 0x06 6 LDAP_COMPARE_TRUE: Does not indicate an error condition. Indicates that the results of a compare operation are true. 0x07 7 LDAP_AUTH_METHOD_NOT_SUPPORTED: Indicates that during a bind operation the http://leto.net/docs/ldap_error_code.php client requested an authentication method not supported by the LDAP server. 0x08 8 LDAP_STRONG_AUTH_REQUIRED: Indicates one of the following:In bind requests, the LDAP server accepts only strong authentication.In a client request, the client requested an operation such as delete that requires strong authentication.In an unsolicited notice of disconnection, the LDAP server discovers the security protecting the communication between the client and server has unexpectedly failed or been compromised. 0x09 9 Reserved. 0x0A 10 LDAP_REFERRAL: Does not indicate an error condition. In LDAPv3, indicates that the server does not hold the target entry of the request, but that the servers in the referral field may. 0x0B 11 LDAP_ADMINLIMIT_EXCEEDED: Indicates that an LDAP server limit set by an administrative authority has been exceeded. 0x0C 12 LDAP_UNAVAILABLE_CRITICAL_EXTENSION: Indicates that the LDAP server was unable to satisfy a request because one or more critical extensions were not available. Either the server does not support the control or the control is not appropriate for the operation type. 0x0D 13 LDAP_CONFIDENTIALITY_REQUIRED: Indicates that the session is not protected by a protocol such as Transport Layer Security (TLS), which provides session confidentiality. 0x0E 14 LDAP_SASL_BIND_IN_PROGRESS: Does not indicate an error condition
codes; result codes; resultCode; ldap resultcode; ldap result code; ldap exception; ldap operations; 0x00; 0x01; 0x02; 0x03; 0x04; 0x05; https://ldapwiki.willeke.com/wiki/LDAP%20Result%20Codes 0x06; 0x07; 0x08; 0x09; 0x0A; 0x0B; 0x0C; 0x0D; 0x0E; 0x0F; 0x10; 0x11; 0x12; 0x13; 0x14; 0x15; 0x20; 0x21; 0x22; error number 0x23; 0x24; 0x30; 0x31; 0x32; 0x33; 0x34; 0x35; 0x36 ; 0x40; 0x41; 0x42; 0x43; 0x44; 0x45; 0x46; 0x47 ; 0x50; 0x51; 0x52; 0x53; 0x54; 0x55; 0x56; 0x57; 0x58; 0x59; 0x5a; 0x5b; 0x5c; 0x5d; 0x5e; 0x5f; 0x60; 0x61; LDAP_SUCCESS; LDAP_OPERATIONS_ERROR; error number 0x0a LDAP_PROTOCOL_ERROR; LDAP_TIMELIMIT_EXCEEDED; LDAP_SIZELIMIT_EXCEEDED; LDAP_COMPARE_FALSE; LDAP_COMPARE_TRUE; LDAP_AUTH_METHOD_NOT_SUPPORTED; LDAP_STRONG_AUTH_REQUIRED; LDAP_REFERRAL; LDAP_ADMINLIMIT_EXCEEDED; LDAP_UNAVAILABLE_CRITICAL_EXTENSION; LDAP_CONFIDENTIALITY_REQUIRED; LDAP_SASL_BIND_IN_PROGRESS; LDAP_NO_SUCH_ATTRIBUTE; LDAP_UNDEFINED_TYPE; LDAP_INAPPROPRIATE_MATCHING; LDAP_CONSTRAINT_VIOLATION; LDAP_TYPE_OR_VALUE_EXISTS; LDAP_INVALID_SYNTAX; LDAP_NO_SUCH_OBJECT; LDAP_ALIAS_PROBLEM; LDAP_INVALID_DN_SYNTAX; LDAP_IS_LEAF; LDAP_ALIAS_DEREF_PROBLEM; LDAP_INAPPROPRIATE_AUTH; LDAP_INVALID_CREDENTIALS; LDAP_INSUFFICIENT_ACCESS; LDAP_BUSY; LDAP_UNAVAILABLE; LDAP_UNWILLING_TO_PERFORM; LDAP_LOOP_DETECT; LDAP_NAMING_VIOLATION; LDAP_OBJECT_CLASS_VIOLATION; LDAP_NOT_ALLOWED_ON_NONLEAF; LDAP_NOT_ALLOWED_ON_RDN; LDAP_ALREADY_EXISTS; LDAP_NO_OBJECT_CLASS_MODS; LDAP_AFFECTS_MULTIPLE_DSAS; LDAP_OTHER; LDAP_SERVER_DOWN; LDAP_LOCAL_ERROR; LDAP_ENCODING_ERROR; LDAP_DECODING_ERROR; LDAP_TIMEOUT; LDAP_AUTH_UNKNOWN; LDAP_FILTER_ERROR; LDAP_USER_CANCELLED; LDAP_PARAM_ERROR; LDAP_NO_MEMORY; LDAP_CONNECT_ERROR; LDAP_NOT_SUPPORTED; LDAP_CONTROL_NOT_FOUND; LDAP_NO_RESULTS_RETURNED; LDAP_MORE_RESULTS_TO_RETURN; LDAP_CLIENT_LOOP; LDAP_REFERRAL_LIMIT_EXCEEDED Technote (FAQ) Question What are the LDAP return codes and message descriptions? Answer Hex Decimal Description 0x00 0 LDAP_SUCCESS: Indicates the requested client operation completed successfully. 0x01 1 LDAP_OPERATIONS_ERROR: Indicates an internal error. The server is unable to respond with a more specific error and is also unable to properly respond to a request. It does not indicate that the clien