
Hi, in Config.pm, after working for a while, I set up an LDAP server to retrieve Customer data, below I reported the code. But whrn I connect to http://localhost/otrs/index.pl I get the following error message: 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 /opt/otrs//Kernel/System/CustomerUser.pm line 42. If you think this is a server error, please contact the webmaster Error 500 Before setting up the LDAP binding I was at least able to enter the system. Can anyone help me to find what's wrong with my configuration? Thanks in advance, Simone ----------------------------------------------------- # CustomerUser # (customer user ldap backend and settings) $Self->{CustomerUser} = { Name => 'LDAP AD Backend', Module => 'Kernel::System::CustomerUser::LDAP', Params => { # ldap host Host => 'somehost.unibo.it', # ldap base dn BaseDN => 'dc=personale,dc=dir,dc=unibo,dc=it', # 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 => 'my DN', UserPw => 'my pass', }, # customer uniq id CustomerKey => 'uid', # customer # CustomerID => 'mail', CustomerUserListFields => ['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 [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], };