From: Till Kinstler <kinstler@gb...> - 2009-07-21 07:27:13
Grant Johnson schrieb:
> Can anyone help with the syntax required in the vuFind config.ini file to query multiple ou's?
I haven't used the LDAP interface in VuFind, but the basedn parameter in
config.ini is passed without changes to to PHP function ldap_search()
So the question is, if and how ldap_search() is able to handle your
multiple DNs. Maybe ask Google on that...
> Here's how I configure ezproxy to authenticate to LDAP.
That looks like you configure multiple separate LDAP searches based on
different DNs. If there is no other way with ldap_search() to do that,
you might do the same in VuFind. Currently VuFind doesn't do that, but
it shouldn't be too hard to change it, if you know some PHP: Make the
basedn parameter an array and call ldap_search() in sys/User.php
(function loginLDAP()) with every value in that array until you get a
match (or whatever complex matching rules you need).
Verbundzentrale des Gemeinsamen Bibliotheksverbundes (VZG)
Platz der Göttinger Sieben 1, D 37073 Göttingen
kinstler@..., +49 (0) 551 39-13431, http://www.gbv.de