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
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/