case insensitive LDAP searches

北城以北 提交于 2019-12-17 20:09:45

问题


What't the syntax for performing a case-insensitive match on a 'uid' attribute? If attribute definition matters then how would that be changed? In particular I am using ApacheDS for my LDAP store.


回答1:


(uid=miXedCaseUSer) will match a uid of mixedcaseuser.

Accoriding to the OID Description for 0.9.2342.19200300.100.1.1 - Userid userId is defined to have EQUALITY MATCHING RULE caseIgnoreMatch

Which means it is one of the attribute definitions that employ case insensitive matching by default.




回答2:


I think they are case insensitive by default, unless its a password attribute.



来源:https://stackoverflow.com/questions/2017152/case-insensitive-ldap-searches

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