When a registered user enters her correct email+password, authentication fails. It does work when using login+password. Steps to Reproduce: 1. Use your Mageia user account 2. Try to authenticate on https://identity.mageia.org/ with your email and password Expected behaviour is: authenticate correctly with both email or login (consistently across all Mageia online apps). Reproducible: Steps to Reproduce:
There is a bug in Catalyst::Authentication::Store::LDAP . The documentation (http://search.cpan.org/~bobtfish/Catalyst-Authentication-Store-LDAP-1.012/lib/Catalyst/Authentication/Store/LDAP.pm#user_field) claims: "You can also set it to an array, to allow more than one login field. The first field will be returned as identifier for the user." However, when running in debug mode (./script/catdap_server.pl -d) setting (in catdap_local.yml): authentication: realms: ldap: store: user_filter: (&(objectclass=inetOrgPerson)(|(uid=%s)(mail=%s))) user_field: - uid - mail An exception is thrown with the message: "LDAP claims 'ARRAY(0xXXXXX)' equals 'bgmilne' but results entry does not match." The CatDap side should really just be the configuration above, if Catalyst::Authentication::Store::LDAP works as documented.
CC: (none) => bgmilne
*** Bug 1171 has been marked as a duplicate of this bug. ***
CC: (none) => misc
Do you have a simple test case for C::A::S::LDAP, so we can try to take a look and either send a patch or a bug report ?
@ Mageia Web Team Any news on this bug?
CC: (none) => m.van.waes
@ Assignee I think this bug was assigned correctly, but please confirm by putting "OK" on the whiteboard or by confirming in a comment
Assignee: mageia-webteam => bgmilne
CC: (none) => djmarian4uSummary: Authentication does not work with email address => authentication does not work with email address
Whiteboard: (none) => OK
Any news? This is still open and very much unfixed! Also, is 1171 a dublicate of this bug? That one is still open and unfixed, too...
CC: (none) => eagle150
Buchan, any news on this topic? Trying to dust some old bugs :)
It would be really nice if this could be fixed. It happens quite often that a user forgets his/her Mageia user name. Even the mail a user receives when resetting the password in identity.mageia.org, doesn't reveal the user name.
CC: (none) => atelier-bugs, sysadmin-bugs
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=21769