You could also search recursively in the 'company' OU and have a requirement for users to be in a specific Group to authenticate.

I use the following lines in my Config.pm
        $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'CN=OTRS_Customers,OU=Security,OU=MyGroups,DC=MyDomain,DC=local';
        $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'member';
        $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';


On 30 August 2011 15:59, Gerald Young <crythias@gmail.com> wrote:
http://www.petri.co.il/ldap_search_samples_for_windows_2003_and_exchange.htm
(|(ou=1*)(ou=3*))


On Tue, Aug 30, 2011 at 9:01 AM, Lars Jørgensen <ljorg6@gmail.com> wrote:
Hi,

We have users in two different OUs that I need to be able to authenticate to OTRS. What's the easiest/best way to accomplish that?

It's like this:

company
 |-1
 |-2
 |-3

I want to authenticate users from OUs 1 and 3, but not 2.


--
Lars
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs