Do you receive an error message?
Have you restarted apache and cleared the cache?
Is there a long (~20 second) delay between login and error? If so it is likely network related.
Can you ping the LDAP server from the SuiteCRM host?
When SuiteCRM is running, check the actual env variables on the server and see if AUTH_TYPE is actually ldap
I don’t have any error or log related to it except there is warning under PasswordManager menu
LDAP SUPPORT
LDAP Warning
This LDAP configuration will only be used for v4 API authentication. To configure SuiteCRM login to use LDAP, add the needed configurations to the .env.local file. See LDAP configuration docs for more information.
Instead of Apache, i have used IIS server and iis is restarted and cache is cleared after setting up the LDAP credentials.
It is taking 2-3 seconds to between login an error.
ldap ping is working from host server
C:\Users\user>ping 10.10.xxx.xx
Pinging 10.10.xxx.xx with 32 bytes of data:
Reply from 10.10.xxx.xx: bytes=32 time<1ms TTL=128
Reply from 10.10.xxx.xx: bytes=32 time<1ms TTL=128
Reply from 10.10.xxx.xx: bytes=32 time<1ms TTL=128
Reply from 10.10.xxx.xx: bytes=32 time<1ms TTL=128
Ping statistics for 10.10.xxx.xx:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Below settings are added in .env.local file and AUTH_TYPE is ldap
Meant to get back to you earlier. Yes you are missing the LDAP env variables, You cannot set them in the .env file in Windows, you will need to set them as Windows environment variables and then they will need to show up in that list.
I have removed the comment in front of extension lDAP. I don’t know what to update in windows environment variables. Can you please guide how to add the LDAP env variables.
LDAP extension is enabled in php.ini file. After that restarted the IIS server.
Even added the LDAP configuration in .env file as suggested in documentation, still not working. and theere are no errors related to LDAP in error log files.