Bat
Bat

Reputation: 139

LDAP Filter in DN-String attribute

I am trying to create LDAP Filter that search by part of DN-String in attribute.

If I filter with Full string, It works fine, for example:

attrName:dn:=full_value

But if I search by part of text with *, it is Invalid:

attrName:dn:=value*

How can I filter a DN-String attribute by part of text?

Upvotes: 2

Views: 800

Answers (1)

jwilleke
jwilleke

Reputation: 11056

There is no substring match rule for distinguishedName that I am aware of.

RFC 4517 defines the distinguishedNameMatch rule as only as an equality matching rule.

Upvotes: 1

Related Questions