Actions
Bug #1369
closedMetacat is case sensitive to DN
Start date:
03/15/2004
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
1369
Description
In Ldap, DN is not case sensitive. For example,
uid=tao,o=nceas,dc=ecoinformatics,dc=org and
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.
Updated by Jing Tao almost 21 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.
Actions