We currently use only LDAP for Customer User backend (information+authentication). It works but we now need to be able to add users manually (that can't be added to our LDAP (AD) service), so we need to add a Customer User local backend (OTRS DB). My current config uses
Code: Select all
$Self->{CustomerUser} = {
Code: Select all
$Self->{CustomerUser1} = {
Code: Select all
Dec 7 13:17:53 otrs OTRS-CGI-36[11193]: [Notice][Kernel::System::CustomerAuth::LDAP::Auth] CustomerUser: user authentication failed, no LDAP entry found!BaseDN='cn=Users,dc=example,dc=com', Filter='(sAMAccountName=user)', (REMOTE_ADDR: 192.168.x.x).
Code: Select all
select title, first_name, last_name, login, pw, email, customer_id, phone, fax, mobile, street, zip, city, country, comments, valid_id, login from otrs.customer_user where LOWER(login) = LOWER('user')
Code: Select all
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::DB';
$Self->{'Customer::AuthModule::DB::Table'} = 'customer_user';
$Self->{'Customer::AuthModule::DB::CustomerKey'} = 'login';
$Self->{'Customer::AuthModule::DB::CustomerPassword'} = 'pw';
$Self->{'Customer::AuthModule::DB::DSN'} = "DBI:mysql:database=otrs;host=mysqlhost";
$Self->{'Customer::AuthModule::DB::User'} = "otrs";
$Self->{'Customer::AuthModule::DB::Password'} = "somepass";
Any help would be appreciated.
OTRS 3.3.6 (RPM), MySQL 5.0.95