I am using AD LDAP authentication code to connect my web portal to SSO but I am unable to do so as it is giving me the error below.
The same code when tried on the windows server is working fine.
Is there any specific permissions that need to be provided in a Linux server? The ports required for the end to end connectivity (389 and 636) are open and have been confirmed, still the LDAP is not able to connect.
PHP Fatal error: Uncaught exception 'adLDAPException'
with message:
Bind to Active Directory failed.
Check the login credentials and/or server details.
AD said: Can't contact LDAP server
Please suggest what can be done to run the LDAP code for SSO authentication.