Phpscheduleit ldap Authentication | Integration | integration | external auth | Redhat | Fedora

How to Integrate Ldap authentication on Phpscheduleit


We can enable the LDAP authentication on phpscheduleit by manually editing the config file.
Edit the config.php file located in phpScheduleIt/config and make the follwoing changes.

#vim config.php
$conf['ldap']['authentication'] = true;
$conf['ldap']['host'] = 'ldapserverip';
$conf['ldap']['port'] = 389;
$conf['ldap']['basedn'] = "ou=People,dc=example,dc=com";
$conf['ldap']['lookupid'] = 'uid=root,ou=People,dc=example,dc=com';
$conf['ldap']['lookuppwd'] = 'secret';
$conf['ldap']['ssl'] = false;

$conf['app']['allowSelfRegistration'] = 0;
$conf['app']['useLogonName'] = 1;  ( Otherwise you have to login using email id)

Save the changes. Now you can login using the ldap users. During the first login, user session will be created.
You can login using default admin and change the permissions of already logged-in ldap users.
(Grant admin permission, change group, edit permission etc)



FOLLOW US :-    
   





0 comments :

Post a Comment