I am trying to use the 4.03 appliance and configure LDAP for customer auth.
After going through what I understand for setup I get an error similar to what I was getting in v3.3.
When I try to log in a a user it states "Authentication succeeded, but no customer record is found in the customer backend. Please contact your administrator".
In the appliance it appears that you no longer edit the Config.pm. I see that what I edited in the GUI was written to a file named ZZZAuto.pm.
I am not clear on how to proceed at this point.
Here is the content of my ZZZAuto.pm
Code: Select all
root@otrs:~# cat otrs/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'}->{'AgentITSMConfigItemSearch'} = {
'Description' => 'Search Config Items',
'GroupRo' => [
'itsm-configitem'
],
'Loader' => {
'CSS' => [
'ITSM.Agent.Detail.css',
'ITSM.Table.css',
'ITSM.Print.css'
],
'JavaScript' => [
'thirdparty/jquery-tablesorter-2.0.5/jquery.tablesorter.js',
'Core.UI.Table.Sort.js',
'ITSM.Agent.Zoom.js'
]
},
'NavBar' => [
{
'AccessKey' => '',
'Block' => '',
'Description' => 'Search Config Items',
'Link' => 'Action=AgentITSMConfigItemSearch',
'LinkOption' => 'onclick="ITSM.Agent.ConfigItem.Search.OpenSearchDialog(\'AgentITSMConfigItemSearch\'); if (event.stopPropagation) { event.stopPropagation(); } else { window.event.cancelBubble = true; } return false;"',
'Name' => 'Search',
'NavBar' => 'Config Item',
'Prio' => '300',
'Type' => ''
}
],
'NavBarName' => 'Config Item',
'Title' => 'Search'
};
$Self->{'Frontend::Module'}->{'AgentITSMConfigItemZoom'} = {
'Description' => 'Config Item Zoom',
'GroupRo' => [
'itsm-configitem'
],
'Loader' => {
'CSS' => [
'ITSM.Agent.Detail.css',
'ITSM.Agent.Default.css',
'ITSM.Print.css'
],
'JavaScript' => [
'thirdparty/jquery-tablesorter-2.0.5/jquery.tablesorter.js',
'Core.UI.Table.Sort.js',
'ITSM.Agent.Zoom.js'
]
},
'NavBarName' => 'Config Item',
'Title' => 'Zoom'
};
$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->{'PublicFrontend::Module'}->{'PublicFAQExplorer'} = {
'Description' => 'Public faq',
'Loader' => {
'CSS' => [
'FAQ.Customer.Detail.css',
'FAQ.Customer.Default.css',
'FAQ.Widget.css'
]
},
'NavBar' => [
{
'AccessKey' => 'X',
'Block' => '',
'Description' => 'FAQ-Area',
'Link' => 'Action=PublicFAQExplorer',
'Name' => 'FAQ',
'NavBar' => '',
'Prio' => '400',
'Type' => ''
}
],
'NavBarName' => 'FAQ',
'Title' => ''
};
$Self->{'CustomerFrontend::Module'}->{'CustomerFAQExplorer'} = {
'Description' => 'Customer FAQ',
'Loader' => {
'CSS' => [
'FAQ.Customer.Detail.css',
'FAQ.Customer.Default.css',
'FAQ.Widget.css'
]
},
'NavBar' => [
{
'AccessKey' => '',
'Block' => '',
'Description' => 'FAQ',
'Link' => 'Action=CustomerFAQExplorer',
'Name' => 'FAQ',
'NavBar' => 'FAQ',
'Prio' => '700',
'Type' => 'Menu'
},
{
'AccessKey' => 'X',
'Block' => '',
'Description' => 'FAQ Explorer',
'Link' => 'Action=CustomerFAQExplorer',
'Name' => 'FAQ Explorer',
'NavBar' => 'FAQ',
'Prio' => '710',
'Type' => 'Submenu'
}
],
'NavBarName' => 'FAQ',
'Title' => ''
};
$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '(objectclass=user)';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Password!';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=ldapbind,ou=Service,dc=domain,dc=local';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'OU=Employees,dc=domain,dc=local';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'dc2.domain.local';
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'CustomerPanelBodyNewAccount'} = 'Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has created a new OTRS account for
you.
Full name: <OTRS_USERFIRSTNAME> <OTRS_USERLASTNAME>
User name: <OTRS_USERLOGIN>
Password : <OTRS_USERPASSWORD>
You can log in via the following URL. We encourage you to change your password
via the Preferences button after logging in.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl';
$Self->{'CustomerPanelBodyLostPassword'} = 'Hi <OTRS_USERFIRSTNAME>,
New password: <OTRS_NEWPW>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl';
$Self->{'CustomerPanelBodyLostPasswordToken'} = 'Hi <OTRS_USERFIRSTNAME>,
You or someone impersonating you has requested to change your OTRS
password.
If you want to do this, click on this link. You will receive another email containing the password.
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>customer.pl?Action=CustomerLostPassword;Token=<OTRS_TOKEN>
If you did not request a new password, please ignore this email.';
delete $Self->{'PreferencesGroups'}->{'SpellDict'};
$Self->{'SendmailModule::Host'} = 'smtp.domain.local';
$Self->{'SendmailModule'} = 'Kernel::System::Email::SMTP';
$Self->{'CheckMXRecord::Nameserver'} = '10.1.1.22';
$Self->{'CustomerHeadline'} = 'My Company Co. Inc.';
$Self->{'Organization'} = 'My Company Co. Inc.';
$Self->{'AdminEmail'} = 'jcain@domain.net';
$Self->{'FQDN'} = 'help.domain.local';
$Self->{'SystemID'} = 96;
$Self->{'SecureMode'} = 1;
}
1;
Thank you.