Cannot configure LDAP in Openfire 3.10.0

I am new to Openfire and new to LDAP.

I have read the community support and I have followed all advice given.

I keep getting different errors when trying to configure my LDAP

Server Type: Active Directory

HOST: owp-pdc-01 Port: 3909

BASE DN: DC=domain,DC=local

administrator DN: sparkadmin@domain.local

Password: sparkadminpassword

The credentials work in the server when I am binding in that form but it will not work here.

I got it to work finally. lol. I was thinking that AD LDS was what I used to configured LDAP but then I went back and made some corrections and it works perfectly.