After adding my old settings from Otrs 1.1.3 for LDAP to my new 1.2 Beta 2
Version I get an error when trying to go to the login (index.pl) page
Server error!
The server encountered an internal error and was unable to complete your
request.
Error message:
Can't locate object method "new" via package
"Kernel::System::CustomerUser::LDAP" at C:/otrs/otrs//Kernel/System/CustomerUser.pm
line 47.
This is the section I added to the config.pm
##############################################################
# **************************************************** #
# CustomerUser
# (customer user ldap backend and settings)
$Self->{CustomerUser} = {
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
# Host => 'localhost',
Host => 'XXXXX',
# ldap base dn
BaseDN => 'ou=people,dc=xxx,dc=xyz,dc=com',
# search scope (one|sub)
SSCOPE => 'sub',
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP
tree
UserDN => 'cn=Manager',
UserPw => 'ttttttt',
},
# customer uniq id
CustomerKey => 'uid',
# customer #
CustomerID => 'mail',
CustomerUserListFields => ['uid', 'cn', 'mail'],
CustomerUserSearchFields => ['uid', 'cn', 'mail'],
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown, required, storage-type
[ 'UserLastname', 'Lastname', 'cn', 1, 1, 'var' ],
[ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
],
};
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
_______________________________________________
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 oder Consulting f�r Ihr OTRS System?
=> http://www.otrs.de/