Project

General

Profile

Actions

Bug #7593

closed

Case sensitive identifiers for users and groups cause problems

Added by Pavel Kácha almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
06/10/2022
Due date:
% Done:

100%

Estimated time:
To be discussed:

Description

Email-like identifiers apparently can come in inconsistent case from source. We had one cause of user identifier (those are generated from EPPN) causing creation of two user entries (with varying case), and at least one cause of group identifier (those are generated from email) of inconsistent case in hostname part.

As for EPPN case sensitivity, we're not sure whether it should be enforced, however data seems to support this.

As for email - hostname part is insensitive, username part (according to spec) is not, however in reality is treated as such.

We have decided to go for insensitivity within Mentat identifiers, or more precisely, for enforced lower case.

This would need lowercasing on insert and migration to treat existent data accordingly.

Actions

Also available in: Atom PDF