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 Lecharny (JIRA)" <ji...@apache.org> on 2013/07/26 01:25:48 UTC
[jira] [Commented] (DIRSERVER-1876) Plaintext password change exop
causes NullPointerException
[ https://issues.apache.org/jira/browse/DIRSERVER-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13720225#comment-13720225 ]
Emmanuel Lecharny commented on DIRSERVER-1876:
----------------------------------------------
I confirm there is a potential NPE when removing a userPassword value.
I don't think we are handling correctly the modifications, especially the remove modification, and even the add (we always get rid of the previous values, when the userPassword is potentially a multi-valued attribute).
This needs to be reviewed, fixed, and tests must be added.
Thanks for the report !
> Plaintext password change exop causes NullPointerException
> ----------------------------------------------------------
>
> Key: DIRSERVER-1876
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1876
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap
> Affects Versions: 2.0.0-M14
> Environment: CentOS 6.4, installed ApacheDS from RPM
> Reporter: sen
> Labels: exop, nullpointerexception, password
> Attachments: ads-error-returned.txt, exop-plaintext-issue.txt, log-messages.txt
>
>
> When PAM sends a cleartext password-change exop to ApacheDS, it returns a null pointer exception.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira