Active Directory Connection

I am trying to install Openfire 3.7.1 to Windows Server 2008 R2 Actice Directory with no success. I had this server working before with a SQL backend database and it locked me out of the admin console and I wasn’t able to get back in. I completely uninstalled and reinstalled but it will nt connect to AD with my same Administrator Base DN. What am I doing wrong?