MyChat Client error #0165: LDAP error: #XXX (error name and description), LDAP errors codes

MyChat Client error #0165: LDAP error: #XXX (error name and description), LDAP errors codes

Error

Error #0165: LDAP error: #XXX (error name and description), LDAP errors codes

 

Error description

Usually, this error occurs when connecting to a domain via LDAP and importing users from Active Directory to MyChat Server.

 

Problem solution

The text and number of this error are returned by domain server. As a rule, this message allows you to understand what is going on.

 

For example, after connection attempt you see a message such as "LDAP error: #49 (Invalid credentials), 80090308: LdapErr: DSID-0C0903AA, comment: AcceptSecurityContext error, data 525, v1771".

 

It means, that the user's login and password are specified incorrectly.

 

Main LDAP code errors with descriptions

#2

LDAP_PROTOCOL_ERROR

 

the server received data that is formed incorrectly;

if you perform the command "bind", the error indicates that the server does not support the protocol version you requested;

when performing extended operations, the server  the server does not support the operation associated with the requestName;

if the request has multiple control, then the server cannot ignore the order of the controls as specified, or that the combination of the specified controls is invalid (or unspecified at all);

 

#3

LDAP_TIMELIMIT_EXCEEDED

the operation's timeout (server or client) s been exceeded. If you performed search operations, the server can return some part of results;

 

#49

LDAP_INVALID_CREDENTIALS

the connection login/password specified incorrectly;

the password expired;

the account is blocked;

the intruder detection system blocked the account.

#85

LDAP_TIMEOUT