ldap_service
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ldap_service [2006/02/25 15:32] – /* Installation */ _bacam | ldap_service [2026/09/27 03:43] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * Runs on [[baker]] - '' | ||
| - | |||
| - | |||
| - | ====== Issues ====== | ||
| - | |||
| - | * Potentially running out of randomness. | ||
| - | |||
| - | |||
| - | ====== Installation ====== | ||
| - | |||
| - | |||
| - | (Usual caveats; stuff might have changed, pay attention, etc) | ||
| - | |||
| - | Install slapd, and optionally ldap-utils and ldapvi (should you want to be able to try it out from the server). | ||
| - | The slapd package attempts to be helpful, asking a bunch of configuration questions and starting the service. | ||
| - | reconfigure the package. | ||
| - | |||
| - | < | ||
| - | piper:~# / | ||
| - | piper:~# dpkg-reconfigure slapd | ||
| - | </ | ||
| - | |||
| - | Keep a copy of the default configuaration in case someone wants to see how Debian configures stuff, and copy across the main configuration file, the SSL files and the schema files that don't ship with OpenLDAP. | ||
| - | this stuff, as some of it can probably be chucked. | ||
| - | |||
| - | < | ||
| - | piper:~# cd /etc/ldap | ||
| - | piper:/ | ||
| - | piper:/ | ||
| - | |||
| - | root@baker: | ||
| - | root@baker:/ | ||
| - | root@baker:/ | ||
| - | root@baker:/ | ||
| - | root@baker:/ | ||
| - | </ | ||
| - | |||
| - | At this point it should start and stop without moaning about syntax errors. | ||
| - | |||
| - | < | ||
| - | piper:/ | ||
| - | Starting OpenLDAP: running BDB recovery, slapd. | ||
| - | piper:/ | ||
| - | Stopping OpenLDAP: slapd. | ||
| - | </ | ||
| - | |||
| - | Now grab a recent backup, comment out the " | ||
| - | |||
| - | < | ||
| - | piper:/ | ||
| - | piper:/ | ||
| - | |||
| - | <comment out search and result lines near end> | ||
| - | |||
| - | piper:/ | ||
| - | piper:/ | ||
| - | piper:/ | ||
| - | mv: cannot move `old' to a subdirectory of itself, `old/ | ||
| - | piper:/ | ||
| - | piper:/ | ||
| - | </ | ||
| - | |||
| - | Now you're ready to test it. | ||
| - | |||
| - | |||
| - | |||
ldap_service.1140881545.txt.gz · Last modified: (external edit)
