Open LDAP on Debian

Begin by installing the server with a 'apt-get install slapd'

Optionally you can install this web admin tool: 'apt-get install phpldapadmin'.
It's great to easily add entries with the predefined templates.
According to this wiki you can change the awkward login to avoid typing the full dn of the user you want to login with.
Edit the phpldapadmin.conf file:

replace
$ldapservers->SetValue($i,'login','attr','dn');
with
$ldapservers->SetValue($i,'login','attr','uid');

Next I wanted a simple address book setup. This is a good example as it comes very close to what I wanted. A nice manual is most welcome.
Here's my acl list:

access to attrs=userPassword,shadowLastChange
by dn="uid=administrator,ou=people,dc=oger-partners,dc=be" write
by anonymous auth
by self write
by users read
by * none

access to attrs=uid
by * search
by * none

access to dn.regex="^uid=([^,]+),ou=people,dc=oger-partners,dc=be$"
attrs=entry,objectClass
by dn.exact,expand="uid=$1,ou=people,dc=oger-partners,dc=be" write
by anonymous read
by users none

access to dn.regex="^uid=([^,]+),ou=people,dc=oger-partners,dc=be$"
attrs=children
by dn.exact,expand="uid=$1,ou=people,dc=oger-partners,dc=be" write
by users none

access to dn.regex="[^,]+,uid=([^,]+),ou=people,dc=oger-partners,dc=be$"
attrs=entry,children
by dn.exact,expand="uid=$1,ou=people,dc=oger-partners,dc=be" write
by users none

access to dn="ou=people,dc=oger-partners,dc=be"
by * read
by * search

access to dn="dc=oger-partners,dc=be"
by * read

access to *
by users read
by * none

Next my SO wanted to use secondary emails from Thunderbird.
The solution consisted of finding the ldap schema equivalent. Google mozillaAbPersonAlpha.schema and you should easily find a downloadable version. Still I had to tweak the objectclass definition by replacing AUXILIARY with STRUCTURAL and all is well.