<div dir="ltr"><blockquote>Scott, I am also trying to get LDAP to work in Koha 3.0 without success. Our LDAP requies auth bind, which we can do. For a query to be successful when we use any LDAP tool we must specifically ENABLE SEARCH SUBCONTAINERS and specifically DISABLE REFERRER CHASING. We have not yet found a way to set these options in Koha 3.<br>
<br>--------------------------------<br><br>The question of (anonymous or not) static bind vs. bind-as-auth is still being debated amongst Koha users. In any case, you should upgrade to 3.0 or later if you can, to get more flexibility out of the LDAP implementation. The current implementation in 3.0 uses static bind. <br>
<br>At least, 3.0 would keep you from having to hack running files directly. It uses XML configuration from the KOHA_CONF file. <br><br>--Joe Atzberger<br><br>On Wed, Oct 1, 2008 at 10:36 AM, Scott Owen <<a href="mailto:sowen@edzone.net">sowen@edzone.net</a>> wrote:<br>
Hi all,<br><br>I posted a request on the win32 list a few days ago regarding LDAP and<br>Koha, and haven't heard a peep......so.....to widen my scope, I thought<br>I'd post here as well.<br>If this is inappropriate please feel free to tell me to bug off.....<br>
I'm unsure if this is specifically a Win32 issue or if it's more of a<br>general Koha question.<br><br>Issue:<br>I'm trying to use LDAP authentication to avoid duplication of data entry<br>(users/members).<br>
I've searched and found a few tid-bits regarding Koha and LDAP, but<br>couldn't really find much solid info and/or any "how-to's"<br><br>I've tried the basic renaming of Auth_with_ldap.pm....and adding my LDAP<br>
server info (IP and base user context), this gets me basically nowhere,<br>and removes the user login/password prompt section from the Opac page.????<br>I assumed that this would do an anonymous bind, and then prompt for user<br>
credentials....this seems to to be incorrect.<br>Do I need to enter a specific user somewhere?<br><br>At this point the systems seem to at least see each other....<br><br>Koha OPAC error log:<br> Oct 01 10:07:37 2008] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] password combination<br>
at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.<br>[Wed Oct 01 10:07:39 2008] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] LDAP Auth failed<br>server not responding or wrong user<br>[Wed Oct 01 10:07:39 2008] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] password<br>
combination at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.<br>[Wed Oct 01 10:07:41 2008] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] LDAP Auth failed<br>server not responding or wrong user<br>[Wed Oct 01 10:07:41 2008] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] password<br>
combination at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.<br><br><br>My LDAP servers eror log (<a href="http://10.1.1.192">10.1.1.192</a> is the IP of my Koha server):<br>New cleartext connection 0xa7684b60 from <a href="http://10.1.1.192:2182">10.1.1.192:2182</a>, monitor =<br>
0x259, index = 1<br>Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0<br>of 0 bytes read<br>Monitor 0x259 initiating close for connection 0xa7684b60<br>Server closing connection 0xa7684b60, socket error = -5871<br>
Connection 0xa7684b60 closed<br>New cleartext connection 0xa7684b60 from <a href="http://10.1.1.192:2186">10.1.1.192:2186</a>, monitor =<br>0x259, index = 1<br>Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0<br>
of 0 bytes read<br>Monitor 0x259 initiating close for connection 0xa7684b60<br>Server closing connection 0xa7684b60, socket error = -5871<br>Connection 0xa7684b60 closed<br>New cleartext connection 0xa7684b60 from <a href="http://10.1.1.192:2189">10.1.1.192:2189</a>, monitor =<br>
0x259, index = 1<br>Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0<br>of 0 bytes read<br>Monitor 0x259 initiating close for connection 0xa7684b60<br>Server closing connection 0xa7684b60, socket error = -5871<br>
Connection 0xa7684b60 closed<br><br><br>I can access the LDAP server via the Softerra LDAP browser with no issues.<br><br>Does anyone have a working Auth.pm with LDAP that they could either send<br>me, or cut/paste here?<br>
<br>Thanks for any advice.<br><br>-Scott Owen<br>Alma Public Schools<br>_______________________________________________<br>Koha mailing list<br><a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br><a href="http://lists.katipo.co.nz/mailman/listinfo/koha">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</blockquote></div>