ich bin gerade dabei OTRS zu evaluieren, und würde gerne gegen ADS authentifizieren. Alle Anleitungen, die ich gefunden habe sind für die Version 3.x geschrieben, und das Handbuch verrät mir leider auch nicht wirklich viel zu diesem Thema.
Was ich allerdings gelesen habe, ist, dass man anscheinend nicht mehr direkt die "Config.pm" bearbeiten soll sondern über das Admininterface. Da habe ich jetzt in der Sysconfig Framework -> Frontend::Customer::Auth die Parameter für LDAP gesetzt (siehe Configdatei). Allerdings kann ich mich nicht am Frontend anmelden, und die nächste Frage die aufkommt, wie funktioniert das dann mit den Agents?
OTRS läuft auf einem Cents 6.6 x64 und laut "otrsCheckModules.pl" sind auch alle Perlmodule installiert.
Ich hoffe, dass mir jemand helfen kann.
Vielen Dank
Code: Select all
cat Kernel/Config/Files/ZZZAuto.pm
# OTRS config file (automatically generated)
# VERSION:1.1
package Kernel::Config::Files::ZZZAuto;
use strict;
use warnings;
no warnings 'redefine';
use utf8;
sub Load {
my ($File, $Self) = @_;
$Self->{'Frontend::Module'}->{'AdminGenericInterfaceMappingSimple'} = {
'Description' => 'Admin',
'Group' => [
'admin'
],
'Loader' => {
'CSS' => [
'Core.Agent.Admin.GenericInterface.css'
],
'JavaScript' => [
'Core.Agent.Admin.GenericInterfaceMappingSimple.js'
]
},
'Title' => 'GenericInterface Webservice Mapping GUI'
};
$Self->{'Frontend::Module'}->{'AdminGenericInterfaceDebugger'} = {
'Description' => 'Admin',
'Group' => [
'admin'
],
'Loader' => {
'CSS' => [
'Core.Agent.Admin.GenericInterface.css'
],
'JavaScript' => [
'Core.Agent.Admin.GenericInterfaceDebugger.js'
]
},
'Title' => 'GenericInterface Debugger GUI'
};
$Self->{'Customer::AuthModule::LDAP::Params'} = {
'async' => '0',
'port' => '389',
'timeout' => '120',
'version' => '3'
};
$Self->{'Customer::AuthModule::LDAP::UserSuffix'} = '@mydomain.local';
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '(!objectclass=computer)';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'mypassword';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'CN=searchuser,CN=Users,DC=mydomain,DC=local';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=mydomain,dc=local';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'ad.mydomain.local';
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
delete $Self->{'PreferencesGroups'}->{'SpellDict'};
$Self->{'SendmailModule::Port'} = '25';
$Self->{'SendmailModule::Host'} = 'mail.mydomain.local';
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'DefaultLanguage'} = 'de';
$Self->{'Organization'} = 'My Company';
$Self->{'AdminEmail'} = 'administrator@mydomain.local';
$Self->{'FQDN'} = 'otrs.mydomain.local';
$Self->{'SystemID'} = '71';
$Self->{'SecureMode'} = 1;
}
1;