[Koha] LDAP authentication

Chris Cormack chris at bigballofwax.co.nz
Wed Dec 29 08:51:12 NZDT 2010


Hi all

Auth by bind is for active directory, if you aren't using that then its not
needed

Chris

On 29 Dec 2010 08:45, "Scott Owen" <sowen at edzone.net> wrote:

 Vitor,

Here is my working LDAP config. section

Differences that jump out at me:
I use the IP rather than the FQDN for the LDAP server.
No auth_by_bind section at all.....and my LDAP auth works fine.

Can you access your LDAP directory with other LDAP tools?
(Softerra LDAP browser?)


**************************************
<useldapserver>1</useldapserver><!-- see C4::Auth_with_ldap for extra
configs you must add if you want to turn this on -->
 <!-- LDAP SERVER (optional) -->


 <ldapserver id="ldapserver"  listenref="ldapserver">
  <hostname>10.1.1.7</hostname>
  <base>T=********</base>
  <user>*************</user>             <!-- DN, if not anonymous -->
  <pass>*************</pass>      <!-- password, if not anonymous -->
  <replicate>1</replicate>   <!-- add new users from LDAP to Koha database
-->
  <update>0</update>         <!-- update existing users in Koha database -->
  <mapping>             <!-- match koha SQL field names to your LDAP record
field names -->
   <firstname    is="givenname"      ></firstname>
   <surname      is="sn"             ></surname>
   <address      is=""    >Alma Public Schools</address>
   <city         is=""    >Alma</city>
   <zipcode      is=""    >48801</zipcode>
   <branchcode   is=""    >PINE</branchcode>
   <userid       is="cn"            ></userid>
   <password     is=""    ></password>
   <email        is="mail"           ></email>
   <categorycode is=""   >PT</categorycode>
   <phone        is="telephonenumber"></phone>
  </mapping>
</ldapserver>
**************************************************



>>> Vitor Fernandes<vitorfernandes87 at gmail.com> 12/28/2010 10:11 AM >>>


Hi there.

I want to use LDAP authentication on my Koha (3.2.2).
There is any tutorial to do this?
...

_______________________________________________
Koha mailing list  http://koha-community.org
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/20101229/8aafdd6e/attachment.htm 


More information about the Koha mailing list