I (attempted to) configured for LDAP authorization and LDAP synchronization. LDAP authorization is working, but synchronization (edit: 10/9/2014) is not.
The error I receive is as follows:
Message: Can't connect to <LDAP IPv4 Address>: IO::Socket::INET6: connect: Connection refused
Then:
Module: Kernel::System::Auth::Sync::LDAP::Sync (OTRS 3.3.9) Line: 124
Later on a follow on error:
Message: No UserID found of '<LDAP sAMAccountName>'!
Followed by:
Module: Kernel::System::User::UserLookup (OTRS 3.3.9) Line: 834
The relevant lines of my configuration (Config.pm) are:
Code: Select all
$Self->{'Authmodule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '<AD Server IPv4 Address>';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=performair,dc=local'; <The actual BaseDN used is more restrictive>
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = '<valid low-priviledge user DN>';
$Self->{'AuthModule::LDAP::SearchUserPw'} = '<password>';
$Self->{'AuthModule::LDAP::Params'} = {
port => 636,
timeout => 120,
async => 0,
version => 3,
inet4 => 1,
inet6 => 0,
};
# Configure Sync
$Self->{'AuthModule::UseSyncBackend'} = 'AuthSyncBackend';
$Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
$Self->{'AuthSyncModule::LDAP::Host'} = '<AD server IPv4 address';
$Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=performair,dc=local';
$Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthSyncModule::LDAP::SearchUserDN'} = '<valid low-priviledge user DN>';
$Self->{'AuthSyncModule::LDAP::SearchUserPw'} = '<password>';
$Self->{'AuthSyncModule::LDAP::Params'} = {
port => 636,
timeout => 120,
async => 0,
version => 3,
inet4 => 1,
inet6 => 0,
};
Note: my perl is installed at /usr/lib/perl and does not have INET6.pm.
Any typos (beyond those listed above) are, probably, the result of retyping.
I've reviewed the manual, and several troubleshooting guides (I manually added the first user, with admin privileges, so I could log in).
Thank you,
Dominic Hilsbos