LDAP authentication on non-standard port

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
AlienTrout
Posts: 1
Joined: Wed Jun 16, 2010 1:47 pm

LDAP authentication on non-standard port

Post by AlienTrout »

Greetings one and all,

I am experiencing a very basic issue using Cacti 0.8.7e. It's a fresh install on a CentOS 5.5 system. I'm trying to get it to communicate to my Active Directory server, which is not running on port 389.

I've perused the forums, followed instructions, etc, but no matter what I'm experiencing a very basic connectivity issue. In spite of any setting changes I may make for the basic LDAP port, the Cacti server attempts to communicate to the Active Directory server on port 389. All these settings changes were made under the Authentication tab.

Here's a tcpdump output to illustrate:

15:52:17.119459 IP (tos 0x0, ttl 64, id 38848, offset 0, flags [DF], proto: TCP (6), length: 60) XXX.XXX.XXX.XXX.54104 > XXX.XXX.XXX.XXX.389: S, cksum 0xa4c4 (correct), 2578642721:2578642721(0) win 5840 <mss 1460,sackOK,timestamp 182551495 0,nop,wscale 7>

I ran the following on the database just to check if the setting was getting written and found this following:

select name,value from settings where name like '%ldap_port%';
ldap_port 3268
ldap_port_ssl 636

Port 3268 is indeed the port on which my AD server listens.

I even altered the following entry in /includes/global_settings.php

"ldap_port" => array(
"friendly_name" => "Port Standard",
"description" => "TCP/UDP port for Non SSL communications.",
"method" => "textbox",
"max_length" => "5",
"default" => "3268",
"size" => "5"
),

The default was originally 389.

I've gotten LDAP to work but by using an iptables nat OUTPUT rule to switch traffic going to port 389 to port 3268.

Have I missed something basic? Have I found a bug? Am I the only one trying to access an AD server on a non-standard port?

Thanks all!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest