LDAP Filter in DN-String attribute

北慕城南 提交于 2019-12-11 07:57:57

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/54616977/ldap-filter-in-dn-string-attribute

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!