LDAP Error Codes

LDAP Error Codes are listed in the table below:

Error Code (Base 10) Description
0 successful
1 operations error
2 protocol error
3 timelimit exceed
4 sizelimit exceeded
5 compare false
6 compare true
7 strong auth not supported
8 strong auth required
9 partial results
10 referral
11 admin limit exceeded
16 no such attribute
17 undefined type
18 inappropriate matching
19 constraint violation
20 type or value exists
21 invalid syntax
32 no such object
33 alias problem
34 invalid DN syntax
35 is leaf
36 alias deref problem
48 inappropriate auth
49 invalid credentials
50 insufficient access
51 busy
52 unavailable
53 unwilling to perform
54 loop detect
64 naming violation
65 object class violation
66 not allowed on nonleaf
67 not allowed on RDN
68 already exists
69 no object class mods
70 results too large
80 other
81 server down
82 local error
83 encoding error
84 decoding error
85 timeout
86 auth unknown
87 filter error
88 user cancelled
89 param error
90 no memory
91 connect error

Contributors

UserEditsCommentsLabels
ff1959 204
Akshay.Kulkarni 010
enriqueflores 010

Labels

ldap ldap Delete
error error Delete
codes codes Delete
rfc2251 rfc2251 Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jun 26

    Akshay.Kulkarni says:

    Thanks for the List of error codes and their meaning. I was looking for a specif...

    Thanks for the List of error codes and their meaning. I was looking for a specific error code which I could not find listed here. It appears in logs as below:

    [25/Jun/2009:15:52:36 -0400] conn=1536483 fd=38 slot=38 connection from xxx.xxx.xxx.xxx to xxx.xxx.xxx.xxx
    [25/Jun/2009:15:52:36 -0400] conn=1536483 op=0 BIND dn="uid=foo,ou=bar,o=abc.com" method=128 version=3
    [25/Jun/2009:15:52:36 -0400] conn=1536483 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=foo,ou=bar,o=abc.com"
    [25/Jun/2009:15:52:36 -0400] conn=1536483 op=1 SRCH base="o=abc.com" scope=2 filter="(uid=john)", failed to decode LDAP controls
    [25/Jun/2009:15:52:36 -0400] conn=1536483 op=1 RESULT err=12 tag=101 nentries=0 etime=0

    We were able to rectify it when the developers changed a parameter in the LDAP API they were using but I am still not able to understand the full meaning as an LDAP admin.

    -AK

    1. Oct 07

      enriqueflores says:

      found the following: [LDAP: error code 12 \- Unavailable Critical Extensio...

      found the following:

      [LDAP: error code 12 \- Unavailable Critical Extension]

      http://forums.sun.com/thread.jspa?threadID=5229623

      hope that helps.
      -EHF

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact