{"id":1339,"date":"2008-08-19T16:49:56","date_gmt":"2008-08-19T16:49:56","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=1339"},"modified":"2019-10-11T18:53:46","modified_gmt":"2019-10-11T18:53:46","slug":"openldap","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/openldap\/","title":{"rendered":"OpenLDAP"},"content":{"rendered":"<p>This page was originally set up when considering putting a personal LDAP server on the web. This didn&#8217;t happen, but the problem of having one address book permanently available still needs to be solved. I got as far as starting a server, although it seems I need root user privilege. None of the vendors help; they want this data private to them, and to create stickiness to them. I amended the page significantly in July 2013, when I copied it across to this wordpress wiki. I fixed the linkroll in March 2014 as I expect to want to install a server as part of my pump.io project. <!--more--><\/p>\n<p>Obviously a start point is <a href=\"http:\/\/www.openldap.org\/\">http:\/\/www.openldap.org\/<\/a>, which has a bunch of definitive manual resources.<\/p>\n<p>Unlike some of the RDBMS&#8217;s the directory arrives empty, although the user installation process has installed some entries.<\/p>\n<p>How do I install a global administration user? Do i need one?<\/p>\n<p>The usual tools work for start and stop and ldapsearch works from the command line. The Thunderbird address book can read entries in the directory but not drag &amp; drop to the directory.<\/p>\n<p>The OpenLDAP FAQ-o-matic has <a href=\"http:\/\/www.openldap.org\/faq\/index.cgi?_highlightWords=client&amp;file=1005\">an addressbook tutorial<\/a> that deals with both the permissions and LDIF updates required to get an addressbook working.<\/p>\n<p>The browser with ldap:\/\/${hostname} finds the server but can&#8217;t query the database, it find no matches.<\/p>\n<p>Interestingly the `domainname` is not set, is there a reason for this.<\/p>\n<h3>Putting things right<\/h3>\n<p>Firstly we need to enable channel 4 on the syslogd. This involves editing \/etc\/syslogd.conf<\/p>\n<div>\n<pre>local4.*       \/var\/log\/slapd.log<\/pre>\n<\/div>\n<p>then insert a<\/p>\n<div>\n<pre>loglevel             -1<\/pre>\n<\/div>\n<p>in the slapd.conf file. This ensure maximum debug written to the log file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page was originally set up when considering putting a personal LDAP server on the web. This didn&#8217;t happen, but the problem of having one address book permanently available still needs to be solved. I got as far as starting a server, although it seems I need root user privilege. None of the vendors help;&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2563,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[27,3],"tags":[437,1184,435,436,920,911],"class_list":["post-1339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-technology","tag-addressbook","tag-deprecated","tag-ldap","tag-openldap","tag-software","tag-technology"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2008\/08\/LDAPworm.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=1339"}],"version-history":[{"count":4,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1339\/revisions"}],"predecessor-version":[{"id":2564,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1339\/revisions\/2564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/2563"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=1339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=1339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=1339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}