[otrs] otrs with multiple LDAP

511 views
Skip to first unread message

Rahul singhal

unread,
Jul 12, 2012, 12:25:24 AM7/12/12
to ot...@otrs.org
Hi All,

We are using OTRS in our organization. Almost, it's working very fine apart of integrating it with multiple LDAP Server .
In our scenario , we want to integrate this (OTRS ) with multiple ldap server yet not getting the proper way to do this.I have implemented all the stuff
what i get on googling yet no success.

what the entry i did in the Config.pm is like this ..

####LDAP 1 Configuration for Agents

        $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
        $Self->{'AuthModule::LDAP:Host'} = 111.111.111.111;
        $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=com';
        $Self->{'AuthModule::LDAP::UID'} = 'uid';
        $Self->{'AuthModule::LDAP::SearchUserDN'} = 'uid=user1,dc=com';
        $Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxxx';

###LDAP 2 Configuration for Agents

         $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
        $Self->{'AuthModule::LDAP::Host'} = 111.111.111.111;
        $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=smeB,dc=companyB';
        $Self->{'AuthModule::LDAP::UID'} = 'uid';
        $Self->{'AuthModule::LDAP::SearchUserDN'} = 'uid=user.0,ou=People,dc=smeB,dc=companyB';
        $Self->{'AuthModule::LDAP::SearchUserPw'} = 'redhat';

Now when i try to login in the otrs with agent any agent , It always go to the the Basedn="dc=smeB,dc=companyB" , means always goes the ldap configuration which has been defined lastly.

So kindly give me any solution which can work for my requirements.


Thanks & Regards
Rahul Singhal
Ericsson

Mike Eduard

unread,
Jul 12, 2012, 2:03:24 AM7/12/12
to User questions and discussions about OTRS.
Hi Rahul,
Try:

$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = 111.111.111.111;
$Self->{'AuthModule::LDAP::BaseDN1'} = 'dc=smeB,dc=companyB';
$Self->{'AuthModule::LDAP::UID1'} = 'uid';
$Self->{'AuthModule::LDAP::SearchUserDN1'} =
'uid=user.0,ou=People,dc=smeB,dc=companyB';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'redhat';


And for the next one 2, then 3 and so on. Then it will work (the OTRS configuration stuff ist from 2000).

Mike Eduard
Enterprise Services for OTRS

Znuny GmbH // Marienstraße 11 // 10117 Berlin // Germany

P: +49 (0) 30 60 98 54 18-0
F: +49 (0) 30 60 98 54 18-8
W: http://znuny.com

Location: Berlin - HRB 139852 B Amtsgericht Berlin-Charlottenburg
Managing Director: Martin Edenhofer

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Reply all
Reply to author
Forward
0 new messages