Hi there. I want to use LDAP authentication on my Koha (3.2.2). There is any tutorial to do this? Now I've added this block to my koha-conf.xml: <useldapserver>1</useldapserver> <ldapserver id="ldapserver" listenref="ldapserver"> <hostname>*******</hostname> <base>*********</base> <user>*******</user> <pass>*******</pass> <replicate>0</replicate> <update>0</update> <auth_by_bind>1</auth_by_bind> <mapping> <firstname is="givenName" ></firstname> <surname is="sn" ></surname> <userid is="userPrincipalName"></userid> <email is="mail"></email> </mapping> </ldapserver> I don't want to replicate neither update users in Koha. LDAP will be only used to authentication. But i'm having this error: "Can't call method "bind" on an undefined value at /usr/share/koha/lib/C4/Auth_with_ldap.pm line 122". The hostname of LDAP is correct... I've checked Auth_with_ldap.pm and the problem is that $db variable (Net::LDAP->new(hostname)) is empty. Any solution? Thanks for your time. Regards. Vitor Fernandes
participants (1)
-
Vitor Fernandes