auth_proxy doesn't understand padding characters

Bug #1902049 reported by Rosie Le Faive
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

I've set up ldap authentication through my institution. However, the 'id number' that it provides is not _exactly_ what Evergreen needs.

I'm getting the 'id number' from a different ldap field than our patrons use as their campus login, so i'm using bind_attr and id_attr. However, the campus started zero-padding id numbers, so instead of '123456' (my opac login), LDAP provides '0123456'.

I've got a sloppy fix where in AuthProxy.pm I do an extra check - if the user is not found in evergreen, strip leading zeros from the $args->{'username'} and try again.

But is "I need to transform what i get from auth_proxy" a more common issue? Would there be a better way to solve it?

thanks.

evergreen 3.4.2.

description: updated
tags: added: authentication integration
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.