Projet

Général

Profil

LDAP » Historique » Révision 18

Révision 17 (Patrice Nadeau, 2016-06-24 16:17) → Révision 18/20 (Patrice Nadeau, 2016-06-24 16:19)

h1. LDAP 

 > Problème : #26 

 {{lastupdated_at}} {{lastupdated_by}} 

 openSUSE Leap 42.1 

 --- 

 {{toc}} 

 h2. Installation 

 <pre><code class="bash"> 
 zyper install yast2-auth-server krb5-client krb5-server 
 # Kerberos support 
 zypper install krb5-plugin-kdb-ldap 
 </code></pre> 

 h3. Démarrage 

 <pre><code class="bash"> 
 systemctl enable slapd,service 
 systemctl start slapd.service 
 </code></pre> 

 h2. Configuration 

 h3. YaST 

 <pre><code class="bash"> 
 yast auth-server 
 </code></pre> 

 # Authentication Settings 
 ## Configure 

 h3. CLI 

 Créer un fichier org.ldif 
 <pre><code class="bash"> 
 # The Organization 
 dn: dc=example,dc=com 
 objectClass: dcObject 
 objectClass: organization 
 o: Example dc: example 

 # The organizational user container (user) 
 dn: ou=users,dc=example,dc=com 
 objectClass: organizationalUnit 
 ou: users 
 </code></pre>