ldap authentication with multiple servers

Moderator: crythias

Locked
ravikishore
Znuny newbie
Posts: 2
Joined: 28 Jun 2010, 09:19
Znuny Version: 2.4.7

ldap authentication with multiple servers

Post by ravikishore »

i want to authenticate Otrs with multiple ldap servers. i would like to know how to perform multiple ldap's.

and would appreciate if any one could explain how to authenticate with zimbra mail server.
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: ldap authentication with multiple servers

Post by ferrosti »

There is quite an issue with authentication against multiple backends since it searches all backends for the given user one after the other.
I don´t want to be unkind, but please read the manual. It explicitly mentions how to implement multiple cutomer/agent backends.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
ravikishore
Znuny newbie
Posts: 2
Joined: 28 Jun 2010, 09:19
Znuny Version: 2.4.7

Re: ldap authentication with multiple servers

Post by ravikishore »

there is nothing mentioned in documentation about authentication with multiple ldap servers. so for that reason i have been asking here for solutions..
please also provide the solution about authenticating with zimbra mail server
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: ldap authentication with multiple servers

Post by crythias »

http://doc.otrs.org/2.4/en/html/x1801.h ... r-backends
If you want to use more than one customer data source used with OTRS (e.g. an LDAP and a database backend), the CustomerUser config parameter should be expanded with a number, e.g. "CustomerUser1", "CustomerUser2".
So ...
ldap1:

Code: Select all

 $Self->{CustomerUser} = {
        Name => 'LDAP Data Source',
        Module => 'Kernel::System::CustomerUser::LDAP',
...
ldap2:

Code: Select all

 $Self->{CustomerUser1} = {
        Name => 'LDAP Data Source',
        Module => 'Kernel::System::CustomerUser::LDAP',
...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
makoestler
Znuny newbie
Posts: 3
Joined: 17 Nov 2016, 15:11
Znuny Version: 5.0.8
Real Name: Matthias Köstler
Company: HCL

Re: ldap authentication with multiple servers

Post by makoestler »

Hello,

I am not sure, if this is still open, but just for the cummunity...

You can also create a DNS entry e.g. ldap.mydomain.local and assign the two IP to it.
Restart your DNS Server and use ldap.mydomain.local as the "host" in your Config.pm

It works for me with a very slow DNS Server.

Thanks and regards,

Matthias
Es grüßt Sie freundlich / Łączę uprzejme pozdrowienia / kind regards

Matthias Köstler
Locked