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