You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2023/04/06 05:02:00 UTC
[jira] [Resolved] (DIRAPI-387) More info on PasswordException
[ https://issues.apache.org/jira/browse/DIRAPI-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lécharny resolved DIRAPI-387.
--------------------------------------
Fix Version/s: 2.1.3
Resolution: Fixed
Fixed with commit 954301913c5e634ee9287bd147995d2155c57d5d
> More info on PasswordException
> ------------------------------
>
> Key: DIRAPI-387
> URL: https://issues.apache.org/jira/browse/DIRAPI-387
> Project: Directory Client API
> Issue Type: Improvement
> Reporter: Natan Abolafya
> Priority: Minor
> Fix For: 2.1.3
>
> Attachments: debug.png
>
>
> It would be nice to get more info on PasswordException.
> Here is a response coming from Active Directory.
>
> {code:java}
> Message ID : 7
> BindResponse
> Ldap Result
> Result code : (INVALID_CREDENTIALS) invalidCredentials
> Matched Dn : ''
> Diagnostic message : '80090308: LdapErr: DSID-0C090446, comment: AcceptSecurityContext error, data 533, v4563 '
> ){code}
>
>
> The information in Diagnostic message can be quite useful sometimes. In this case, the "data 533" means the account is disabled which would be quite useful information for diagnostics. I am attaching how the exception looks like on debugger also.
>
> Normal LdapExceptions have this information but not the PasswordException. It would be really nice to add it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org