[Koha] Koha 2.2.9 (win32) -- cookies and authentication

Library Guy library.guy.zero at gmail.com
Wed Oct 8 05:59:10 NZDT 2008


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.

--------------------------------

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.

At least, 3.0 would keep you from having to hack running files directly.  It
uses XML configuration from the KOHA_CONF file.

--Joe Atzberger

On Wed, Oct 1, 2008 at 10:36 AM, Scott Owen <sowen at edzone.net> wrote:
Hi all,

I posted a request on the win32 list a few days ago regarding LDAP and
Koha, and haven't heard a peep......so.....to widen my scope, I thought
I'd post here as well.
If this is inappropriate please feel free to tell me to bug off.....
I'm unsure if this is specifically a Win32 issue or if it's more of a
general Koha question.

Issue:
I'm trying to use LDAP authentication to avoid duplication of data entry
(users/members).
I've searched and found a few tid-bits regarding Koha and LDAP, but
couldn't really find much solid info and/or any "how-to's"

I've tried the basic renaming of Auth_with_ldap.pm....and adding my LDAP
server info (IP and base user context), this gets me basically nowhere,
and removes the user login/password prompt section from the Opac page.????
I assumed that this would do an anonymous bind, and then prompt for user
credentials....this seems to to be incorrect.
Do I need to enter a specific user somewhere?

At this point the systems seem to at least see each other....

Koha OPAC error log:
 Oct 01 10:07:37 2008] [error] [client 127.0.0.1]  password combination
at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.
[Wed Oct 01 10:07:39 2008] [error] [client 127.0.0.1] LDAP Auth failed
server not responding or wrong user
[Wed Oct 01 10:07:39 2008] [error] [client 127.0.0.1]  password
combination at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.
[Wed Oct 01 10:07:41 2008] [error] [client 127.0.0.1] LDAP Auth failed
server not responding or wrong user
[Wed Oct 01 10:07:41 2008] [error] [client 127.0.0.1]  password
combination at c:/usr/koha229/intranet/modules/C4/Auth.pm line 528.


My LDAP servers eror log (10.1.1.192 is the IP of my Koha server):
New cleartext connection 0xa7684b60 from 10.1.1.192:2182, monitor =
0x259, index = 1
Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0
of 0 bytes read
Monitor 0x259 initiating close for connection 0xa7684b60
Server closing connection 0xa7684b60, socket error = -5871
Connection 0xa7684b60 closed
New cleartext connection 0xa7684b60 from 10.1.1.192:2186, monitor =
0x259, index = 1
Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0
of 0 bytes read
Monitor 0x259 initiating close for connection 0xa7684b60
Server closing connection 0xa7684b60, socket error = -5871
Connection 0xa7684b60 closed
New cleartext connection 0xa7684b60 from 10.1.1.192:2189, monitor =
0x259, index = 1
Monitor 0x259 found connection 0xa7684b60 socket closed, err = -5871, 0
of 0 bytes read
Monitor 0x259 initiating close for connection 0xa7684b60
Server closing connection 0xa7684b60, socket error = -5871
Connection 0xa7684b60 closed


I can access the LDAP server via the Softerra LDAP browser with no issues.

Does anyone have a working Auth.pm with LDAP that they could either send
me, or cut/paste here?

Thanks for any advice.

-Scott Owen
Alma Public Schools
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081007/7402b25e/attachment-0001.htm 


More information about the Koha mailing list