
Martin Edenhofer writes:
On Fri, May 16, 2003 at 04:44:56PM +0100, Jim Wight wrote:
[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
Thanks. That highlighted that I hadn't paid enough attention to the Net::LDAP README/INSTALL files. I didn't have the dependency Convert::ASN1 installed. Now I'm getting: Sizelimit exceeded at ../..//Kernel/System/CustomerUser/LDAP.pm line 178 (the last line in this section) # -- # perform user search # FIXME: check for valid customers # -- my $Result = $Self->{LDAP}->search ( base => $Self->{BaseDN}, scope => $Self->{SScope}, filter => "($Self->{CustomerKey}=*)", ); $Result->code && die $Result->error; We are using OTRS for our internal support system, and I've constructed my LDAP database of potential customers from the list of users in our Unix password file. There are over 800 of them.
PS: mod_perl is really powerful! .-)
I was using it at one point, but no-one noticed any great difference. Maybe we weren't working Perl hard enough at the time. I then modified Kernel/System/CustomerAuth/DB.pm to hook up customer authentication to our campus Windows 2000 authentication service, and mod_perl stopped working. I left investigation of that problem to another day. Jim