Directory Server Log Error Codes.(LDAP error codes)

博客介绍了LDAP错误代码,包括十六进制和十进制表示,如LDAP CONNECTION SUCCESSFUL(0x00,0)等。还给出部分常见错误代码的可能原因及解决办法,如搜索基础DN指定错误、属性未定义、密码错误等,并针对不同问题提供了相应的解决建议。

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).

乐播投屏是一款简单好用、功能强大的专业投屏软件,支持手机投屏电视、手机投电脑、电脑投电视等多种投屏方式。 多端兼容与跨网投屏:支持手机、平板、电脑等多种设备之间的自由组合投屏,且无需连接 WiFi,通过跨屏技术打破网络限制,扫一扫即可投屏。 广泛的应用支持:支持 10000+APP 投屏,包括综合视频、网盘与浏览器、美韩剧、斗鱼、虎牙等直播平台,还能将央视、湖南卫视等各大卫视的直播内容一键投屏。 高清流畅投屏体验:腾讯独家智能音画调校技术,支持 4K 高清画质、240Hz 超高帧率,低延迟不卡顿,能为用户提供更高清、流畅的视觉享受。 会议办公功能强大:拥有全球唯一的 “超级投屏空间”,扫码即投,无需安装。支持多人共享投屏、远程协作批注,PPT、Excel、视频等文件都能流畅展示,还具备企业级安全加密,保障会议资料不泄露。 多人互动功能:支持多人投屏,邀请好友加入投屏互动,远程也可加入。同时具备一屏多显、语音互动功能,支持多人连麦,实时语音交流。 文件支持全面:支持 PPT、PDF、Word、Excel 等办公文件,以及视频、图片等多种类型文件的投屏,还支持网盘直投,无需下载和转格式。 特色功能丰富:投屏时可同步录制投屏画面,部分版本还支持通过触控屏或电视端外接鼠标反控电脑,以及在投屏过程中用画笔实时标注等功能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值