LDAP Authentication : error on Apache restart

Moderator: crythias

Locked
amacquet
Znuny newbie
Posts: 17
Joined: 02 Sep 2010, 16:05
Znuny Version: 2.2.7

LDAP Authentication : error on Apache restart

Post by amacquet »

Hi guys

I'm new to OTRS, and I didn't find the solution to this problem after a couple of hours searching.

I installed OTRS 2.2.7 on a Debian machine and did'nt get any problem.

I want to try the LDAP authentication, so I've added those lines to my Config.pm :

$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '******************';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=*************,dc=fr';
$Self->{'AuthModule::LDAP::UID'} = 'uid';
$Self->{'AuthModule::LDAP::GroupDN'} = 'ou=agents,ou=usagers,dc=*******,dc=fr';
$Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
$Self->{'AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};


and now I get those errors when I restart Apache2 :

[Thu Sep 02 15:56:41 2010] [error] Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 115.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 116.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 117.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 118.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 119.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 120.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 121.
Global symbol "$Self" requires explicit package name at /usr/share/otrs//Kernel/Config.pm line 122.
Compilation failed in require at /usr/share/otrs/scripts/apache2-perl-startup.pl line 29.
BEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 29.
Compilation failed in require at (eval 2) line 1.
[Thu Sep 02 15:56:41 2010] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server **************.fr:0, exiting...


Can anyone help ?

Thanks !
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: LDAP Authentication : error on Apache restart

Post by ferrosti »

I do not expect the error to be a matter of these lines. Please uncomment them and retry!

BTW, why do you install 2.2.7, since 2.4 is stable and 3.0 is in the going?
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked