Cannot connect to active directory server

Moderator: crythias

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

Cannot connect to active directory server

Post by aph »

After switching to Linux + mysql + apache, I'm unable to authenticate against the AD, which I was able to from my windows installation. Below is an excerpt from my apache log.

Code: Select all

Message: Can't connect to xxx-xxx.xxxx.xxxx: IO::Socket::INET: connect: Connection refused

 RemoteAddress: 10.201.24.1
 RequestURI: /otrs/index.pl

 Traceback (11234):
   Module: Kernel::System::Auth::ConnectAD::Auth (v1.16) Line: 227
   Module: Kernel::System::Auth::Auth (OTRS 3.3.9) Line: 184
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.9) Line: 206
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Jan 14 19:17:53 2015

 Message: Can't connect to xx-xx.xx.xxxx: IO::Socket::INET: connect: Connection refused

 RemoteAddress: xx.xx.xx.xx
 RequestURI: /otrs/index.pl

 Traceback (11234):
   Module: Kernel::System::Auth::ConnectAD::Auth (v1.16) Line: 227
   Module: Kernel::System::Auth::Auth (OTRS 3.3.9) Line: 184
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.9) Line: 206
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31

ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Jan 14 19:17:53 2015

 Message: No UserID found for 'xxxx.xxxx@xxxx.xxxx'!

 RemoteAddress: xx.xxx.xx.x
 RequestURI: /otrs/index.pl

 Traceback (11234):
   Module: Kernel::System::User::UserLookup (OTRS 3.3.9) Line: 834
   Module: Kernel::System::Auth::Auth (OTRS 3.3.9) Line: 241
   Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.9) Line: 206
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41
   Module: (eval) (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
I tried running setPermissions.pl as well as reinstalled the connectAD module.
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
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: Cannot connect to active directory server

Post by Rooobaaat »

Message: Can't connect to xx-xx.xx.xxxx: IO::Socket::INET: connect: Connection refused


says everything. Maybe a firewall or something similiar?
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
aph
Znuny superhero
Posts: 646
Joined: 20 Jun 2014, 12:11
Znuny Version: 3.3.9, 4.x, 5.x

[Solved]Re: Cannot connect to active directory server

Post by aph »

got it solved it was port 636. Changed port in parameters and placed an ldaps:// before the address of the LDAP Server
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