abbra / freeipa

Mirror of FreeIPA, an integrated security information management solution
http://www.freeipa.org
GNU General Public License v3.0
2 stars 1 forks source link

gc-wip: Inconsistent case in LDAP attribute values #59

Closed wladich closed 3 years ago

wladich commented 3 years ago

Example: Inconsistent case in “cn=users”.

dn: CN=idmgroup3,cn=users,dc=testrelm,dc=test ... memberOf: cn=ipausers,cn=users,dc=testrelm,dc=test ... member: CN=First User,CN=Users,dc=testrelm,dc=test

flo-renaud commented 3 years ago

Should be easy to fix as the cases are set in the templates, see for instance: https://github.com/abbra/freeipa/blob/gc-wip/ipaserver/globalcatalog/templates/gc_user_template.tmpl#L4 and https://github.com/abbra/freeipa/blob/gc-wip/ipaserver/globalcatalog/templates/gc_group_template.tmpl#L1 Except for consistency there shouldn't be any consequence to the different case (attribute names are case-insensitive and cn or CN should be handled identically).

wladich commented 3 years ago

Issue is fixed