LDAP Config

LDAP Settings

This section describe the process of configuring LDAP with IceHrm

php5-ldap

PHP5 LDAP extension should be installed for LDAP to work. Also make sure all required outbound ports are opened

Before using please install php5-ldap module. R Run following command to install php5-ldap

$> sudo apt-get install php5-ldap

For using php ldap on windows please refer

No LDAP for user with username "admin"

The user "admin" will always login with local db username and password (even LDAP is enabled)

Use these config to test LDAP connection with following test LDAP server http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/

Change configs as follows under System->Settings

Setting Description

LDAP: Enabled

Yes

LDAP: Server

ldap.forumsys.com

LDAP: Port

389

LDAP: Root DN

dc=example,dc=com

LDAP: Manager DN

cn=read-only-admin,dc=example,dc=com

LDAP: Manager Password

password

LDAP: Version 3

Yes

LDAP: User Filter

uid={}

Then create a user with username “riemann” under System->Users

Logout and try login with riemann/password

Issue with LDAP

If you are facing login issues after enabling LDAP, you can still login as user "admin" and disable LDAP