DN字符串属性中的LDAP过滤器 [英] LDAP Filter in DN-String attribute

查看:111
本文介绍了DN字符串属性中的LDAP过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建通过属性中的DN-String进行搜索的LDAP过滤器.

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

attrName:dn:=full_value

但是,如果我用*进行部分文本搜索,则无效:

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

attrName:dn:= value *

attrName:dn:=value*

如何按部分文本过滤DN-String属性?

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

推荐答案

我知道,distinguishedName没有子字符串匹配规则.

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

RFC 4517 将distinguishedNameMatch规则仅定义为相等匹配规则.

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

这篇关于DN字符串属性中的LDAP过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆