-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index with both exact and case-insensitive match only matches exact matches #6164
Comments
Created associated ticket in jira: https://issues.redhat.com/browse/IDMDS-4370 |
I just tried on Fedora 40 and the same issue is reproducible with lmdb backend as well. |
Just for confirmation, what is the equality matching rule of krbprincipalname ? is it caseExactIA5Match ? |
With explicit matching rule:
Without explicit matching rule:
Extract from indexes:
|
Unless I am missing something the behavior looks normal to me. (I assume that 'krbPrincipalName' is exactIA5). The index is only to make the search indexed (not notes=A) but you should get the same result with or without the index |
So we should probably force the client side to use intended matching rule |
FreeIPA uses exact and case-insensitive matches for
krbPrincipalName
, in the hope that bothuser@REALM
anduser@realm
would match the entry withuser@REALM
value inkrbPrincipalName
:However, case-insensitive match does not work for 389-ds-base 2.4.5 in Fedora 39:
The text was updated successfully, but these errors were encountered: