I have everything working but I am cunfused about how to make the system grab users from 2 different groups. I have been reading the documentation on how to do this:
If you have users in multiple containers, you may want to add multiple LDAP sources. Feel free to use $Self->{CustomerUser1} throughout $Self->{CustomerUser10}.
The code with # & bolded are the ones I have been trying to get to work in conjuction..
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '<IP>';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'OU=Users,OU=Users,DC=XXX,DC=XXX,DC=XXX';
#$Self->{'Customer1::AuthModule::LDAP::BaseDN'} = 'OU=Test,OU=XXX,DC=XXX,DC=XXX,DC=XXX';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=User,OU=Users,OU=User,DC=XXX,DC=XXX,DC=XXX';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '<password>';
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => '<IP>',
BaseDN => 'OU=Users,OU=XXX,DC=XXX,DC=XXX,DC=XXX',
#BaseDN => 'OU=Test,OU=XXX,DC=XXX,DC=XXX,DC=XXX',
SSCOPE => 'sub',
UserDN => 'CN=User,OU=Users,OU=XXX,DC=XXX,DC=XXX,DC=XXX',
UserPw => '<password>',
Steer me in the right direction someone please?