[ 
https://issues.apache.org/jira/browse/DIRAPI-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354617#comment-17354617
 ] 

Gunics Balázs commented on DIRAPI-361:
--------------------------------------

We're facing the same issue as well. I wonder where we parse the Result Code?
{code:java}
Caused by: 
org.apache.directory.api.ldap.model.exception.LdapProtocolErrorException: 
PROTOCOL_ERROR: The server will disconnect!
        at 
org.apache.directory.api.ldap.model.message.ResultCodeEnum.processResponse(ResultCodeEnum.java:2137)
        at 
org.apache.directory.ldap.client.api.AbstractLdapConnection.bind(AbstractLdapConnection.java:136)
{code}
I tried to compile my own version of LDAP, but not sure where should I add 
extra debug options.

What I've find is that, there is an RFC for password expiration:

[https://datatracker.ietf.org/doc/html/draft-behera-ldap-password-policy-10#section-5.2.8]
 

Maybe we'd need to send extra parameters to get detailed information back?

 

[~Fuzzo] were you able to find a solution / workaround?

> LDAP Protocol error if password is expiring
> -------------------------------------------
>
>                 Key: DIRAPI-361
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-361
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>         Environment: Java 8
>            Reporter: Marco Cuccato
>            Priority: Critical
>
> An LdapOperationException is raised at bind() if the user has the password 
> expiring (but not expired yet).
> Exception:
> MessageType : BIND_RESPONSE
> Message ID : -1
>  BindResponse
>  Ldap Result
>  Result code : (PROTOCOL_ERROR) protocolError
>  Matched Dn : 'null'
>  Diagnostic message : 'PROTOCOL_ERROR: The server will disconnect!'
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to