Skip Menu |

This queue is for tickets about the Catalyst-Authentication-Store-LDAP CPAN distribution.

Report information
The Basics
Id: 51504
Status: resolved
Priority: 0/
Queue: Catalyst-Authentication-Store-LDAP

People
Owner: karman [...] cpan.org
Requestors: james [...] jameswhite.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.1005
Fixed in: (no value)



Subject: multiple uid attributes break roles.
If a user has multiple uid=* attributes, subsequent role lookups result in a " Store claimed to have a restorable user, but restoration failed. Did you change the user's id_field?" error. even though the first check_user_roles('role') succeeds. This happens even when the role lookup doesn't involve uid: use_roles: 1 role_basedn: 'ou=Sets,dc=example,dc=org' role_filter: (&(objectClass=groupOfUniqueNames)(uniqueMember=%s)) role_scope: one role_field: cn role_value: dn role_search_options: deref: always role_search_as_user: 0 but the user_field is uid. removing the multiple uids fixes the problem.
This appears to be a duplicate of #51505