OpenLDAP

This page was originally set up when considering putting a personal LDAP server on the web. This didn’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.

I have set up a del.icio.us tag=ldap to record the useful links. Obviously a start point is http://www.openldap.org/, which has a bunch of definitive manual resources. Here are my links,

Unlike some of the RDBMS’s the directory arrives empty, although the user installation process has installed some entries.

How do I install a global administration user? Do i need one?

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 & drop to the directory.

The OpenLDAP FAQ-o-matic has an addressbook tutorial that deals with both the permissions and LDIF updates required to get an addressbook working.

The browser with ldap://${hostname} finds the server but can’t query the database, it find no matches.

Interestingly the `domainname` is not set, is there a reason for this.

Putting things right

Firstly we need to enable channel 4 on the syslogd. This involves editing /etc/syslogd.conf

local4.*       /var/log/slapd.log

then insert a

loglevel             -1

in the slapd.conf file. This ensure maximum debug written to the log file.

Related Posts

  • Disqus This is page contains complex html i.e. javascript, the page must only be edited as […]
  • ERP Obviously ERP has been around a while, in my researches, I came across these two open […]
  • Upgrading MacOS X And on to 10.9 There was a rumour that it was best to stop at 10.8, Mountain Lion but […]
  • Snipsnap and the ‘html’ macro One of the add on features contributed  by the community to the snipsnap project was an […]
  • Decorating Blockquotes Now I have one of those pretty quote decorations in my quotes on this wiki. The […]

2 thoughts on “OpenLDAP

Leave a Reply

Your email address will not be published. Required fields are marked *