LDAP » Historique » Version 8
Patrice Nadeau, 2016-06-24 15:50
| 1 | 5 | Patrice Nadeau | h1. LDAP |
|---|---|---|---|
| 2 | 1 | Patrice Nadeau | |
| 3 | 5 | Patrice Nadeau | > Problème : #26 |
| 4 | 4 | Patrice Nadeau | |
| 5 | 6 | Patrice Nadeau | {{lastupdated_at}} {{lastupdated_by}} |
| 6 | |||
| 7 | 7 | Patrice Nadeau | openSUSE Leap 42.1 |
| 8 | |||
| 9 | 1 | Patrice Nadeau | --- |
| 10 | 6 | Patrice Nadeau | |
| 11 | {{toc}} |
||
| 12 | 1 | Patrice Nadeau | |
| 13 | 5 | Patrice Nadeau | h2. Installation |
| 14 | 1 | Patrice Nadeau | |
| 15 | <pre><code class="bash"> |
||
| 16 | zyper install openldap2 |
||
| 17 | </code></pre> |
||
| 18 | |||
| 19 | 3 | Patrice Nadeau | Si le serveur doit être accessible à partir d'une autre machine, ouvrir l'application dans le pare-feu : |
| 20 | 2 | Patrice Nadeau | <pre><code class="bash"> |
| 21 | 8 | Patrice Nadeau | yast firewall services add service=service:openldap zone=EXT |
| 22 | 2 | Patrice Nadeau | </code></pre> |
| 23 | |||
| 24 | Démarrage |
||
| 25 | <pre><code class="bash"> |
||
| 26 | 7 | Patrice Nadeau | systemctl enable slapd,service |
| 27 | systemctl start slapd.service |
||
| 28 | 2 | Patrice Nadeau | </code></pre> |
| 29 | |||
| 30 | 5 | Patrice Nadeau | h2. Configuration |
| 31 | 4 | Patrice Nadeau | |
| 32 | La configuration peut être faite avec YaST. |
||
| 33 | Cette documentation explique la méthode longue (mais complète). |
||
| 34 | |||
| 35 | Créer un fichier org.ldif |
||
| 36 | <pre><code class="bash"> |
||
| 37 | # The Organization |
||
| 38 | dn: dc=example,dc=com |
||
| 39 | objectClass: dcObject |
||
| 40 | objectClass: organization |
||
| 41 | o: Example dc: example |
||
| 42 | |||
| 43 | # The organizational user container (user) |
||
| 44 | dn: ou=users,dc=example,dc=com |
||
| 45 | objectClass: organizationalUnit |
||
| 46 | ou: users |
||
| 47 | </code></pre> |