Difference between revisions of "Ldap"
From Finninday
(New page: Category: Installation notes https://help.ubuntu.com/community/OpenLDAPServer ===Packages=== <pre> Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/F...) |
(→Backup) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
ii slapd 2.4.7-6ubuntu3 OpenLDAP server (slapd) | ii slapd 2.4.7-6ubuntu3 OpenLDAP server (slapd) | ||
</pre> | </pre> | ||
+ | |||
+ | ===Config files=== | ||
+ | */etc/ldap/slapd.conf | ||
+ | */etc/ldap/schema/mozillaAbPersonAlpha.schema | ||
+ | |||
+ | ===Debug=== | ||
+ | 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=== | ||
+ | slapcat > /store/backup/address-book.ldif |
Latest revision as of 19:15, 30 April 2008
https://help.ubuntu.com/community/OpenLDAPServer
Contents
Packages
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
- /etc/ldap/slapd.conf
- /etc/ldap/schema/mozillaAbPersonAlpha.schema
Debug
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
slapcat > /store/backup/address-book.ldif