Project

General

Profile

Actions

Bug #1369

closed

Metacat is case sensitive to DN

Added by Jing Tao almost 21 years ago. Updated almost 21 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
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.

Actions #1

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 #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 1369

Actions

Also available in: Atom PDF