LDAP » Historique » Version 13
Patrice Nadeau, 2016-06-24 16:10
| 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 | 13 | Patrice Nadeau | zyper install yast2-auth-server |
| 17 | 1 | Patrice Nadeau | </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 | 10 | Patrice Nadeau | h3. YaST |
| 33 | |||
| 34 | <pre><code class="bash"> |
||
| 35 | yast users |
||
| 36 | </code></pre> |
||
| 37 | |||
| 38 | 11 | Patrice Nadeau | # Authentication Settings |
| 39 | 12 | Patrice Nadeau | ## Configure |
| 40 | |||
| 41 | 10 | Patrice Nadeau | |
| 42 | h3. CLI |
||
| 43 | 4 | Patrice Nadeau | |
| 44 | Créer un fichier org.ldif |
||
| 45 | <pre><code class="bash"> |
||
| 46 | # The Organization |
||
| 47 | dn: dc=example,dc=com |
||
| 48 | objectClass: dcObject |
||
| 49 | objectClass: organization |
||
| 50 | o: Example dc: example |
||
| 51 | |||
| 52 | # The organizational user container (user) |
||
| 53 | dn: ou=users,dc=example,dc=com |
||
| 54 | objectClass: organizationalUnit |
||
| 55 | ou: users |
||
| 56 | </code></pre> |