Openfire can't connect to Acrive Directory

Hello.

I install openfire-3.8.2-1.i386(from Ignite Realtime: Downloads) to CentOS 6 32-bit. SELinux and iptables are disabled.

Java:

java version “1.7.0_51”

Java™ SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot™ Client VM (build 24.51-b03, mixed mode, sharing)

Openfire does not connect to Active Directory when i press “Test Settings”

http://s14.postimg.org/5ajyetus1/test.png

There is no error in /opt/openfire/logs. Openfire dost try to connect to Acrive Directory(check by tcpdump). I can connect to Acrive Directory via ldapsearch.

What’s wrong?

Those settings are not correct which is why it is not working.

Firstly the default Users folder in AD is a Container (CN) not an Organizational Unit (OU)

Put in a real name of the Domain Controller or the AD domain (requires port 3268) into the Host

Authenticate with either username@domain or Domain\username

see this: http://community.igniterealtime.org/docs/DOC-1554