
Hi Rahul, On 7/12/12 06:25 , Rahul singhal wrote:
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. 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