[
https://issues.apache.org/jira/browse/DIRAPI-361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17154565#comment-17154565
]
Marco Cuccato commented on DIRAPI-361:
--------------------------------------
The bind request is invoked on connection object calling bind(String, String)
method.
It always works but, if and only if the user has its password expiring, it
throws the above exception.
I suppose the server send something like a warning (like "you've x days left to
change password") the API doesn't handle properly...
If needed, I can provide you more information (is there any "debug" mode
available?)
> 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: [email protected]
For additional commands, e-mail: [email protected]