Issue: 19970303-9 Product: Directory Server
Created: 02/18/1997 Version: 1.x, 3.x, 4.x
Last Updated: 06/13/2001 OS: All
Topic:
Short definitions of LDAP error Codes as defined in the error logs (which uses decimal error no.), or returned by the server.
Discussion:
Message: Hex: Dec:
--------------------------------------------------------------------------------
LDAP CONNECTION SUCCESSFUL 0x00 0
LDAP OPERATIONS ERROR 0x01 1
LDAP PROTOCOL ERROR 0x02 2
LDAP TIMELIMIT EXCEEDED 0x03 3
LDAP SIZELIMIT EXCEEDED 0x04 4
LDAP COMPARE FALSE 0x05 5
LDAP COMPARE TRUE 0x06 6
LDAP STRONG AUTH NOT SUPPORTED 0x07 7
LDAP STRONG AUTH REQUIRED 0x08 8
LDAP PARTIAL RESULTS 0x09 9
LDAP REFERRAL RECEIVED 0x0a 10
LDAP ADMINLIMIT EXCEEDED 0x0b 11
LDAP NO SUCH ATTRIBUTE 0x10 16
LDAP UNDEFINED TYPE 0x11 17
LDAP INAPPROPRIATE MATCHING 0x12 18
LDAP CONSTRAINT VIOLATION 0x13 19
LDAP TYPE OR VALUE EXISTS 0x14 20
LDAP INVALID SYNTAX 0x15 21
LDAP NO SUCH OBJECT 0x20 32
LDAP ALIAS PROBLEM 0x21 33
LDAP INVALID DN SYNTAX 0x22 34
LDAP IS LEAF 0x23 35
LDAP ALIAS DEREF PROBLEM 0x24 36
NAME ERROR(n) ((n & 0xf0) == 0x20) 37
LDAP INAPPROPRIATE AUTH 0x30 48
LDAP INVALID CREDENTIALS 0x31 49
LDAP INSUFFICIENT ACCESS 0x32 50
LDAP BUSY 0x33 51
LDAP UNAVAILABLE 0x34 52
LDAP UNWILLING TO PERFORM 0x35 53
LDAP LOOP DETECT 0x36 54
LDAP NAMING VIOLATION 0x40 64
LDAP OBJECT CLASS VIOLATION 0x41 65
LDAP NOT ALLOWED ON NONLEAF 0x42 66
LDAP NOT ALLOWED ON RDN 0x43 67
LDAP ALREADY EXISTS 0x44 68
LDAP NO OBJECT CLASS MODS 0x45 69
LDAP RESULTS TOO LARGE 0x46 70
LDAP OTHER 0x50 80
LDAP SERVER DOWN 0x51 81
LDAP LOCAL ERROR 0x52 82
LDAP ENCODING ERROR 0x53 83
LDAP DECODING ERROR 0x54 84
LDAP TIMEOUT 0x55 85
LDAP AUTH UNKNOWN 0x56 86
LDAP FILTER ERROR 0x57 87
LDAP USER CANCELLED 0x58 88
LDAP PARAM ERROR 0x59 89
LDAP NO MEMORY 0x5a 90
LDAP CONNECT ERROR 0x5b 91
Here are some common error codes and some possible solutions or things to check for:
Message Hex Dec Possible Cause Solution
Connection Succesful 0x00 0 · The operation was successful
· The BIND or connection was succesful N/A
Partial Results & Referral Received 0x09 9 · The Search BASE DN specified on the client is incorrectly specified.
· The Search BASE DN as specified does not exist or has not been set on the directory server.
· A referral was received from the server. · Make sure that the client doing the request has the proper BASE DN specified.
· Make sure that the proper suffix has been configured for your database. (example Base/suffix: o=Ace industry,c=US).
· The client received a referral (for another server) which could not be followed.
No such Attribute 0x10 16 · The attribute specified is not defined in the server抯 schema · Make sure that the correct attribute is specified (no typos).
·If the attribute is correct, make sure to add it to the server抯 slapd.at.conf file.
No such Object 0x20 32 · The entry or attribute requested does not exist on the directory server. · Make sure the Directory Server has the data you expected it to have. Import Database etc.
Invalid Credentials 0x31 49 · The password given is incorrect for the entry one is BINDing as. · Enter the correct password.
· Give the entry a new password, and reconnect with the correct password.
Insufficient Access 0x32 50 · You are denied to perform the operation requested (Add, Delete, Modify etc). · Give the user the proper privileges.
· Check the ACL rules to make sure they are correct.
Unwilling To Perform 0x35 53 · The database is in READ-ONLY mode.
· The database connect perform operation due to other problems · Make sure the database is NOT in read-only mode.
· Check to see if there are any errors on the Directory Servers.
Object Class Violation 0x41 65 · The objectclass being created is unknown to the directory server.
· An attribute in the new objectclass is unrecognized by the directory server. · update the slapd.oc.conf/slapd.at.conf to recognize the new objectclass/attributes (see manual).
· Make sure that you are running the latest Directory Server.
Already Exists 0x44 68 · The entry/value you are creating, already exists in the directory server. · No need to update the directory server, since it already has this value/entry.
Server Down 0x51 81 · The directory server is down.
· The client cannot reach the directory server.
· The directory server is not responding. · Start the directory server.
· Make sure that the client can connect to the directory server.
· The directory server is not working properly, and needs to be diagnosed. (On NETRA see technote 970923-1).