[
https://issues.apache.org/jira/browse/DIRSTUDIO-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498312#comment-16498312
]
Emmanuel Lecharny commented on DIRSTUDIO-1182:
----------------------------------------------
Such a search only works if the Attribute supports it... It has to have a
{{SUBSTR}} matching rule. For intance, the {{CN}} attributeType which is
defined as :
{code)
( 2.5.4.15 NAME 'businessCategory'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
{code}
supports searches using substrings (like {{*xyz*}}.)
You have to look at the schema you are using to know if the attribute supports
such a search. You can use the {{LDAP Schema}} plugin for that.
> unable to add or see some attribute for pwdpolicy schema.
> ---------------------------------------------------------
>
> Key: DIRSTUDIO-1182
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1182
> Project: Directory Studio
> Issue Type: Question
> Reporter: steve balon
> Priority: Major
> Attachments: image-2018-05-31-23-56-59-154.png,
> image-2018-06-01-11-08-02-182.png, image-2018-06-01-12-55-42-535.png,
> image-2018-06-01-12-56-49-149.png, image-2018-06-01-13-56-49-107.png
>
>
> We are deploying the PWDpolicy schema on our Open LDAP.
> I'm using Apache directory studio :
> Version: 2.0.0.v20170904-M13
>
> The schema has been uploaded to the ldap tree :
> Including component versions:
> - openldap 2.4.44
> - openssl 1.0.2k
> * Berkeley DB 6.2.23
>
> When we try to add the pwdPolicySubentry in one User
> the attribute is well recognize by the tool because showed in the entry :
> !image-2018-05-31-23-56-59-154.png!
> but the addition fail with a message :
> "Warning, according to the schema, the attribute pwdPolicySubentry is not
> authorized
> Do you still want to add it."
> if I add it, it's added somehow, because if I try the error message say that
> the attribute is already there or cannot have 2 values.
>
> but even if I refresh, the apache directory studio didn't show it.
> I have the exact same issue with the attribute : pwdChangedTime
> I can enter a date, but it's not showed on the tree.
>
> I really want to confirm how I can see that, because also, I have a cluster
> of LDAP and want to be sure that those specific 2 entry are replicated. and I
> can't confirm if I didn't see it.
>
> Do you have any idea or explanantion for me ?
>
> Thanks.
>
> Steve
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)