
Hi Jim, On Fri, May 16, 2003 at 04:44:56PM +0100, Jim Wight wrote:
I want to get the LDAP CustomerUser backend working, but am not having any success so far.
I've copied the
# CustomerUser # (customer user ldap backend and settings) # $Self->{CustomerUser} = { # Module => 'Kernel::System::CustomerUser::LDAP', [...] # [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], # [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], # ], # };
section from Defaults.pm into Config.pm, removed the comments, and made what I reckon are other necessary changes. However, I've not even got as far as testing LDAP as I get Internal Server Error when accessing OTRS. The server error log contains the following:
[Fri May 16 16:30:18 2003] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.pl [Fri May 16 16:30:18 2003] [error] [client xxx.xxx.xxx.xxx] Can't locate object method "new" via package "Kernel::System::CustomerUser::LDAP" (perhaps you forgot to load "Kernel::System::CustomerUser::LDAP"?) at <otrs>/bin/cgi-bin/../../Kernel/System/CustomerUser.pm line 47.
What does it indicate is wrong? I'm not using mod_perl.
Try the syntax check: perl -cw /opt/otrs/Kernel/System/CustomerUser/LDAP.pm -=> Maybe you need it install the ldap module (Net::LDAP) to access to a ldap server. PS: mod_perl is really powerful! .-)
Jim
-Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --