I am trying to connect our OTRS version 3.0.11 to an Active Directory. I want to authenticate either against the AD or against the OTRS database. While setting this up I ran into a problem.
First I did this:
Example 1
Code: Select all
# Authentication via LDAP
$Self->{'Customer::AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'sonic-hh-dc.sonic-ps.de';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Benutzer,dc=sonic-ps,dc=de';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS,OU=Dienstkonten,DC=sonic-ps,DC=de';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'geheim';
Example 2
Code: Select all
# Authentication via LDAP
$Self->{'Customer::AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host1'} = 'sonic-hh-dc.sonic-ps.de';
$Self->{'Customer::AuthModule::LDAP::BaseDN1'} = 'ou=Benutzer,dc=sonic-ps,dc=de';
$Self->{'Customer::AuthModule::LDAP::UID1'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN1'} = 'CN=OTRS,OU=Dienstkonten,DC=sonic-ps,DC=de';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'1} = 'geheim';
Example 3
Code: Select all
# Authentication via LDAP
$Self->{'Customer::AuthModule1'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host1'} = 'sonic-hh-dc.sonic-ps.de';
$Self->{'AuthModule::LDAP::BaseDN1'} = 'ou=Benutzer,dc=sonic-ps,dc=de';
$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=OTRS,OU=Dienstkonten,DC=sonic-ps,DC=de';
$Self->{'AuthModule::LDAP::SearchUserPw'1} = 'geheim';
Example 4
Code: Select all
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'sonic-hh-dc.sonic-ps.de';
$Self->{'AuthModule::LDAP::BaseDN'} = 'ou=SONIC,ou=Benutzer,dc=sonic-ps,dc=de';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=OTRS,OU=Dienstkonten,DC=sonic-ps,DC=de';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'geheim';
Code: Select all
$Self->{'Customer::AuthModule'} = 'Kernel::System::Auth::LDAP';
But how do I do this correctly now? Is this a bug or a feature? Or a documentation error? The documentation says one should proceed as in examples 1 and 2.
Best
Henrik