case insensitive LDAP searches

2019-01-19 17:11发布

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.

2条回答
smile是对你的礼貌
2楼-- · 2019-01-19 17:34

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

查看更多
放我归山
3楼-- · 2019-01-19 17:41

(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.

查看更多
登录 后发表回答