500 Internal Server Error

Moderator: crythias

Locked
Vikce
Znuny newbie
Posts: 2
Joined: 21 Jun 2012, 10:04
Znuny Version: 3.1.4

500 Internal Server Error

Post by Vikce »

So i'm trying to connect OTRS with LDAP and i get this error. Here is my config and my apache error log

Code: Select all

 # This is an example configuration for an LDAP auth. backend.
	# (make sure Net::LDAP is installed!)
	$Self->{'AuthModule1'} = 'Kernel::System::Auth::LDAP';
	$Self->{'AuthModule::LDAP::Host1'} = 'viki-dc.viki.com';
	$Self->{'AuthModule::LDAP::BaseDN1'} = 'dc=viki,dc=com';
	$Self->{'AuthModule::LDAP::UID1'} = 'sAMAccountName';



	# The following is valid but would only be necessary if the
	# anonymous user does NOT have permission to read from the LDAP tree
	$Self->{'AuthModule::LDAP::SearchUserDN1'} = 'CN=OTRS SEARCH, CN=Users, DC=viki, DC=com';
	$Self->{'AuthModule::LDAP::SearchUserPw1'} = 'xxxxxx';

	

	# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
	$Self->{'Customer::AuthModule::LDAP::Params'} = {
	    port => 389,
	    timeout => 120,
	    async => 0,
	    version => 3,
};	

	$Self->('AuthSyncModule1') ='Kernel::System::Auth::Sync::LDAP';
	$Self->('AuthSyncModule::LDAP::Host1') = 'viki-dc.viki.com';
	$Self->('AuthSyncModule::LDAP::BaseDB1')='dc=viki, dc=com';
	$Self->('AuthSyncModule::LDAP::UID1')='sAMAccountName';

	$Self->('AuthSyncModule::LDAP::SearchUserDN1')='CN=OTRS SEARCH, CN=Users, DC=viki, DC=com';
	$Self->('AutoSyncModule::LDAP::SearchUserPw1')='xxxxxxxxx';

	$Self->('AutoSyncModule::LDAP::UserSyncMap1') = {
	UserFirstname => 'givenName',
	UserLastname => 'sn',
	UserEmail => 'mail',
	};

apache error log

Code: Select all

 [Wed Jun 27 09:24:51 2012] [error] Not a subroutine reference at C:/PROGRA~2/OTRS/OTRS//Kernel/Config.pm line 235.\n 
Can you please tell me how can i resolve this :(
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: 500 Internal Server Error

Post by crythias »

Code: Select all

$Self->('AuthSyncModule::LDAP::BaseDB
Try BaseDN
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked