Das Thema wurde schon offt durchgekaut. Mal mit Agentenlogin, mal mit Customer. Ich habe otrs 2.2.3 und versuche die "Kunden" über ein Windows2k3-server (ldap) einzubinden.
Meine COnfig.pm:
# ---------------------------------------------------- #
# Customer Authentifizirung via LDAP #
# ---------------------------------------------------- #
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = 'ledc.scholzrecycling.intern';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=scholzrecycling,dc=intern';
#$Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'support@scholzrecycling.intern';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'support';
#$Self->{'Customer::AuthModule::LDAP::UserSuffix'} = '@xxx.de';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
#$Self->{'Customer::AuthModule::LDAP::GroupDN'} = '';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
# port => 389,
# timeout => 120,
# async => 0,
#version => 3,
#SourceCharset => 'utf-8',
#DestCharset => 'iso-8859-1',
};
$Self->{'UserSyncLDAPMap'} = {
# DB -> LDAP
Title => 'title',
Firstname => 'givenName',
Lastname => 'sn',
Username => 'sAMAccountName',
Email => 'mail',
CustomerID => 'mail',
};
# ---------------------------------------------------- #
# # customer Auth #
# # ---------------------------------------------------- #
$Self->{CustomerUser1} = {
Name => 'LDAP Datenquelle',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
Host => 'ledc.scholzrecycling.intern',
BaseDN => 'dc=scholzrecycling,dc=intern',
SSCOPE => 'sub',
UserDN => 'support@scholzrecycling.intern',
UserPw => 'support',
AlwaysFilter => ,
# Params => {
# port => 389,
# timeout => 120,
# async => 0,
# version => 3,
# SourceCharset => 'utf-8',
# DestCharset => 'iso-8859-1',
# },
},
CustomerKey => 'sAMAccountName',
CustomerID => 'mail',
CustomerUserListFields => ['sn', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'sn' , 'mail'],
CustomerUserSearchPrefix => ,
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
CustomerUserExcludePrimaryCustomerID => 0,
AdminSetPreferences => 0,
Map => [
[ 'UserSalutation', 'Title', 'title', 1, 0, 'var', , 0 ],
[ 'UserFirstname', 'Firstname', 'givenName', 1, 1, 'var', , 0 ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', , 0 ],
[ 'UserLogin', 'Username', 'sAMAccountName', 1, 1, 'var', , 0 ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var', , 0 ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', , 0 ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var', , 0 ],
[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var', , 0 ],
[ 'UserComment', 'Comment', 'description', 1, 0, 'var', , 0 ],
],
};
jetzt funktioniert die Authorisierung wunderbar :
"CustomerUser: Testuser (CN=Support,OU=EDV,OU=****,DC=*****,DC=*****) authentification ok (REMOTE_ADDR: *.*.*.*)."
allerdings kommt bei der anmeldung eines "Kunden" auf der Seite "http://otrs-server/otrs/customer.pl" der Fehler "Panic! No UserData!!!". Das Thema wurde schon in sämtlichen Foren und MAilinglisten durchgekaut, aber so recht hilfreich war da nix.
Hat jemand eine Idee ?
Customer Auth "Panic! No UserData!!!" die x-te
Customer Auth "Panic! No UserData!!!" die x-te
Hallo haertie,
ich habe das gleiche Problem. Hast du eine Lösung dafür gefunden?
Danke, maeck
ich habe das gleiche Problem. Hast du eine Lösung dafür gefunden?
Danke, maeck
OTRS: 2.3.4
OS: Debian Linux
Apache2/MySQL 5
OS: Debian Linux
Apache2/MySQL 5