Skip to content

Commit 887f6af

Browse files
authored
M #-: Add info about LDAP users case insensitivity (#3332)
Signed-off-by: Mikalai Kutouski <[email protected]>
1 parent 4adb5e0 commit 887f6af

File tree

1 file changed

+13
-0
lines changed
  • source/installation_and_configuration/authentication

1 file changed

+13
-0
lines changed

source/installation_and_configuration/authentication/ldap.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ Users can easily create escaped ``$ONE_AUTH`` tokens with the command ``oneuser
245245

246246
The output of this command should be put in the ``$ONE_AUTH`` file.
247247

248+
249+
248250
.. _active_directory:
249251

250252
Active Directory
@@ -342,3 +344,14 @@ And you want users whose login ends with ``a.example.com`` to be searched in ``l
342344
:match_user_regex:
343345
"^(.*)@a.example.com$": ldap-a.example.com
344346
"^(.*)@b.example.com$": ldap-b.example.com
347+
348+
DB backend and case sensitivity
349+
============================================
350+
351+
As LDAP, in general, is case insensitive there could be some oddities in the way how OpenNebula manages LDAP users. Moreover, it depends on the used DB backend.
352+
353+
If you use SQLite or PostgreSQL, then users are always case-sensitive. Any further login with the same user but in a different casing will cause auth failure.
354+
355+
However, when MySQL database is used (with the default configuration) it is case insensitive. Therefore, you can still log in with any casing of the username, such as jsmith, JSmith, JSMITH, etc.
356+
357+
In any case, LDAP users are created in OpenNebula DB in lower-case. This is mainly to prevent multiple (case different) users to bypass quotas.

0 commit comments

Comments
 (0)