[
https://issues.apache.org/jira/browse/DIRSTUDIO-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14287358#comment-14287358
]
Emmanuel Lecharny commented on DIRSTUDIO-1012:
----------------------------------------------
Actually, the error lies in the {{pwdPolicy.xml}} file :
{code}
<attributetype oid="1.3.6.1.4.1.42.2.27.8.1.17" obsolete="false"
singlevalue="true" collective="false" nousermodification="true">
<aliases>
<alias>pwdAccountLockedTime</alias>
</aliases>
<description>The time an user account was locked</description>
<usage>USER_APPLICATIONS</usage>
<syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
<equality>generalizedTimeMatch</equality>
<ordering>generalizedTimeOrderingMatch</ordering>
</attributetype>
{code}
should be
{code}
<attributetype oid="1.3.6.1.4.1.42.2.27.8.1.17" obsolete="false"
singlevalue="true" collective="false" nousermodification="true">
<aliases>
<alias>pwdAccountLockedTime</alias>
</aliases>
<description>The time an user account was locked</description>
<usage>DIRECTORY_OPERATION</usage>
<syntax>1.3.6.1.4.1.1466.115.121.1.24</syntax>
<equality>generalizedTimeMatch</equality>
<ordering>generalizedTimeOrderingMatch</ordering>
</attributetype>
{code}
> Wrong USAGE for 9 passwordPolicy attributes
> --------------------------------------------
>
> Key: DIRSTUDIO-1012
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1012
> Project: Directory Studio
> Issue Type: Bug
> Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
> Reporter: Emmanuel Lecharny
> Fix For: 2.0.0-M9
>
>
> We have 9 PasswordPolicy attributeTypes which has a wrong USAGE value :
> userApplication instead of directoryOperation. They aren't modifiable by the
> users. That pops some error when we open this schema in Studio.
> Here is the list of the attributeType that has to be fixed :
> * pwdAccountLockedTime
> * pwdChangedTime
> * pwdEndTime
> * pwdFailureTime
> * pwdGraceUseTime
> * pwdHistory
> * pwdLastSuccess
> * pwdPolicySubentry
> * pwdStartTime
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)