ldap login case sensetiveness

19 views
Skip to first unread message

Bernardo Costa

unread,
Mar 7, 2014, 1:35:24 PM3/7/14
to scmma...@googlegroups.com
I am using the ldap plugin for creating/authorizing users. I have a question to make. LDAP is mostly case insensitive for queries but case sensitive for writing. It means that if a user is created with ldap name LDAPUSE, it is different from user ldapuser, although if you query for one, the other can also answers back as a valid response if it exists. Until lately, I was logging with my ldapname as lowecase. No problem until then, but if I query my ldapname in the server it shows it in uppercase. Suddently, after a restart, if I try to log with lowecase, I don't appear anymore as an administrator, but rather as a normal user. I can only have admin privileges if I login on uppercase. Is this something I can fix on scm-manager ? Or I need to contact my ldap administrators (which in fact is an active directory) ?

Bernardo Costa

unread,
Mar 7, 2014, 1:45:05 PM3/7/14
to scmma...@googlegroups.com
Forget what I said. It happens that my ldapusername is also an unix user in the same machine in which scm-manager runs. For some reason, I believe I had tried unsuccessfully to use the pam plugin and it might had worked for a while, it does get my unix user to authenticate (in lowecase). After a restart disabling this plugin, now I can get my ldapuser if I type it on upper or lower case.

PS: for my surprise, it seems possible to get unix users via pam. I thought it would only work on windows.
Reply all
Reply to author
Forward
0 new messages