I have followed the steps that you have mentioned in this blog. For the base dn they have given something like 'Base DN - dc=,dc=', but I gave something like 'ecompany.local'. Since I am not the admin of the ldap, I gave the principal as the my ldap id and credentials my ldap password . When I clicked on test connection, I got the popup window that shows "Liferay has successfully connected to the LDAP server" .
Next, I followed the steps regarding Authentication Search Filter, Import search filter and User Mapping. But when I Clicked on test ldap users, popup window showed that there are no users currently(this might be because I do not have the ldap admin credentials. )
SAVED the configuration.
Went to control panel --> Authenticaion --> LDAP, checked enabled, import enabled and import on start up enabled.
Restarted the server.
Clicked on sign in. Fed in the ldap login credentials, and I am not able to login using the ldap credentials. But can login using Liferay's id and password. Why?