You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Louis-Gabriel Thibault (JIRA)" <ji...@apache.org> on 2016/07/05 14:09:10 UTC

[jira] [Commented] (DIRSERVER-2079) Unable to Add passwordpolicysubentry attribute to user

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

Louis-Gabriel Thibault commented on DIRSERVER-2079:
---------------------------------------------------

Workaround is to issue manual ldap command:
{code}
dn: cn=sampleuser,ou=SampleOrg,dc=example,dc=com
changetype: modify
replace: pwdPolicySubentry
pwdPolicySubentry: ads-pwdId=custom,ou=SampleOrg,dc=example,dc=com
-
{code}

Bug could be rephrased as "Studio should emit <replace> instead of <add> when setting pwdPolicySubentry". I'm wondering why this particular attribute behaves this way though.

> Unable to Add passwordpolicysubentry attribute to user
> ------------------------------------------------------
>
>                 Key: DIRSERVER-2079
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2079
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M19, 2.0.0-M20
>         Environment: Mac os
>            Reporter: Kevin Bheda
>
> *Steps to reproduce*
> # Create Custom password policy with ads-pwdid=custom
> # Try to custom password policy dn as the pwdpolicysubentry to the user.
> *Expected*
> pwdpolicysubentry should be added successfully.
> *Actual*
> pwdpolicysubentry  cannot be added giving error 
> *Command Line log trace*
> # Reference command line loghttp://pastebin.com/GAkEkJ15
> # Also tried to dn "ads-pwdId=custom2,ou=passwordPolicies,ads-interceptorId=authenticationInterceptor,ou=interceptors,ads-directoryServiceId=default,ou=config"
> *Adding Attribute via Apache Directory Studio gives error*
> # Screenshot of Apache directory url : http://imgur.com/a/jbiVT



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)