]> git.evergreen-ils.org Git - Evergreen.git/commit
Make AuthProxy LDAP bind code more robust
authorDan Wells <dbw2@calvin.edu>
Thu, 27 Sep 2012 21:35:03 +0000 (17:35 -0400)
committerBill Erickson <berick@esilibrary.com>
Mon, 15 Jul 2013 16:48:25 +0000 (12:48 -0400)
commit1532f045e2d2b4e7ac1da880fc75b3bcb4282df7
tree14e584909390fcd598292c72fcb70226c9610eda
parent36c60bd42b0cf8be9eaedd1ff99de6dd63c7ef7f
Make AuthProxy LDAP bind code more robust

The existing version of LDAP_Auth.pm assumed that the user's
bind DN could be derived from the base DN, the ID attribute, and
the user's ID.  This is frequently the case, but not always,
particularly in Active Directory setups using sAMAccountName. This
commit instead uses the initial LDAP lookup as the authority for
determining the user's DN.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/AuthProxy/LDAP_Auth.pm