Error connecting to the LDAP server

Try my Openfire config AD steps that are detailed at the bottom of: Openfire 4.2.1 a Active Directory 2008R2: First login fail, second login succeed

Cheers,
Cosmo