Hola, estoy tratando de configurar el acceso de customers a través de dos diferentes árboles LDAP, al intentra acceder con un usuario sólo considera la opción del primer LDAP, ¿es posible configurar que cuándo no encuentre al usuario en la primera configuración de LDAP busque en la segunda configuración?
Comparto mi configuración actual.
Desde ya muchas gracias!!
# CLIENTES - LDAP
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'x.x.x.1';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'DC=xxx,DC=yyy';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=usuario,ou=ou1,ou=ou2,dc=xxx,dc=yyy';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'password';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
#CLIENTES - LDAP2
$Self->{'Customer::AuthModule1'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host1'} = 'x.x.x.2';
$Self->{'Customer::AuthModule::LDAP::BaseDN1'} = 'dc=xxx,dc=yyy';
$Self->{'Customer::AuthModule::LDAP::UID1'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN1'} = 'cn=usuario2,ou=ou3,ou=ou4,dc=xxx,dc=yyy';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw1'} = 'password';
$Self->{'Customer::AuthModule::LDAP::Params1'} = {
port => 12389,
timeout => 120,
async => 0,
version => 3,
};