Implement LDAP Facility in OrangeHRM
Implement LDAP Facility in OrangeHRM
net
SEARCH
Lemon Blog
Get latest NEWS, UPDATES & INFORMATIVE articles published here
Web Development
This article is about enabling LDAP authentication procedure in OrangeHRM so it has been considered
from my side that you must have the knowledge about Orange HRM system. If you are not aware of
OHRM, then please go to www.orangehrm.com.
I have implemented this facility using adLDAP which is nothing but a PHP
class that provides LDAP authentication and integration with Active
Directory. Another thing that I have installed OrangeHRM on win XP.
require_once(dirname(__FILE__) .
'/lib/common/ldap/adLDAP.php');
$adldap = new adLDAP();
$ldapFile = ROOT_PATH .
"/lib/common/ldap/adLDAP.php";
$_SESSION['ldap'] = "enabled";
$_SESSION['ldapStatus'] = "enabled";
Now call the adLDAP class's method
authenticate() using adLDAP object in place of
ldapAuth() as shown at the place of
authentication code.
$ldapAuth = $adldap->authenticate($rset[0][0],
$_POST['txtPassword']);
Please follow How to enable LDAP to get information about OrangeHRM LDAP
module work.
Hey as above has done with OrangeHRM using adLDAP, both are opensource
projects developed using PHP. In my case it has been worked successfully.
As I have also searched for this issue drastically but didn't got any solution
so after achieved the solution me presenting this piece of work to you.
Please let me know your reviews and comments if any...
Happy(0)
Love(0)
Surprised(0)
Sad(0)
Angry(0)
ABOUT
An experienced web master with more than 10 years of functional web design experiences and have
designed websites and applications since 2006 as a freelance web-designer, mastering coding,
deployment, database, designs and more.
Learn more