$Self->{'AuthModule'} =
'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} =
test.testdomain.net';
$Self->{'AuthModule::LDAP::BaseDN'} =
'dc=testdomain,dc=net';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
# The following is valid but would
only be necessary if the
# anonymous user do NOT have
permission to read from the LDAP tree
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=Test
User,OU=Users,OU=Test,OU=Test1,dc=testdomain,dc=net';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxxxxxxx';
# in case you want to add always
one filter to each ldap query, use
# this option. e. g.
AlwaysFilter => '(mail=*)' or AlwaysFilter =>
'(objectclass=user)'
#
$Self->{'AuthModule::LDAP::AlwaysFilter'} = '';
# in case you want to add a suffix
to each login name, then
# you can use this option. e. g.
user just want to use user but
# in your ldap directory
exists user@domain.
# $Self->{'AuthModule::LDAP::UserSuffix'} = '';
# Net::LDAP new params (if needed
- for more info see perldoc Net::LDAP)
$Self->{'AuthModule::LDAP::Params'} =
{
port =>
389,
timeout =>
120,
async =>
0,
version =>
3,
};