Problem with ldap on openfire

hello, I have some problems with the ldap on my openfire. I am currently doing an internship and I was given for a project to create instant messaging, so I have at my disposal and openfire psi. my problem is that once I installed active directory and I want to configure my openfire server at the three stages in ldap I was told that my address is unknown yet I rempls the proper way if someone owns a tutorial or can I give explanation on the part of openfire I would be grateful.

cordially starfearless