
Hi all.... I require some assistance on trying to get the Customer User backend to work with Active D. I have got the system to work just fine without active directory integration but when I paste the following code(which I just cut and paste from the tech doc's) at the end of the email and restart the httpd I get the following when I try and link to the http address: http://xxx.xxx.xxx.xxx/otrs/index.pl 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 47. I can run the /opt/otrs/bin/CheckDB.pl and get: It looks Ok! Any clues........ (Do I have to install any LDAP rpms...???) Any help is appreciated......... Thanks.... Neil #======================================================================= ================ # CustomerUser # (customer user ldap backend and settings) $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { # ldap host Host => 'otrs.compton.com', # ldap base dn BaseDN => 'o=compton.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 => '', UserPw => '', }, # 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 [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], 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 [ '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' ], ], }; #======================================================================= =============

On Tuesday, November 11, 2003 10:35 PM
Neil Lehouillier
Hi all.... I require some assistance on trying to get the Customer User backend to work with Active D. I have got the system to work just fine without active directory integration but when I paste the following code(which I just cut and paste from the tech doc's) at the end of the email and restart the httpd I get the following when I try and link to the http address: http://xxx.xxx.xxx.xxx/otrs/index.pl
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 47.
I can run the /opt/otrs/bin/CheckDB.pl and get: It looks Ok!
Any clues........ (Do I have to install any LDAP rpms...???)
Use "bin/otrs.checkModules" to get an overview of all installed and required cpan modules. Execute this to insure all necessary Perl modules are installed. perl -cw /opt/otrs/bin/cgi-bin/index.pl perl -cw /opt/otrs/bin/PostMaster.pl hth, Robert Kehl -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
participants (2)
-
Neil Lehouillier
-
Robert Kehl