IceHrm
This section describes the process of configuring LDAP with IceHrm.
PHP LDAP extension should be installed for LDAP to work. Also, make sure you can connect to the LDAP host via the provided port.
Before using please install PHP-LDAP module.
For PHP 5.3 $> sudo apt-get install php5-ldapFor PHP 7.0 $> sudo apt-get install php-ldapFor PHP 7.3 $> sudo apt-get install php7.3-ldap
$> sudo apt-get install php5-ldap
$> sudo apt-get install php-ldap
$> sudo apt-get install php7.3-ldap
For using PHP LDAP on windows please refer
LDAP can be enabled via System -> Settings -> LDAP. Make sure to configure all the parameters correctly
IceHrm can not extract users automatically from LDAP. You need to create a matching user in IceHrm with the same username. For example, if you have a user in your LDAP with username “user1″ and password “pass123”. Then you need to:
The user “admin” will always login with the local DB username and password (even LDAP is enabled).
This is a way to debug your LDAP setup. You can try to connect to a test LDAP server to find out if the problem is with your LDAP setup or IceHrm.
Use these configs to test LDAP connection with the following test LDAP server http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/
Then create a user with username “riemann” under System->Users.
Logout and try login with riemann/password
If you are facing login issues after enabling LDAP, you can still login as user “admin” and disable LDAP.
Powered by BetterDocs