开发者

LDAP | How to programmatically tell whether a search for specific attribute is case sensitive?

开发者 https://www.devze.com 2023-04-06 07:18 出处:网络
Many LDA开发者_StackOverflow中文版P attributes are defined case-insensitive for search. For example:

Many LDA开发者_StackOverflow中文版P attributes are defined case-insensitive for search. For example:

userId ATTRIBUTE ::= {
    WITH SYNTAX DirectoryString { 256 }
    EQUALITY MATCHING RULE caseIgnoreMatch
    SUBSTRINGS MATCHING RULE caseIgnoreSubstringsMatch
    ID id-userid
}

However, this may be changed by the administrator.

How can I determine whether a specific attribute search is case-sensitive? Is there a way to check this programmatically?

Thanks!


Use :caseExactMatch:. See RFC 4515.

0

精彩评论

暂无评论...
验证码 换一张
取 消