My customers are also authenticated through LDAP but they can't seem to
log in because they do not have a valid password. I have found an
article that mentions that even though customers are authenticated
through LDAP they have to be pulled to the local database to be able to
log-in. However, I have been unable to get the script working...perhaps
you can figure it out and help me...
http://lists.otrs.org/pipermail/otrs/2009-March/025912.html
Ryan
----------------------------------------------------------------------
Message: 1
Date: Tue, 20 Apr 2010 18:09:30 +0600
From: Eduard Ivanov
Subject: [otrs] Customer authentication via LDAP
To: otrs@otrs.org
Message-ID: <4BCD997A.2010103@info74.ru>
Content-Type: text/plain; charset=UTF-8; format=flowed
Not work Customer authentication via LDAP
In my ldap i have:
ou=gpoups whith groups list
ou=users whith users list
in groups i have
cn=customers with customers list
Now, config otrs for customers ldap authentication:
customer authentication settings:
$Self->{'Customer::AuthModule'} =
'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'local_ldap_server';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} =
'dc=company,dc=com';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';
$Self->{'Customer::AuthModule::LDAP::GroupDN'} =
'cn=customers,ou=groups,dc=company,dc=com';
$Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
customer user database backend and settings:
Host => 'local_ldap_server',
BaseDN => 'dc=company,dc=com',
CustomerKey => 'uid',
CustomerID => 'uidNumber',
CustomerUserListFields => ['cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
Map => [
[ 'UserSalutation', 'Title', 'title', 1, 0, 'var',
'', 0 ],
[ 'UserLogin', 'Username', 'uid', 1, 1, 'var',
'', 0 ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var',
'', 0 ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var',
'', 0 ],
],
Now, in [ Customer User Management ] i can find all users in my openLDAP
server, but in "valid/invalid" column i'm see "-" for any user.
So, customers can't login via
http://otrs.company.com/otrs/customer.pl.They got "Login failed! Your
username or password was entered incorrectly." error
--
Eduard Ivanov
------------------------------
______________________________________________________________________
This email has been scanned by the Rebekah Children's Services Email Security System.
**** Confidentiality Notice *****
The information contained in this e-mail, and any attachment, is private and confidential and is the property of Rebekah Children's Services. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or taking of any action in reliance on the contents of the information is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and destroy all copies of the original message.
All reasonable precautions have been taken to ensure no viruses are present in this e-mail. We do not accept responsibility for any loss or damage arising from the use of this e-mail or attachments. We recommend that you subject these to your virus checking procedures prior to use.
______________________________________________________________________