开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜