[SOLVED] Script failed to send data after editing config.pm

Moderator: crythias

Locked
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

[SOLVED] Script failed to send data after editing config.pm

Post by aph »

I would like the otrs agents to be able to log-in using the AD credentials. I have configured the LDAP backend in Config.pm as shown in:
http://otrs.github.io/doc/manual/admin/ ... h-backends

However, I get a message 'script failed to send data' after making changes in config.pm. If I use the config file without the LDAP Authentication I'm able to log into OTRS, but I want users to authenticate from LDAP backend.

What could be the reason? I have attached my config.pm
Config.pm.txt
Thanks a lot
You do not have the required permissions to view the files attached to this post.
Last edited by aph on 08 Jul 2014, 09:03, edited 2 times in total.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

Re: Script failed to send data after editing config.pm

Post by aph »

I also get this error message in the log, although I have LDAP.pm under C:\otrs\OTRS\Kernel\System\Auth

Code: Select all

[Mon Jul  7 13:27:30 2014][Error][Kernel::System::Auth::LDAP::new][38] Need AuthModule::LDAP::Host in Kernel/Config.pm
What could be the issue here? My config file is same as in the last post
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Script failed to send data after editing config.pm

Post by reneeb »

Code: Select all

 $Self->{AuthModule} = 'Kernel::System::Auth::LDAP';
should be

Code: Select all

 $Self->{AuthModule1} = 'Kernel::System::Auth::LDAP';
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

[Solved] Script failed to send data after editing config.pm

Post by aph »

Thanks!
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Locked