[Koha] adding second ldap server

Katrin Fischer katrin.fischer.83 at web.de
Wed Feb 19 10:40:24 NZDT 2020


Hi,

to my understanding it's currently not possible to connect more than one
LDAP server to Koha. I found an open bug for adding this feature:

*BugĀ 20735*
<https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20735> -
Multiple LDAP servers

Katrin

On 18.02.20 13:36, Mohamad F Barham wrote:
> Dears,
>
> I am trying to add a second ldap server but fails, is there a restriction for only one server? how to solve that?
>
> notice:
>   koha 19.11
> debian 9
> first ldap server work correctly, we have two ldap servers, one for students and one for staff, both have different mapping
>
> <ldapserver id="ldapserver">
> <hostname>ldaps://172.16.2.101</hostname>
> <base>DC=STBZU,DC=EDU</base>
> <user>CN=Mohamad F. Barham,OU=CCsupport,DC=STBZU,DC=EDU</user> <!-- DN, if not anonymous -->
> <pass>PASSWORD</pass> <!-- password, if not anonymous -->
> <replicate>0</replicate> <!-- add new users from LDAP to Koha database -->
> <update>0</update> <!-- update existing users in Koha database , dont update to dont override koha edits ex category type-->
> <anonymous_bind>0</anonymous_bind>
> <auth_by_bind>1</auth_by_bind> <!-- set to 1 to authenticate by binding instead ofpassword comparison, e.g., to use Active Directory -->
> <principal_name>%s at STBZU.EDU</principal_name> <!-- optional, for auth_by_bind: a printf format to make userPrincipalName from koha userid -->
> <mapping> <!-- match koha SQL field names to your LDAP record field names -->
> <firstname is="givenname"></firstname>
> <surname is="sn"></surname>
> <userid is="samaccountname"></userid>
> <email is="mail"></email>
> <othernames is ="cn"></othernames>
> <branchcode is="">MAIN</branchcode>
> <categorycode is="">ST</categorycode>
> </mapping>
> </ldapserver>
>
>
>
>
>
> [cid:image002.png at 01D327F4.25E9A910]
>
>
> Mohamad Barham
>
> System Engineer | Information Technology Department
>
> Birzeit University
>
> P.O.Box. 14, Birzeit, Palestine
>
> Tel: + 970 22982012 | Mob: +970 597 861929 | Ext: 5616
>
> mbarham at birzeit.edu | www.birzeit.edu<http://www.birzeit.edu/>
>
>
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The University is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list