OpenLDAP 2.4.11: Difference between revisions
m (page started) |
(added DB remark) |
||
Line 5: | Line 5: | ||
Installing OpenLDAP on your Debian server is ridiculously simple. Just make sure your server is up-to-date (''sudo apt-get update'' followed by ''sudo apt-get upgrade''), and then install the two main components for your OpenLDAP server: | Installing OpenLDAP on your Debian server is ridiculously simple. Just make sure your server is up-to-date (''sudo apt-get update'' followed by ''sudo apt-get upgrade''), and then install the two main components for your OpenLDAP server: | ||
sudo apt-get install slapd ldap-utils | sudo apt-get install slapd ldap-utils | ||
The Debian configuration script will ask you for an administrator password. As always: generate a strong password! | The Debian configuration script will ask you for an administrator password. As always: generate a strong password! When you've provided the password, the LDAP database is created with the administrator name "admin" and the | ||
The database that your OpenLDAP server uses is a standard Berkeley DB (BDB) database. Now we most likely will require some other databases as well in our server setup, something modern like PostgreSQL or MySQL - so why don't we configure our OpenLDAP to use this same database as well? For the answer, see [http://www.openldap.org/doc/admin24/intro.html#LDAP%20vs%20RDBMS here] - in short, the LDAP tree structure does not lend itself very well to inclusion in a modern relational database. |
Revision as of 08:43, 29 August 2008
OpenLDAP installation
Note: we're going to install OpenLDAP on our server as the local directory service, without replication, referrals or other advanced features.
Installing OpenLDAP on your Debian server is ridiculously simple. Just make sure your server is up-to-date (sudo apt-get update followed by sudo apt-get upgrade), and then install the two main components for your OpenLDAP server:
sudo apt-get install slapd ldap-utils
The Debian configuration script will ask you for an administrator password. As always: generate a strong password! When you've provided the password, the LDAP database is created with the administrator name "admin" and the
The database that your OpenLDAP server uses is a standard Berkeley DB (BDB) database. Now we most likely will require some other databases as well in our server setup, something modern like PostgreSQL or MySQL - so why don't we configure our OpenLDAP to use this same database as well? For the answer, see here - in short, the LDAP tree structure does not lend itself very well to inclusion in a modern relational database.