Code: Select all
# This is an example configuration for an LDAP auth. backend.
# (make sure Net::LDAP is installed!)
$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = 'viki-dc.viki.com';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'dc=viki,dc=com';
$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP tree
$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=OTRS SEARCH, CN=Users, DC=viki, DC=com';
$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'xxxxxx';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
$Self->('AuthSyncModule1') ='Kernel::System::Auth::Sync::LDAP';
$Self->('AuthSyncModule::LDAP::Host1') = 'viki-dc.viki.com';
$Self->('AuthSyncModule::LDAP::BaseDB1')='dc=viki, dc=com';
$Self->('AuthSyncModule::LDAP::UID1')='sAMAccountName';
$Self->('AuthSyncModule::LDAP::SearchUserDN1')='CN=OTRS SEARCH, CN=Users, DC=viki, DC=com';
$Self->('AutoSyncModule::LDAP::SearchUserPw1')='xxxxxxxxx';
$Self->('AutoSyncModule::LDAP::UserSyncMap1') = {
UserFirstname => 'givenName',
UserLastname => 'sn',
UserEmail => 'mail',
};
Code: Select all
[Wed Jun 27 09:24:51 2012] [error] Not a subroutine reference at C:/PROGRA~2/OTRS/OTRS//Kernel/Config.pm line 235.\n
