
Den 21/02/2008 kl. 21.11 skrev Keith O'Brien:
Using the documentation and Online resource I have gotten LDAP authentication working. I also have CustomerUser1 and CustomerUser2 working. I can lookup users from either LDAP server. However I did not find anything on getting Authentication working on multiply LDAP servers for Customers or Agents.
You basically do the same thing (this is for LDAP and DB, but you can easily modify it for two LDAP servers): # LDAP to Microsoft AD $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = '192.168.1.1'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=xxxx, dc=company, dc=local'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'some_username'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'some_password'; # This is the auth. module againt the otrs db $Self->{'Customer::AuthModule2'} = 'Kernel::System::CustomerAuth::DB'; $Self->{'Customer::AuthModule::DB::Table2'} = 'customer_user'; $Self->{'Customer::AuthModule::DB::CustomerKey2'} = 'login'; $Self->{'Customer::AuthModule::DB::CustomerPassword2'} = 'pw'; Notice the '2' postfixed everything in the second block, that's the trick. -- Lars