~ubuntu-fr-webteam/ubuntu-fr-guide/trunk

« back to all changes in this revision

Viewing changes to htdocs/13.04/server/samba-ldap.html

  • Committer: YoBoY
  • Date: 2013-10-21 19:25:57 UTC
  • Revision ID: yoboy.leguesh@gmail.com-20131021192557-3l2vdm0ajfd8zdrs
Ajout des fichiers HTML pour les guides 13.10
Mise à jour des traductions pour les guides serveurs
Modification des liens symboliques et du fichier index.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        Strictly speaking, the <span class="app application">smbldap-tools</span> package isn't needed, but unless you have some other way to manage the various
62
62
        Samba entities (users, groups, computers) in an LDAP context then you should install it.  
63
63
        </p>
64
 
<p class="para">
65
 
        Install these packages now:
66
 
        </p>
 
64
<p class="para">Maintenant, installez ces paquets :</p>
67
65
<div class="screen"><pre class="contents "><span class="cmd command">sudo apt-get install samba samba-doc smbldap-tools</span>
68
66
</pre></div>
69
67
</div></div>
72
70
<div class="hgroup"><h2 class="title">Configuration LDAP</h2></div>
73
71
<div class="region">
74
72
<div class="contents">
75
 
<p class="para">
76
 
        We will now configure the LDAP server so that it can accomodate Samba data. We will perform three tasks in this section:
77
 
        </p>
 
73
<p class="para">Nous allons maintenant configurer le serveur LDAP afin qu'il puisse accueillir les données de Samba. Nous allons effectuer trois tâches dans cette section :</p>
78
74
<div class="steps"><div class="inner"><ol class="steps">
79
75
<li class="steps">
80
76
                <p class="para">Import a schema</p>
96
92
        </p>
97
93
<div class="note" title="Note"><div class="inner"><div class="region"><div class="contents">
98
94
                <p class="para">
99
 
                For more information on schemas and their installation see <a class="xref" href="openldap-server.html#openldap-configuration" title="Modifying the slapd Configuration Database">Modifying the slapd Configuration Database</a>.
 
95
                For more information on schemas and their installation see <a class="xref" href="openldap-server.html#openldap-configuration" title="Modification de la base de données de configuration slapd">Modification de la base de données de configuration slapd</a>.
100
96
                </p>
101
97
        </div></div></div></div>
102
98
<div class="steps"><div class="inner"><ol class="steps">
185
181
<div class="screen"><pre class="contents "><span class="cmd command">sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f cn\=samba.ldif</span>
186
182
</pre></div>
187
183
 
188
 
                <p class="para">
189
 
                To query and view this new schema:
190
 
                </p>
 
184
                <p class="para">Pour interroger et voir ce nouveau schéma :</p>
191
185
 
192
186
<div class="screen"><pre class="contents "><span class="cmd command">sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=schema,cn=config 'cn=*samba*'</span>
193
187
</pre></div>
223
217
<p class="para">Avec l'utilitaire <span class="app application">ldapmodify</span>, charger les nouveaux indices :</p>
224
218
<div class="screen"><pre class="contents "><span class="cmd command">sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f samba_indices.ldif</span>
225
219
</pre></div>
226
 
<p class="para">
227
 
        If all went well you should see the new indices using <span class="app application">ldapsearch</span>:
228
 
        </p>
 
220
<p class="para">Si tout s'est bien passé, vous devriez voir les nouveaux indices en utilisant <span class="app application">ldapsearch</span> :</p>
229
221
<div class="screen"><pre class="contents "><span class="cmd command">sudo ldapsearch -Q -LLL -Y EXTERNAL -H \ ldapi:/// -b cn=config olcDatabase={1}hdb olcDbIndex</span>
230
222
</pre></div>
231
223
</div></div>