[Mageia-webteam] [Bug 252] Authentication does not work with email address

bugzilla-daemon at mageia.org bugzilla-daemon at mageia.org
Thu Mar 3 09:48:04 CET 2011


https://bugs.mageia.org/show_bug.cgi?id=252

Buchan Milne <bgmilne at mageia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bgmilne at mageia.org

--- Comment #1 from Buchan Milne <bgmilne at mageia.org> 2011-03-03 09:48:05 CET ---
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.

-- 
Configure bugmail: https://bugs.mageia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Mageia-webteam mailing list