Projet

Général

Profil

LDAP » Historique » Version 6

Patrice Nadeau, 2016-06-08 18:14

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 1 Patrice Nadeau
---
8 6 Patrice Nadeau
9
{{toc}}
10 1 Patrice Nadeau
11 5 Patrice Nadeau
h2. Installation
12 1 Patrice Nadeau
13
<pre><code class="bash">
14
zyper install openldap2
15
</code></pre>
16
17 3 Patrice Nadeau
Si le serveur doit être accessible à partir d'une autre machine, ouvrir l'application dans le pare-feu :
18 2 Patrice Nadeau
<pre><code class="bash">
19
yast firewall services add service=service:ldap zone=EXT
20
</code></pre>
21
22
Démarrage
23
<pre><code class="bash">
24
# Not working yet with systemd or I've not found the way ...
25
# systemctl enable ldap
26
chkconfig ldap on
27
systemctl start ldap
28
</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>