Difference between revisions of "Debian LDAP Server Installation"

From Supercomputación y Cálculo Científico UIS
Line 14: Line 14:
 
<center>
 
<center>
 
[[Image:Ldapserver1.png| 600 px]]
 
[[Image:Ldapserver1.png| 600 px]]
 +
</center>
 +
 +
<center>
 +
[[Image:Ldapserver2.png| 600 px]]
 
</center>
 
</center>
  

Revision as of 21:00, 25 August 2014

Debian LDAP Server Installation

1) Install the following packages

       apt-get install slapd ldap-utils


2) Configure LDAP. Debian installation scripts show a window where you can configure some parameters

       Set the LDAP administrator password
       Retype the password

Ldapserver1.png

Ldapserver2.png


NOTA: Se crea una cuenta "admin" con el dn diguiendo el dominio DNS de la máquina

3) Puede chequear la configuración con el comando

       slapcat

4) Agregar un nuevo directorio.

       4.1) Edite un archivo base.ldif y agregue las siguientes líneas
               # create new
               # change to your own suffix for the field 'dc=server,dc=world'
               dn: ou=people,dc=uis,dc=edu,dc=co
               objectClass: organizationalUnit
               ou: people
               dn: ou=groups,dc=uis,dc=edu,dc=co
               objectClass: organizationalUnit
               ou: groups 
       4.2) Agregue con el comando
               ldapadd -x -D cn=admin,dc=uis,dc=edu,dc=co -W -f base.ldif