{"id":127,"date":"2017-10-08T09:59:00","date_gmt":"2017-10-08T09:59:00","guid":{"rendered":"https:\/\/linuxadmin.melberi.com\/uncategorized\/phpscheduleit-ldap-authentication"},"modified":"2017-10-08T14:55:47","modified_gmt":"2017-10-08T14:55:47","slug":"booked-ldap","status":"publish","type":"post","link":"https:\/\/www.melberi.com\/linuxadmin\/booked-scheduler\/booked-ldap","title":{"rendered":"Booked (Phpscheduleit) ldap Authentication"},"content":{"rendered":"<p>How to Integrate Ldap authentication on Booked Scheduler\u00a0(Formerly Phpscheduleit) External auth in Redhat Fedora CentOS Debian Ubuntu.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>ldap Authentication<\/strong><\/span><\/h3>\n<p>We can enable the LDAP authentication on phpscheduleit by manually editing the config file.<br \/>\nEdit the config.php file located in phpScheduleIt\/config and make the follwoing changes.<\/p>\n<p><b>#vim config.php<\/b><\/p>\n<div style=\"background-color: #cccccc;\"><b>$conf[&#8216;ldap&#8217;][&#8216;authentication&#8217;] = true;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;host&#8217;] = &#8216;ldapserverip&#8217;;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;port&#8217;] = 389;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;basedn&#8217;] = &#8220;ou=People,dc=example,dc=com&#8221;;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;lookupid&#8217;] = &#8216;uid=root,ou=People,dc=example,dc=com&#8217;;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;lookuppwd&#8217;] = &#8216;secret&#8217;;<br \/>\n$conf[&#8216;ldap&#8217;][&#8216;ssl&#8217;] = false;<\/b><\/div>\n<p><b style=\"background-color: #cccccc;\">$conf[&#8216;app&#8217;][&#8216;allowSelfRegistration&#8217;] = 0;<\/b><br \/>\n<b style=\"background-color: #cccccc;\">$conf[&#8216;app&#8217;][&#8216;useLogonName&#8217;] = 1;<\/b><\/p>\n<p>(Otherwise you have to login using email id)<\/p>\n<p>Save the changes. Now you can login using the ldap users. During the first login, user session will be created.<br \/>\nYou can login using default admin and change the permissions of already logged-in ldap users.<br \/>\n(Grant admin permission, change group, edit permission etc)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Integrate Ldap authentication on Booked Scheduler\u00a0(Formerly Phpscheduleit) External auth in Redhat Fedora CentOS Debian Ubuntu. ldap Authentication We can enable the LDAP authentication on phpscheduleit by manually editing&#8230; <a href=\"https:\/\/www.melberi.com\/linuxadmin\/booked-scheduler\/booked-ldap\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/127"}],"collection":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":4,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":471,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/posts\/127\/revisions\/471"}],"wp:attachment":[{"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melberi.com\/linuxadmin\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}