gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
599 stars 376 forks source link

LDAP not working #87

Open medievalhellspawn999 opened 6 years ago

medievalhellspawn999 commented 6 years ago

image

Above is my LDAP configuration. My system is Ubuntu 16.04.3 LTS with MariaDB 10.0.31, PHP5.6 with PHP5.6-LDAP via PPA ondrej/php, NGINX 1.10.3

I did notice the red warning to install PHP5 from http://icehrm.github.io/docs/ldap/ yet the current Ubuntu version no longer has php5 in it's repository. I also installed ldap-utils to test using ldapsearch command to verify that my connection to ldap was binding and got results [it was good].

When ldap was enabled, the users are unable to login. Please advise.

var-log-skynet commented 6 years ago

LDAP:Enabled is set to 0 on your screenshot.

Also you have to add users/employees manually - matching the LDAP uid. (I've used sAMAccountName attribute instead - MS AD).

medievalhellspawn999 commented 6 years ago

Thank you leftbrake for the response. When I took the screenshot, I had already disabled it. I will try the matching LDAP uid as sAMAccountName. I'll let you know if it worked next week when I go to work.