Metacat is case sensitive to DN
In Ldap, DN is not case sensitive. For example,
uid=tao,o=NCEAS,dc=ecoinformatics,dc=org will be treated as same DN. But in
metacat, they will be treated as two DN becuase in "o" phrase, one is "nceas"
and the other is "NCEAS". In order make Ldap and metacat consistent, we should
make metacat non-case sensitive.
#1 Updated by Jing Tao over 18 years ago
In PermissionControl and DBQuery class, the DN name in java code was transform
to lower case. In sql command, the field in db table which stores DN was change
to lower(fieldName). So both of them were changed to lower case, then compare them.
This will make metacat non-case sensitive to DN.