
Please post you Config.pm file so we can have a look. I was having this same error trying to authenticate to a Windows AD via LDAP, and got it working last week. -Tim ________________________________ From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of richard.bosch@bbraun.com Sent: Monday, January 08, 2007 7:00 AM To: otrs@otrs.org Subject: [otrs] Panic no user data Hello, i finaly got the LDAP authentication working with Lotus Notes but now when i login to customer.pl i get the error Panic! No UserData!!! and my log says CustomerUser: ****** authentification ok (REMOTE_ADDR: *.*.*.*). does anyone know how i can solve it? Regards Richard Bosch ************************************************************************ ******** The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments. ************************************************************************ ********

i have done the changes via the sysconfig but now the changes are not in
the comfig.pm
where can i find them?
the changes i made in the sysconfig are
Customer::AuthModule::LDAP::Host: = the FQDN of the ldap server
Customer::AuthModule::LDAP::BaseDN: = the base DN
Customer::AuthModule::LDAP::UID: = uid
Customer::AuthModule::LDAP::UserAttr: = UID
Customer::AuthModule::LDAP::AlwaysFilter: = (objectClass=*)
Customer::AuthModule::LDAP::Params:
async = 0
port = 389
timeout = 120
version = 3
i hope this helps.
Regards
Richard Bosch
"Miller, Tim"

Hi, usually this error is due to OTRS not finding the desired entry in its local user table. Even if you use LDAP authentication OTRS keeps copies of users in the table 'system_user'. It uses these as cache in order not to query the LDAP each time when a piece of information is needed (e.g. to get the mail address). What you see is that the check against your directory was ok, but the lookup in system_user failed. Therefore the message 'No user data'. OTRS copies basic user information from the LDAP to system_users itself. In order to activate this you have to tell OTRS in Config.pm this (copied from Kernel/Config/Defaults.pm): # UserSyncLDAPMap # (map if agent should create/synced from LDAP to DB after login) $Self->{UserSyncLDAPMap} = { # DB -> LDAP Firstname => 'givenName', Lastname => 'sn', Email => 'mail', }; Naturally, you have to check whether the attributes named on the right side of the assignment match those in your LDAP (e.g. is the user's first name stored in LDAP record attribute 'givenName'). Haven this entry OTRS syncs with LDAP and particularly creates new entries in system_user if not present. Insert the following if you want to create these users in the OTRS table in a specific group (users, admin,..): # UserSyncLDAPGroups # (If "LDAP" was selected for AuthModule, you can specify inital # user groups for first login.) $Self->{UserSyncLDAPGroups} = [ 'users', ]; You can map your LDAP roles and groups onto OTRS roles/groups as well. See the templates in Defaults.pm-. Upon user creation in system_users OTRS logs a message similar to 'Created user in local RDBMS" (at least with detailed logging activated). Hope this helps Tobias
Hello,
i finaly got the LDAP authentication working with Lotus Notes but now when i login to customer.pl i get the error Panic! No UserData!!! and my log says CustomerUser: ****** authentification ok (REMOTE_ADDR: *.*.*.*).
does anyone know how i can solve it?
Regards Richard Bosch
-- Tobias Lütticke
participants (3)
-
Miller, Tim
-
richard.bosch@bbraun.com
-
Tobias Lütticke