Ldap
Jump to navigation
Jump to search
https://help.ubuntu.com/community/OpenLDAPServer
Packages[edit]
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii ldap-utils 2.4.7-6ubuntu3 OpenLDAP utilities ii libldap-2.4-2 2.4.7-6ubuntu3 OpenLDAP libraries ii slapd 2.4.7-6ubuntu3 OpenLDAP server (slapd)
Config files[edit]
- /etc/ldap/slapd.conf
- /etc/ldap/schema/mozillaAbPersonAlpha.schema
Debug[edit]
Start server with
slapd -d 5000
Use higher number for more debug info
Following the Ubuntu recipe, I get a mostly-working ldap server, but I can't connect normally from GQ. I get the error that unauthenticated bind is not allowed. Just had to re-create my GQ server settings. Now it works. Also, Thunderbird can see the address book.
But this works when done on the server:
ldapsearch -xLLL -b "dc=finninday,dc=net"
Hmm, and this works remotely:
ldapsearch -xLLL -b "dc=finninday,dc=net" -h finninday.net
Backup[edit]
slapcat > /store/backup/address-book.ldif