[librecat-dev] LDAP

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Tue Aug 9 08:30:58 CEST 2016


Still in vacation here. But you can use a command line tool to test the authentication setup:

?

 $ bin/authentication_admin.pl


There are very many options when doing a LDAP authentication. Every institution can have local variations. If the code doesn't provide a stack trace, then the code is ok, but the authentication handshakes don't provide the desired results.


With the authentical_admin you have at least a Perl program you can run through a debugger and see which step doesn't provide the desired result. We based the code on what Bielefeld or Ghent University does with LDAP (both use a somewhat different strategy).


Cheers and till later

Patrick


________________________________
From: librecat-dev-bounces at lists.uni-bielefeld.de <librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Arash Samadi <samadi at sub.uni-goettingen.de>
Sent: Monday, August 8, 2016 2:16 PM
To: librecat-dev at lists.uni-bielefeld.de
Subject: [librecat-dev] LDAP


Hi there, hope you had a great vacation or maybe you still enjoying it ;)

Anyways, I replaced the info based on our own LDP-Configuration in 'catmandu.local.yml', but probably missing something, because it is not working. I would really appreciate your input:

      - package: LibreCat::Auth::LDAP
        options:
          host: 'ug-sub-s1.sub.uni-goettingen.de'
          base: '************'
          password: '****************'
          auth_base: 'cn=%s,ou=Benutzer,dc=sub,dc=uni-goettingen,dc=de'
          search_filter: '(cn=%s)'
          search_base: 'OU=Benutzer,DC=sub,DC=uni-goettingen,DC=de'
          search_attr: 'cn'

Cheers,
A.

--

Arash Samadi
Digitale Biblothek, Bibliotheksysteme (BIS)

Georg-August-Universität Göttingen
Niedersächsische Staats- und Universitätsbibliothek
D-37073 Göttingen

Platz der Göttinger Sieben 1 (Zentralbibliothek, LRC, Raum 2.19)

Tel: +49 39-20726
m at il: samadi at sub.uni-goettingen.de<mailto:samadi at sub.uni-goettingen.de>
www: http://www.sub.uni-goettingen.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20160809/1ccc3f78/attachment.html>


More information about the librecat-dev mailing list