OpenLDAP: Directory service installation

We are going to install a OpenLDAP server in Debian Etch ditribution.

LDAP (Lightweight Directory Access Protocol) is a directory service hierachy and ditributed, where we can store many information as users, passwords, permisions, cetifications,….

Installation:

  • Apt adds more packages: libltdl3 (wrappers using library), libperl (perl), libslp1(OpenSLP Networ Sevices localization protocol).
elite:~# apt-get install slapd ldap-utils
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Se instalarán los siguientes paquetes extras:
  libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libslp1 psmisc
Paquetes sugeridos:
  slpd openslp-doc
Paquetes recomendados
  libsasl2-modules
Se instalarán los siguientes paquetes NUEVOS:
  ldap-utils libiodbc2 libldap-2.3-0 libltdl3 libperl5.8 libslp1 psmisc slapd
0 actualizados, 8 se instalarán, 0 para eliminar y 1 no actualizados.
Necesito descargar 2582kB de archivos.
Se utilizarán 6722kB de espacio de disco adicional después de desempaquetar.
  • Configuration:
    • Ask for the passord for administrator user of the LDAP repository (admin).
  • Ask for your domain name, my domain: lebrijo.com
  • If we want fill a log for the pettions to our directory; in the file /etc/ldap/slapd.conf you must write: loglevel 8
  • Redirect LDAP’s log entries to separated file; in the file /etc/syslog.conf, uncomment (or write) the line local4.* /var/log/ldap. This action is for not overload our syslog.

In the future we will see how to install an administrative web-tool called phpLDAPadmin, for a remote and comfortable administration of our LDAP directory.

If you want to study in depth this subject, follow the link in the table:

Origin http://www.openldap.org/
Repository http://www.openldap.org/software/download/
Package apt 2.3.30-5
Documentation (Spanish) http://bulma.net/body.phtml?nIdNoticia=1991
Documentation (English) http://www.openldap.org/
Files Configuration: /etc/ldap/slapd.conf
Working directory: /var/lib/ldap
Daemon manage script: /etc/init.d/slapd
Log: /var/log/ldap
Ports 389 TCP/UDP
LDAP-SSL: 636 TCP/UDP

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>