<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2558621851827256687</id><updated>2024-09-13T07:29:44.278+03:00</updated><category term="Squeeze"/><category term="debian"/><category term="LDAP"/><category term="Controleur de domaine"/><category term="PDC"/><category term="Samba"/><category term="NSS"/><category term="PAM"/><category term="Wheezy"/><category term="Windows serveur"/><category term="Active Directory"/><category term="Cisco"/><category term="DHCP"/><category term="Jessie"/><category term="Kerberos"/><category term="Logs"/><category term="MySQL"/><category term="Windows"/><category term="Asterisk"/><category term="Basculement"/><category term="Cacti"/><category term="DNS"/><category term="Dynamique"/><category term="Failover"/><category term="Hardware"/><category term="LDAPS"/><category term="Lenny"/><category term="Linux"/><category term="Logwatch"/><category term="MDS"/><category term="MMC"/><category term="Mandriva"/><category term="Monitoring"/><category term="NTP"/><category term="Replication"/><category term="SIP"/><category term="SSl"/><category term="TLS"/><category term="Testing"/><category term="Touchpad"/><category term="VPN"/><category term="Xfce"/><category term="openvpn"/><category term="sid"/><title type='text'>arand263</title><subtitle type='html'>&lt;strong&gt;Ceci est un autre blog d&#39;administration système &lt;/strong&gt;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://arand263.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-968402371497286042</id><published>2015-07-17T12:18:00.000+03:00</published><updated>2015-07-17T13:25:45.284+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Jessie"/><category scheme="http://www.blogger.com/atom/ns#" term="NTP"/><category scheme="http://www.blogger.com/atom/ns#" term="Wheezy"/><title type='text'>Dualboot Windows/Debian: heures différentes</title><content type='html'>Nombreux se sont plaind qu&#39;il y a un problème d&#39;heure lorsqu&#39;ils font du dualboot Windows/Debian.&lt;br /&gt;
En fait, ce n&#39;est pas un problème, seulement une configuration parfois nécessaire à faire.&lt;br /&gt;
&lt;br /&gt;
Je vais expliquer un peu ce qui se passe réelement.&lt;br /&gt;
Lorsque Windows démarre, il considère l&#39;heure que vous avez configuré dans votre bios comme heure locale du système, là il n&#39;y a rien à dire.&lt;br /&gt;
Ce qui n&#39;est pas le cas de Debian. Debian, lui, considère cette heure comme UTC pour ensuite afficher l&#39;heure local, là est la cause de cette difference d&#39;heure entre les deux systèmes.&lt;br /&gt;
&lt;br /&gt;
Voici ce qu&#39;il faut faire:&lt;br /&gt;
&lt;br /&gt;
Avant tout, il faut installet NTP, rien de plus facile ;)&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
apt-get install ntp&amp;nbsp;&lt;/blockquote&gt;
Puis, le principe est de dire à Debian qu&#39;il faut considérer cette heure configuré dans le bios comme heure locale.&lt;br /&gt;
Ouvrir le fichier suivant avec votre navigateur favori:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
vim /etc/adjtime&amp;nbsp;&lt;/blockquote&gt;
Et changer UTC en LOCAL&lt;br /&gt;
&lt;br /&gt;
Voilà :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/968402371497286042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/968402371497286042'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2015/07/dualboot-windowsdebian-heure-differentes.html' title='Dualboot Windows/Debian: heures différentes'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-631600833618468989</id><published>2015-07-17T11:52:00.000+03:00</published><updated>2015-07-17T12:19:34.308+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Jessie"/><category scheme="http://www.blogger.com/atom/ns#" term="Touchpad"/><category scheme="http://www.blogger.com/atom/ns#" term="Wheezy"/><category scheme="http://www.blogger.com/atom/ns#" term="Xfce"/><title type='text'>Activer Touchpad dans Xfce sur une Debian Wheezy/Jessie</title><content type='html'>&lt;br /&gt;
Depuis Wheezy, je n’étais pas trop fan de Gnome3.&lt;br /&gt;
Donc je suis passé à Xfce.&lt;br /&gt;
Le problème c’est que sur mon laptop le touchpad n’est pas activé par défaut dans Wheezy et aussi sur Jessie.&lt;br /&gt;
Voici comment l’activer :&lt;br /&gt;
&lt;br /&gt;
Ovrir le fichier suivant avec votre editeur préféré:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#vim /usr/share/X11/xorg.conf.d/XX-synaptics_custom.conf&lt;/blockquote&gt;
Puis, modifier la section suivante comme suit:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Section &quot;InputClass&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Identifier &quot;touchpad catchall&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Driver &quot;synaptics&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MatchIsTouchpad &quot;on&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MatchDevicePath &quot;/dev/input/event*&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &quot;TapButton1&quot; &quot;1&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &quot;VertEdgeScroll&quot; &quot;1&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Option &quot;HorizEdgeScroll&quot; &quot;1&quot;&lt;br /&gt;
EndSection&lt;/blockquote&gt;
&lt;br /&gt;
Redémarrer l&#39;ordinateur, et c&#39;est ok.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
#reboot&lt;/blockquote&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/631600833618468989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/631600833618468989'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2015/07/activer-touchpad-dans-xfce-sur-une.html' title='Activer Touchpad dans Xfce sur une Debian Wheezy/Jessie'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-4470595211123556139</id><published>2012-11-21T10:34:00.000+03:00</published><updated>2012-11-21T10:42:04.903+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Afficher les Informations matérielles en une seule commande</title><content type='html'>Pour afficher toutes les informations matériels sur votre ordinateur, il suffit de lancer la commande suivante:&lt;br /&gt;
&lt;br /&gt;
$ sudo dmidecode -s &amp;lt;argument&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp;Voici les arguments possibles:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; bios-vendor&lt;br /&gt;
&amp;nbsp; bios-version&lt;br /&gt;
&amp;nbsp; bios-release-date&lt;br /&gt;
&amp;nbsp; system-manufacturer&lt;br /&gt;
&amp;nbsp; system-product-name&lt;br /&gt;
&amp;nbsp; system-version&lt;br /&gt;
&amp;nbsp; system-serial-number&lt;br /&gt;
&amp;nbsp; system-uuid&lt;br /&gt;
&amp;nbsp; baseboard-manufacturer&lt;br /&gt;
&amp;nbsp; baseboard-product-name&lt;br /&gt;
&amp;nbsp; baseboard-version&lt;br /&gt;
&amp;nbsp; baseboard-serial-number&lt;br /&gt;
&amp;nbsp; baseboard-asset-tag&lt;br /&gt;
&amp;nbsp; chassis-manufacturer&lt;br /&gt;
&amp;nbsp; chassis-type&lt;br /&gt;
&amp;nbsp; chassis-version&lt;br /&gt;
&amp;nbsp; chassis-serial-number&lt;br /&gt;
&amp;nbsp; chassis-asset-tag&lt;br /&gt;
&amp;nbsp; processor-family&lt;br /&gt;
&amp;nbsp; processor-manufacturer&lt;br /&gt;
&amp;nbsp; processor-version&lt;br /&gt;
&amp;nbsp; processor-frequency&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/4470595211123556139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/4470595211123556139'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2012/11/afficher-les-infos-materiels.html' title='Afficher les Informations matérielles en une seule commande'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-6443848490538962839</id><published>2012-10-02T16:19:00.000+03:00</published><updated>2012-10-02T16:22:19.077+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Logs"/><category scheme="http://www.blogger.com/atom/ns#" term="Logwatch"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Wheezy"/><title type='text'>Logwatch sous debian: Cas particulier avec Atmailserver et Zimbra</title><content type='html'>C&#39;est un article inspiré de &lt;a href=&quot;http://www.isalo.org/wiki.debian-fr/index.php?title=Logwatch&quot; target=&quot;_blank&quot;&gt;ceci&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
Pré-requis:&lt;br /&gt;
Il faut que Zimbra ou Atmailserver soit installé et est opérationnel.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Mettre_son_syst.C3.A8me_.C3.A0_jour&quot;&gt;Mise à jour du système &lt;/span&gt;&lt;/h2&gt;
apt-get update&lt;br /&gt;
apt-get upgrade
&lt;br /&gt;
&lt;h2&gt;
&lt;span class=&quot;editsection&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Installez_Logwatch&quot;&gt;Installation de Logwatch &lt;/span&gt;&lt;/h2&gt;
apt-get install logwatch&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Configurez_Logwatch&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Configurez_Logwatch&quot;&gt;Configuration de Logwatch &lt;/span&gt;&lt;/h2&gt;
Editer le fichier de configuration de Logwatch &lt;br /&gt;
vim /usr/share/logwatch/default.conf/logwatch.conf&lt;br /&gt;
&lt;br /&gt;
Changer les lignes suivantes:&lt;br /&gt;
&lt;br /&gt;
Output = file&lt;br /&gt;
Format = html&lt;br /&gt;
Filename = /tmp/logwatch&lt;br /&gt;
Detail = 10 &lt;br /&gt;
&lt;h3&gt;
&lt;span class=&quot;editsection&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;Le_format_html&quot;&gt;Pour le format html &lt;/span&gt;&lt;/h3&gt;
Il manque les fichiers pour le format html.Il parrait que c&#39;est un bug.&lt;br /&gt;
Il faut créer les fichiers suivants:&lt;br /&gt;
&lt;br /&gt;
vim /usr/share/logwatch/default.conf/html/header.html&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;text&quot; style=&quot;font-family: monospace;&quot;&gt;
&amp;lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/REC-html40/loose.dtd&quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Logwatch  $Version  ( $VDate )&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&quot;generator&quot; content=&quot;Logwatch  $Version ( $VDate )&quot;&amp;gt;&lt;br /&gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;
h1 {color: gray; border-bottom: 3px double silver}&lt;br /&gt;
h2,h3 {color: gray; border-bottom: 1px solid silver}&lt;br /&gt;
.ref {padding-left: 1%}&lt;br /&gt;
.service {padding-left: 1%; font-family: Monospace}&lt;br /&gt;
.return_link {border-top: 1px; border-bottom: 1px;&lt;br /&gt;
padding: 1%; margin-top: 1%; margin-bottom: 1%;}&lt;br /&gt;
.copyright {color: black; border-top: 1px solid grey;&lt;br /&gt;
border-bottom: 1px solid grey;&lt;br /&gt;
padding: 1%; margin-top: 1%; margin-bottom: 1%;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body style=&quot;width:90%; margin-left: 5%; margin-right: 5%&quot; bgcolor=&quot;#FFFFFF&quot;&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&amp;lt;!-- End header.html --&amp;gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
vim /usr/share/logwatch/default.conf/html/footer.html
&lt;br /&gt;
&lt;div class=&quot;text&quot; style=&quot;font-family: monospace;&quot;&gt;
&amp;lt;!-- Start footer.html --&amp;gt;&lt;br /&gt;
&amp;lt;div class=\&quot;copyright\&quot;&amp;gt;&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Logwatch &amp;amp;copy;Copyright 2002-2006 Kirk Bauer&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;fr&quot;&gt;&lt;span class=&quot;hps&quot;&gt;L&#39;autorisation est accordée&lt;/span&gt;, à titre gratuit, &lt;span class=&quot;hps&quot;&gt;à toute personne obtenant&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;une copie de&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;ce logiciel et&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;des fichiers&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;de documentation associés (&lt;/span&gt;le «Logiciel»), &lt;span class=&quot;hps&quot;&gt;pour faire face&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;au&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;text&quot; style=&quot;font-family: monospace;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;fr&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;Logiciel sans restriction&lt;/span&gt;&lt;span class=&quot;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;y compris, sans&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;s&#39;y limiter, les&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;droits à&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;text&quot; style=&quot;font-family: monospace;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;fr&quot;&gt;&lt;span class=&quot;hps&quot;&gt;utiliser, copier,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;modifier, fusionner&lt;/span&gt;&lt;span class=&quot;&quot;&gt;, publier, distribuer&lt;/span&gt;&lt;span class=&quot;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;sous-licencier et&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ou vendre des copies&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;du Logiciel&lt;/span&gt;&lt;span class=&quot;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;et&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;d&#39;autoriser les personnes&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;auxquelles le Logiciel est&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;fourni de faire de&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;donc&lt;/span&gt;&lt;span class=&quot;&quot;&gt;, sous réserve des&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;conditions suivantes&lt;/span&gt;&lt;span class=&quot;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;fr&quot;&gt;&lt;span class=&quot;hps&quot;&gt;L&#39;avis de copyright&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;ci-dessus et&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;la présente autorisation doivent&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;être&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;inclus dans tous les&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;les copies ou parties&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;substantielles du Logiciel&lt;/span&gt;&lt;span class=&quot;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;fr&quot;&gt;&lt;span class=&quot;hps&quot;&gt;LE LOGICIEL EST FOURNI&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;«TEL QUEL»&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;SANS GARANTIE D&#39;AUCUNE&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;SORTE, EXPRESSE OU&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;IMPLICITE,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Y COMPRIS, MAIS&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;SANS S&#39;Y LIMITER,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;LES GARANTIES&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;DE QUALITÉ MARCHANDE&lt;/span&gt;,&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;D&#39;ADEQUATION A UN&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;USAGE PARTICULIER ET D&#39;&lt;/span&gt;ABSENCE DE CONTREFAÇON. &lt;span class=&quot;hps&quot;&gt;EN AUCUN CAS,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;LES&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;AUTEURS&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;OU LES TITULAIRES&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;DU DROIT D&#39;AUTEUR&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;NE SERA RESPONSABLE DE&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;TOUT DOMMAGE, RÉCLAMATION&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;OU&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;AUTRE&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;RESPONSABILITÉ,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;QUE CE SOIT DANS&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;LE CADRE D&#39;UN&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;CONTRAT, UN DÉLIT&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;OU AUTRE,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;PROVENANT DE,&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;DE OU EN&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;RELATION AVEC LE LOGICIEL&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;OU L&#39;UTILISATION OU&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;D&#39;AUTRES ELEMENTS DU&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;LOGICIEL.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;
&lt;pre class=&quot;text&quot; style=&quot;font-family: monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;h2&gt;
&lt;span class=&quot;editsection&quot;&gt;&lt;/span&gt;&lt;span class=&quot;mw-headline&quot; id=&quot;V.C3.A9rifiez_le_fonctionnement&quot;&gt;Tache journalière (envoie mail) &lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;C&#39;est dans cette partie qui diffère les deux systèmes (Zimbra et Atmailserver) de la configuration par défaut:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Editer le fichier:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;vim /etc/cron.daily/00logwatch&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Le_format_html&quot;&gt;Pour Atmailserver:&lt;/span&gt;&lt;/h3&gt;
Voici ce qu&#39;il faut mettre:&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
/usr/sbin/logwatch
&lt;br /&gt;
chmod o+r /tmp/logwatch
&lt;br /&gt;
echo &quot;From: logwatch@mydomain.tld&quot; &amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
echo &quot;To: admin@mydomain.tld&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
echo &quot;Subject: Logwatch for Server (Linux)&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
echo &quot;MIME-Version: 1.0&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
echo &quot;Content-Transfer-Encoding: 7bit&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
echo &quot;Content-Type: text/html; charset=\&quot;iso-8859-1\&quot;&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
cat /tmp/logwatch &amp;gt;&amp;gt; /tmp/logwatch.mail
&lt;br /&gt;
/usr/local/atmail/mailserver/bin/exim -v &#39;admin@mydomain.tld&#39; &amp;lt; /tmp/logwatch.mail
&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;Le_format_html&quot;&gt;Pour Zimbra:&lt;/span&gt;&lt;/h3&gt;
#!/bin/bash&lt;br /&gt;
#&lt;br /&gt;
/usr/sbin/logwatch&lt;br /&gt;
chmod o+r /tmp/logwatch&lt;br /&gt;
echo &quot;From: logwatch@mydomain.tld&quot; &amp;gt; /tmp/logwatch.mail&lt;br /&gt;
echo &quot;To: admin@mydomain.tld&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
echo &quot;Subject: Logwatch for Server (Linux)&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
echo &quot;MIME-Version: 1.0&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
echo &quot;Content-Transfer-Encoding: 7bit&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
echo &quot;Content-Type: text/html; charset=\&quot;iso-8859-1\&quot;&quot; &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
cat /tmp/logwatch &amp;gt;&amp;gt; /tmp/logwatch.mail&lt;br /&gt;
cat /tmp/logwatch.mail |/opt/zimbra/postfix/sbin/sendmail admin@mydomain.tld&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span class=&quot;mw-headline&quot; id=&quot;V.C3.A9rifiez_le_fonctionnement&quot;&gt;Vérifiez le fonctionnement&lt;/span&gt;&lt;/h2&gt;
Lancer la commande:&lt;br /&gt;
&lt;br /&gt;
/etc/cron.daily/00logwatch&lt;br /&gt;
&lt;br /&gt;
Pour voir le résultat, consultez vos mails.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/6443848490538962839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/6443848490538962839'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2012/10/logwatch-debian-atmail-zimbra.html' title='Logwatch sous debian: Cas particulier avec Atmailserver et Zimbra'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-8437679240038387275</id><published>2012-05-03T13:56:00.001+03:00</published><updated>2012-05-03T13:57:49.499+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="DHCP"/><title type='text'>Configurer un serveur DHCP sur un routeur CISCO</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;Voici comment configurer un
serveur DHCP sur un routeur CISCO&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Entrer en mode privilégié&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&amp;gt;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;enable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;2&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Entrer en mode configuration&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;#&amp;nbsp;configure
terminal&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;3&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Activer le service dhcp sur le routeur&amp;nbsp;cisco:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router(config)#&amp;nbsp;service dhcp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol start=&quot;4&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Créer un DHCP pool&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(config)#&amp;nbsp;ip
dhcp pool &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;lt;nom_pool&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;&amp;lt;nom_pool&amp;gt; désigne le nom du réseau defini par les adresses IP
délivrés par le serveur pour les clients. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;Exemple&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(config)#&amp;nbsp;ip
dhcp pool &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;RESEAU-0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;5&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Definir l’adresse réseau et le masque&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router(dhcp-config)#&amp;nbsp;network &amp;lt;adresse_réseau&amp;gt; &amp;lt;masque&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;Avec un exemple
c’est plus simple à comprendre&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router(dhcp-config)#&amp;nbsp;network 192.168.0.0 255.255.255.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 0in; mso-add-space: auto;&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;Avec cette configuration, le serveur
délivre les adresses IP appartenant à la plage&amp;nbsp;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin-left: 51.0pt; mso-add-space: auto; mso-list: l1 level4 lfo1; text-indent: -51.0pt;&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;192.168.0.1&lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;– 192.168.0.254&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin-left: 51.0pt; mso-add-space: auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol start=&quot;6&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;La passerelle par défaut&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(dhcp-config)#&amp;nbsp;default-router &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;lt;passerelle_par_défaut&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;7&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Le ou les serveurs DNS&amp;nbsp;:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(dhcp-config)#&amp;nbsp;dns-server &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;lt;serveur_dns1&amp;gt;
&amp;lt;serveur_dns2&amp;gt; &amp;lt;serveur_dns3&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;8&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Le nom de domaine&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(dhcp-config)#&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;domain-name &amp;lt;nom_de_domaine&amp;gt;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;9&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;La durée pendant
     laquelle le serveur mémorisera les informations&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(dhcp-config)#&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;lease &amp;lt;nombre_de_jour&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;D’habitude, je mets 7jours.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;10&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;Les adresses à exclure&amp;nbsp;:&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(config)#&amp;nbsp;ip
dhcp excluded-address &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;lt;ip_à_exclure&amp;gt;
&amp;lt;exemple_serveur_dns1&amp;gt;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;(config)#&amp;nbsp;ip dhcp excluded-address &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&amp;lt;serveur_dns3&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;S’il y a des adresses qui doivent rester fixe, comme les serveurs mails,
serveurs DNS, … etc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ol start=&quot;11&quot; style=&quot;margin-top: 0in;&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo2;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Afficher les requêtes des
     clients:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;Router&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;#&amp;nbsp;show ip
dhcp binding&amp;nbsp;&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
&lt;br style=&quot;mso-special-character: line-break;&quot; /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8437679240038387275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8437679240038387275'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2012/05/configurer-un-serveur-dhcp-sur-un.html' title='Configurer un serveur DHCP sur un routeur CISCO'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-8622597591785109355</id><published>2012-03-06T09:28:00.000+03:00</published><updated>2012-03-16T16:33:12.853+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cacti"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="Monitoring"/><title type='text'>Cacti  avec authentification LDAP sur une Debian :</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -18pt;&quot;&gt;
&lt;b&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;1-&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;u&gt;Installation de Cacti&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
L’installation de déroule en deux étapes&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Etape 1&amp;nbsp;: En mode console&amp;nbsp;:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ouvrir un console en mode super-utilisateur et lancer la commande&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
# aptitude install cacti&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
L’installation est simple.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Il faut seulement définir quelques mots de passe lorsque debconf le demande et c’est tout.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Symbol;&quot;&gt;·&lt;span style=&quot;font-family: &#39;Times New Roman&#39;; font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Etape 2&amp;nbsp;: Sur un navigateur&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Lancer votre navigateur favori et taper le lien suivant&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://%3cvotre_serveur%3e/cacti&quot;&gt;http://&amp;lt;votre_serveur&amp;gt;/cacti&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Là encore, Il suffit de suivre les instructions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Ceci termine l’installation.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Il faut maintenant se connecter&amp;nbsp;en tant que&amp;nbsp;: admin.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Par défaut, le mot de passe est aussi «&amp;nbsp;admin&amp;nbsp;» mais à la première connexion il faut obligatoirement le changer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -18pt;&quot;&gt;
&lt;b&gt;2-&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;u&gt;Authentification LDAP&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Lorsqu’on est connecté en tant qu’admin, il faut&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;text-indent: -18pt;&quot;&gt;
-&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;aller dans le menu&amp;nbsp;: Configuration &amp;gt; Settings&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;text-indent: -18pt;&quot;&gt;
-&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;puis dans l’onglet Authentication&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraphCxSpLast&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;width: 651px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #00438c; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 0cm; padding-left: 0cm; padding-right: 0cm; padding-top: 0cm;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;Cacti Settings (Authentication)&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
General&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Authentication Method: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LDAP Authentication&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Special Users&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoListParagraph&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Guest User: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;No User&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;width: 651px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;background-attachment: initial; background-clip: initial; background-color: #00438c; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; padding-bottom: 0cm; padding-left: 0cm; padding-right: 0cm; padding-top: 0cm;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;User Template: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; admin&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span style=&quot;text-indent: 35.4pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span style=&quot;text-indent: 35.4pt;&quot;&gt;On ne va pas autoriser tous les utilisateurs mais seulement les administrateurs (membre du group «&amp;nbsp;Admins&amp;nbsp;»)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;LDAP General Settings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Server &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_server&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;127.0.0.1&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Port Standard &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;5&quot; name=&quot;ldap_port&quot; size=&quot;5&quot; type=&quot;text&quot; value=&quot;389&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Port SSL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;5&quot; name=&quot;ldap_port_ssl&quot; size=&quot;5&quot; type=&quot;text&quot; value=&quot;636&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Protocol Version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version 3&lt;br /&gt;
Encryption&amp;nbsp;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;None&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Referrals:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Disable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; margin-left: 35.4pt; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Mode:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Specific Searching&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Distinguished Name (DN)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_dn&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;uid=&amp;lt;username&amp;gt;,ou=users,dc=mondomaine,dc=com&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 35.4pt;&quot;&gt;
Require Group Membership. &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;input checked=&quot;checked&quot; name=&quot;ldap_group_require&quot; type=&quot;checkbox&quot; /&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Cette case est cochée si l’utilisateur doit être membre d’un groupe particulier qu’il faut spécifier dans la partie suivante&amp;nbsp;: LDAP Group Settings. Dans notre cas, c’est le group «&amp;nbsp;Admins&amp;nbsp;».&lt;/blockquote&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;LDAP Group Settings&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Group Distingished Name (DN) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_group_dn&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;cn=Admins,ou=groups,dc=mondomaine,dc=com&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Group Member Attribute &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_group_attrib&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;memberUid&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Group Member Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;username&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;LDAP Specific Search Settings&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Search Base &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_search_base&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;ou=users,dc=mondomaine,dc=com&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Search Filter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_search_filter&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;(&amp;amp;(objectClass=posixAccount)(uid=&amp;lt;username&amp;gt;))&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-indent: 35.4pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Search Distingished Name (DN) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_specific_dn&quot; size=&quot;40&quot; type=&quot;text&quot; value=&quot;cn=admin,dc=mondomaine,dc=com&quot; /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 212.4pt; text-indent: -177pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Search Password &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_specific_password&quot; size=&quot;40&quot; type=&quot;password&quot; value=&quot;adminadmin&quot; /&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;input maxlength=&quot;255&quot; name=&quot;ldap_specific_password_confirm&quot; size=&quot;40&quot; type=&quot;password&quot; value=&quot;adminadmin&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8622597591785109355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8622597591785109355'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2012/03/cacti-avec-authentification-ldap-sur.html' title='Cacti  avec authentification LDAP sur une Debian :'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-5882260781443828260</id><published>2011-11-29T10:07:00.001+03:00</published><updated>2011-11-29T10:13:53.803+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAPS"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="SSl"/><category scheme="http://www.blogger.com/atom/ns#" term="TLS"/><title type='text'>Debian Squeeze: Installer un serveur LDAPS (SSL/TLS) a partir d&#39;une source:</title><content type='html'>&lt;br /&gt;
&lt;b&gt;Coté serveur :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% wget ftp://ftp.openldap.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz&lt;/blockquote&gt;
&lt;blockquote&gt;
% tar -xzvf openldap-stable-20100719.tgz&lt;/blockquote&gt;
&lt;blockquote&gt;
% cd openldap-2.4.23&lt;/blockquote&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;blockquote&gt;
% ./configure --prefix=/usr --with-tls --enable-slapd --with-cyrus-sasl --enable-crypt --disable-ldbm --enable-bdb&lt;br /&gt;
checking openssl/ssl.h usability... no&lt;br /&gt;
checking openssl/ssl.h presence... no&lt;br /&gt;
checking for openssl/ssl.h... no&lt;br /&gt;
checking gnutls/gnutls.h usability... no&lt;br /&gt;
checking gnutls/gnutls.h presence... no&lt;br /&gt;
checking for gnutls/gnutls.h... no&lt;br /&gt;
configure: WARNING: Could not locate TLS/SSL package&lt;br /&gt;
configure: WARNING: TLS data protection not supported!&lt;/blockquote&gt;
&lt;blockquote&gt;
% aptitude install libssl-dev libgnutls-dev&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% ./configure --prefix=/usr --with-tls --enable-slapd --with-cyrus-sasl --enable-crypt --disable-ldbm --enable-bdb&lt;br /&gt;
checking openssl/ssl.h usability... yes&lt;br /&gt;
checking openssl/ssl.h presence... yes&lt;br /&gt;
checking for openssl/ssl.h... yes&lt;br /&gt;
checking for SSL_library_init in -lssl... yes&lt;br /&gt;
checking OpenSSL library version (CRL checking capability)... yes&lt;br /&gt;
checking gnutls/gnutls.h usability... yes&lt;br /&gt;
checking gnutls/gnutls.h presence... yes&lt;br /&gt;
checking for gnutls/gnutls.h... yes&lt;br /&gt;
checking for gnutls_init in -lgnutls... yes&lt;br /&gt;
...&lt;br /&gt;
checking db.h usability... no&lt;br /&gt;
checking db.h presence... no&lt;br /&gt;
checking for db.h... no&lt;br /&gt;
configure: error: BDB/HDB: BerkeleyDB not available&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% aptitude install libdb4.7-dev&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% ./configure --prefix=/usr --with-tls --enable-slapd --with-cyrus-sasl --enable-crypt --disable-ldbm --enable-bdb&lt;br /&gt;
checking db.h usability... yes&lt;br /&gt;
checking db.h presence... yes&lt;br /&gt;
checking for db.h... yes&lt;br /&gt;
checking for Berkeley DB major version in db.h... 4&lt;br /&gt;
checking for Berkeley DB minor version in db.h... 7&lt;br /&gt;
checking if Berkeley DB version supported by BDB/HDB backends... yes&lt;br /&gt;
checking for Berkeley DB link (-ldb-4.7)... yes&lt;br /&gt;
checking for Berkeley DB library and header version match... yes&lt;br /&gt;
checking for Berkeley DB thread support... yes&lt;br /&gt;
checking for openlog... yes&lt;br /&gt;
checking unicode/utypes.h usability... no&lt;br /&gt;
checking unicode/utypes.h presence... no&lt;br /&gt;
checking for unicode/utypes.h... no&lt;br /&gt;
configure: WARNING: ICU not available&lt;br /&gt;
checking sasl/sasl.h usability... no&lt;br /&gt;
checking sasl/sasl.h presence... no&lt;br /&gt;
checking for sasl/sasl.h... no&lt;br /&gt;
checking sasl.h usability... no&lt;br /&gt;
checking sasl.h presence... no&lt;br /&gt;
checking for sasl.h... no&lt;br /&gt;
configure: error: Could not locate Cyrus SASL&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% sudo aptitude install libsasl2-dev libsasl2-modules-ldap&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% ./configure --prefix=/usr --with-tls --enable-slapd --with-cyrus-sasl --enable-crypt --disable-ldbm --enable-bdb&lt;br /&gt;
checking sasl/sasl.h usability... yes&lt;br /&gt;
checking sasl/sasl.h presence... yes&lt;br /&gt;
checking for sasl/sasl.h... yes&lt;br /&gt;
checking sasl.h usability... no&lt;br /&gt;
checking sasl.h presence... no&lt;br /&gt;
checking for sasl.h... no&lt;br /&gt;
checking for sasl_client_init in -lsasl2... yes&lt;br /&gt;
checking Cyrus SASL library version... yes&lt;br /&gt;
checking for sasl_version... yes&lt;br /&gt;
...&lt;br /&gt;
Please run &quot;make depend&quot; to build dependencies&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% make depend&lt;/blockquote&gt;
&lt;blockquote&gt;
% make&lt;/blockquote&gt;
&lt;blockquote&gt;
% make test&lt;/blockquote&gt;
&lt;blockquote&gt;
% su root -c &#39;make install&#39;&lt;/blockquote&gt;
&lt;blockquote&gt;
% aptitude install gnutls-bin&lt;/blockquote&gt;
&lt;blockquote&gt;
% mkdir /usr/etc/openldap/certs&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% cd /usr/etc/openldap/certs&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% certtool --generate-privkey --outfile ca-key.pem&lt;br /&gt;
% certtool --generate-self-signed --load-privkey ca-key.pem --outfile ca-cert.pem&lt;br /&gt;
&lt;br /&gt;
Generating a self signed certificate...&lt;br /&gt;
Please enter the details of the certificate&#39;s distinguished name. Just press enter to ignore a field.&lt;br /&gt;
Country name (2 chars): MG&lt;br /&gt;
Organization name: monORGANISATION&lt;br /&gt;
Organizational unit name: monORGANISATION&lt;br /&gt;
Locality name: Madagascar&lt;br /&gt;
State or province name: Antananarivo&lt;br /&gt;
Common name: ldap.mondomaine.com&lt;br /&gt;
UID: &lt;br /&gt;
This field should not be used in new certificates.&lt;br /&gt;
E-mail: ldapadmin@mondomaine.com&lt;br /&gt;
Enter the certificate&#39;s serial number in decimal (default: 1321958109): &lt;br /&gt;
&lt;br /&gt;
Activation/Expiration time.&lt;br /&gt;
The certificate will expire in (days): 3650&lt;br /&gt;
&lt;br /&gt;
Extensions.&lt;br /&gt;
Does the certificate belong to an authority? (y/N): y&lt;br /&gt;
Path length constraint (decimal, -1 for no constraint): &lt;br /&gt;
Is this a TLS web client certificate? (y/N): y&lt;br /&gt;
Is this also a TLS web server certificate? (y/N): y&lt;br /&gt;
Enter a dnsName of the subject of the certificate: &lt;br /&gt;
Enter the IP address of the subject of the certificate: &lt;br /&gt;
Will the certificate be used for signing (DHE and RSA-EXPORT ciphersuites)? (y/N): y&lt;br /&gt;
Will the certificate be used for encryption (RSA ciphersuites)? (y/N): y&lt;br /&gt;
Will the certificate be used to sign other certificates? (y/N): y&lt;br /&gt;
Will the certificate be used to sign CRLs? (y/N): y&lt;br /&gt;
Will the certificate be used to sign code? (y/N): y&lt;br /&gt;
Will the certificate be used to sign OCSP requests? (y/N): y&lt;br /&gt;
Will the certificate be used for time stamping? (y/N): y&lt;br /&gt;
Enter the URI of the CRL distribution point:  &lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
Is the above information ok? (Y/N): Y&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% certtool --generate-privkey --outfile key.pem&lt;br /&gt;
% certtool --generate-certificate --load-privkey key.pem --outfile cert.pem --load-ca-certificate ca-cert.pem --load-ca-privkey ca-key.pem  &lt;br /&gt;
&lt;br /&gt;
Generating a self signed certificate...&lt;br /&gt;
Please enter the details of the certificate&#39;s distinguished name. Just press enter to ignore a field.&lt;br /&gt;
Country name (2 chars): MG&lt;br /&gt;
Organization name: monORGANISATION&lt;br /&gt;
Organizational unit name: monORGANISATION&lt;br /&gt;
Locality name: Madagascar&lt;br /&gt;
State or province name: Antananarivo&lt;br /&gt;
Common name: ldap.mondomaine.com&lt;br /&gt;
UID: &lt;br /&gt;
This field should not be used in new certificates.&lt;br /&gt;
E-mail: ldapadmin@mondomaine.com&lt;br /&gt;
Enter the certificate&#39;s serial number in decimal (default: 1321958109): &lt;br /&gt;
&lt;br /&gt;
Activation/Expiration time.&lt;br /&gt;
The certificate will expire in (days): 3650&lt;br /&gt;
&lt;br /&gt;
Extensions.&lt;br /&gt;
Does the certificate belong to an authority? (y/N): &lt;br /&gt;
Is this a TLS web client certificate? (y/N): y&lt;br /&gt;
Is this also a TLS web server certificate? (y/N): y&lt;br /&gt;
Enter a dnsName of the subject of the certificate: &lt;br /&gt;
Enter the IP address of the subject of the certificate: &lt;br /&gt;
Will the certificate be used for signing (DHE and RSA-EXPORT ciphersuites)? (y/N): y&lt;br /&gt;
Will the certificate be used for encryption (RSA ciphersuites)? (y/N): y&lt;br /&gt;
&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
Is the above information ok? (Y/N): Y&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% vim /usr/etc/openldap/slapd.conf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# See slapd.conf(5) for details on configuration options.&lt;br /&gt;
# This file should NOT be world readable.&lt;br /&gt;
#&lt;br /&gt;
include		/usr/etc/openldap/schema/core.schema&lt;br /&gt;
include		/usr/etc/openldap/schema/cosine.schema &lt;br /&gt;
include		/usr/etc/openldap/schema/inetorgperson.schema &lt;br /&gt;
include		/usr/etc/openldap/schema/misc.schema &lt;br /&gt;
include		/usr/etc/openldap/schema/openldap.schema&lt;br /&gt;
&lt;br /&gt;
# Define global ACLs to disable default read access.&lt;br /&gt;
&lt;br /&gt;
# Do not enable referrals until AFTER you have a working directory&lt;br /&gt;
# service AND an understanding of referrals.&lt;br /&gt;
#referral	ldap://root.openldap.org&lt;br /&gt;
&lt;br /&gt;
pidfile		/usr/var/run/slapd.pid&lt;br /&gt;
argsfile	/usr/var/run/slapd.args&lt;br /&gt;
&lt;br /&gt;
# Load dynamic backend modules:&lt;br /&gt;
# modulepath	/usr/libexec/openldap&lt;br /&gt;
# moduleload	back_bdb.la&lt;br /&gt;
# moduleload	back_hdb.la&lt;br /&gt;
# moduleload	back_ldap.la&lt;br /&gt;
&lt;br /&gt;
# Sample security restrictions&lt;br /&gt;
#	Require integrity protection (prevent hijacking)&lt;br /&gt;
#	Require 112-bit (3DES or better) encryption for updates&lt;br /&gt;
#	Require 63-bit encryption for simple bind&lt;br /&gt;
# security ssf=1 update_ssf=112 simple_bind=64&lt;br /&gt;
&lt;br /&gt;
# Sample access control policy:&lt;br /&gt;
#	Root DSE: allow anyone to read it&lt;br /&gt;
#	Subschema (sub)entry DSE: allow anyone to read it&lt;br /&gt;
#	Other DSEs:&lt;br /&gt;
#		Allow self write access&lt;br /&gt;
#		Allow authenticated users read access&lt;br /&gt;
#		Allow anonymous users to authenticate&lt;br /&gt;
#	Directives needed to implement policy:&lt;br /&gt;
# access to dn.base=&quot;&quot; by * read&lt;br /&gt;
# access to dn.base=&quot;cn=Subschema&quot; by * read&lt;br /&gt;
access to *&lt;br /&gt;
by self write&lt;br /&gt;
by users read&lt;br /&gt;
by anonymous auth&lt;br /&gt;
#&lt;br /&gt;
# if no access controls are present, the default policy&lt;br /&gt;
# allows anyone and everyone to read anything but restricts&lt;br /&gt;
# updates to rootdn.  (e.g., &quot;access to * by * read&quot;)&lt;br /&gt;
#&lt;br /&gt;
# rootdn can always read and write EVERYTHING!&lt;br /&gt;
&lt;br /&gt;
# &lt;br /&gt;
TLSCertificateFile	/etc/ldap/ssl/cert.pem&lt;br /&gt;
TLSCertificateKeyFile	/etc/ldap/ssl/key.pem&lt;br /&gt;
TLSCACertificateFile	/etc/ldap/ssl/ca-cert.pem&lt;br /&gt;
TLSVerifyClient	never &lt;br /&gt;
&lt;br /&gt;
#######################################################################&lt;br /&gt;
# BDB database definitions&lt;br /&gt;
#######################################################################&lt;br /&gt;
&lt;br /&gt;
database	bdb&lt;br /&gt;
suffix		&quot;dc=mondomaine,dc=com&quot;&lt;br /&gt;
rootdn		&quot;cn=Manager,dc=mondomaine,dc=com&quot;&lt;br /&gt;
# Cleartext passwords, especially for the rootdn, should&lt;br /&gt;
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.&lt;br /&gt;
# Use of strong authentication encouraged.&lt;br /&gt;
rootpw	{SSHA}/mpgPlwH19ge+r45wOpV/1T08fAJImjg&lt;br /&gt;
# The database directory MUST exist prior to running slapd AND &lt;br /&gt;
# should only be accessible by the slapd and slap tools.&lt;br /&gt;
# Mode 700 recommended.&lt;br /&gt;
directory	/usr/var/openldap-data&lt;br /&gt;
# Indices to maintain&lt;br /&gt;
index	objectClass	eq&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% scp /usr/etc/openldap/certs/ca-cert.pem user@userpc.mondomaine.com:/home/user/certs/&lt;/blockquote&gt;
&lt;blockquote&gt;
% /usr/libexec/slapd -h &quot;ldaps:///&quot; -d 2024&lt;/blockquote&gt;
&lt;br /&gt;
&lt;b&gt;Coté client:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
% aptitude install ldap-utils&lt;/blockquote&gt;
&lt;blockquote&gt;
% vim /etc/ldap/ldap.conf&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# LDAP Defaults&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# See ldap.conf(5) for details&lt;br /&gt;
# This file should be world readable but not world writable.&lt;br /&gt;
&lt;br /&gt;
BASE    dc=mondomaine,dc=com&lt;br /&gt;
#URI    ldap://ldap.example.com ldap://ldap-master.example.com:666&lt;br /&gt;
URI     ldaps://ldap.mondomaine.com:636&lt;br /&gt;
&lt;br /&gt;
#SIZELIMIT      12&lt;br /&gt;
#TIMELIMIT      15&lt;br /&gt;
#DEREF          never&lt;br /&gt;
TLS_CACERT      /home/user/certs/ca-cert.pem&lt;br /&gt;
TLS_REQCERT     demand&lt;/blockquote&gt;
&lt;br /&gt;
&lt;blockquote&gt;
$ ldapsearch -x&lt;br /&gt;
# extended LDIF&lt;br /&gt;
#&lt;br /&gt;
# LDAPv3&lt;br /&gt;
# base &lt;dc=mondomaine,dc=com&gt; (default) with scope subtree&lt;br /&gt;
# filter: (objectclass=*)&lt;br /&gt;
# requesting: ALL&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
# search result&lt;br /&gt;
search: 2&lt;br /&gt;
result: 32 No such object&lt;/dc=mondomaine,dc=com&gt;&lt;/blockquote&gt;
&lt;br /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5882260781443828260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5882260781443828260'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/11/debian-squeeze-installer-un-serveur.html' title='Debian Squeeze: Installer un serveur LDAPS (SSL/TLS) a partir d&#39;une source:'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-1045391549267926096</id><published>2011-10-03T09:57:00.000+03:00</published><updated>2011-10-03T10:22:38.422+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="DHCP"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamique"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Debian Squeeze : DNS Dynamique – avec mise à jour DHCP</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Préparation&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/hosts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;127.0.1.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server&amp;nbsp;&amp;nbsp; Server.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;192.168.0.254&amp;nbsp;&amp;nbsp;&amp;nbsp; Server&amp;nbsp;&amp;nbsp; Server.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Server.mydomain.org&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# service hostname.sh
start&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# hostname –s&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# hostname –d&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# hostname –f&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Server.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim
/etc/network/interfaces&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;auto eth0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;iface eth0 inet static&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address
192.168.0.254&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; netmask
255.255.255.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dns-nameservers 127.0.0.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dns-search
mydomain.org&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Nom du serveur&amp;nbsp;: Server
(résultat de la commande hostname -s)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Addresse IP&amp;nbsp;: 192.168.0.254&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Nom de domaine&amp;nbsp;: mydomain.org
(résultat de la commande hostname -d)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Plage d’adresse IP à envoyer&amp;nbsp;:
192.168.0.100 à 192.168.0.200&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Installation
du DHCP&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# aptitude install dhcp3-server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/dhcp/dhcpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-update-style none;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;option domain-name &quot;mydomain.org&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;option domain-name-servers Server.mydomain.org;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;default-lease-time 600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;max-lease-time 7200;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;authoritative;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;log-facility local7;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;subnet 192.168.0.0 netmask 255.255.255.0 {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;range 192.168.0.100 192.168.0.200;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; option routers &amp;lt;default_gateway&amp;gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;}&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/default/isc-dhcp-server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;INTERFACES=&amp;nbsp;’’eth0’’&amp;nbsp;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Tester les paramètres&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# dhcpd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#
/etc/init.d/isc-dhcp-server start&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Sortie
des logs du serveur dhcp&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Envoyer la sortie des logs vers
/var/log/dhcpd.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/rsyslog.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#Ajouter
la ligne&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;local7.*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/log/dhcpd.log&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# invoke-rc.d rsyslog
restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#
/etc/init.d/isc-dhcp-server restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Installation du DNS&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Résolution directe:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# aptitude install bind9
bind9-host bind9utils host&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# cp /etc/bind/db.local
/etc/bind/db.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/bind/db.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Remplacer localhost par Server.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Et ajouter la ligne&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Server&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.254&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;En tout on a:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# cat /etc/bind/db.mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server.mydomain.org.
root.Server.mydomain.org. (&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;
Serial&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 86400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2419200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Expire&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800
)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Negative Cache TTL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server.mydomain.org.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Server&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.254&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/bind/named.conf.local&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;zone &quot;mydomain.org&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;file
&quot;/etc/bind/db. mydomain.org &quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;vim &lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;/etc/re&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;solv.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;domain mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;search mydomain.org&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;nameserver 192.168.0.254&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# invoke-rc.d bind9
restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Test:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# nslookup Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Résolution inversée:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;cp /etc/bind/db.127
/etc/bind/db.192.168.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/bind/db.192.168.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Remplacer localhost par Server.mydomain.org&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Et ajouter la ligne&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server.mydomain.org&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;En tout, on a&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;$TTL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SOA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mydomain.org.
root.mydomain.org. (&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Serial&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 604800&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Refresh&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 86400&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Retry&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2419200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; Expire&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;604800 )&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;
Negative Cache TTL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;@&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mydomain.org.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;254&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PTR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mydomain.org.&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim
/etc/bind/named.conf.local&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;zone &quot;0.168.192.in-addr.arpa&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;file &quot;/etc/bind/db.192.168.0&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# invoke-rc.d bind9
restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# nslookup 192.168.0.254&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Mise à jour dynamique:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Génération
de la clé DNS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;rndc-confgen &amp;gt;
/etc/bind/rndc.key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Voir le contenue du fichier
/etc/bind/named.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# cat
/etc/bind/named.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include
&quot;/etc/bind/named.conf.options&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include &quot;/etc/bind/named.conf.local&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include
&quot;/etc/bind/named.conf.default-zones&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# tail /etc/bind/rndc.key &amp;gt;&amp;gt;
named.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/bind/named.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Décommenter les lignes ajoutées sauf
la dernière&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include &quot;/etc/bind/named.conf.options&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include &quot;/etc/bind/named.conf.local&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include
&quot;/etc/bind/named.conf.default-zones&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;key &quot;rndc-key&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; algorithm hmac-md5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; secret
&quot;XE3biRLBzr/RUPiXy3MDRA==&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;controls {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet
127.0.0.1 port 953&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; allow
{ 127.0.0.1; } keys { &quot;rndc-key&quot;; };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# End of named.conf&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/bind/rndc.key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Commenter le bloc
options&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# Start of rndc.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;key &quot;rndc-key&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; algorithm
hmac-md5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; secret
&quot;XE3biRLBzr/RUPiXy3MDRA==&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#options {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default-key
&quot;rndc-key&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default-server
127.0.0.1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default-port
953;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# End of rndc.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# Use with the following in named.conf, adjusting the
allow list as needed:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# key &quot;rndc-key&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; algorithm
hmac-md5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; secret
&quot;XE3biRLBzr/RUPiXy3MDRA==&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# controls {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inet
127.0.0.1 port 953&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; allow
{ 127.0.0.1; } keys { &quot;rndc-key&quot;; };&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#
};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#
End of named.conf&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Les
zones qui utilisent la clé&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim
/etc/bind/named.conf.local&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Ajouter la ligne suivante dans
chaque zone:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;allow-update key{rndc-key;};&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;En tout, on a:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#&amp;nbsp;cat
/etc/bind/named.conf.local&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;zone
&quot;mydomain.org&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;file
&quot;/etc/bind/db.mydomain.org&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;allow-update {key rndc-key;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;zone &quot;0.168.192.in-addr.arpa&quot; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;file &quot;/etc/bind/db.192.168.0&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;allow-update {key rndc-key;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;};&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Mise
a jour DHCP:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# vim /etc/dhcp/dhcpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Commenter la ligne&amp;nbsp;: &lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial;&quot;&gt;ddns-update-style none&amp;nbsp;;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Ajouter les lignes suivantes, juste
en dessous&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-updates on;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-update-style interim;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-domainname &quot;mydomain.org&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-rev-domainname &quot;in-addr.arpa&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;allow
client-updates;&lt;/span&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Dans la partie subnet&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;Ajouter&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;include
&quot;/etc/bind/rndc.key&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;zone mydomain.org {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary 192.168.0.254;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; key
rndc-key;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zone
0.168.192.in-addr.arpa.{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary
192.168.0.254;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; key
rndc-key;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;En tout, on a:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# cat
/etc/dhcp/dhcpd.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;#ddns-update-style none;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-updates on;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-update-style interim;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-domainname &quot;mydomain.org&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;ddns-rev-domainname &quot;in-addr.arpa&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;allow client-updates;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;option domain-name &quot;mydomain.org&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;option domain-name-servers Server.mydomain.org;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;default-lease-time 600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;max-lease-time 7200;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;authoritative;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;log-facility local7;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;subnet 192.168.0.0 netmask 255.255.255.0 {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; range
192.168.0.100 192.168.0.200;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; option routers
&amp;lt;default_gateway&amp;gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp; include
&quot;/etc/bind/rndc.key&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zone mydomain.org
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary
192.168.0.254;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; key
rndc-key;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zone
0.168.192.in-addr.arpa. {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary
192.168.0.254;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; key
rndc-key;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: silver; background-image: initial; background-origin: initial; font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# &amp;nbsp;chown -R bind:bind /etc/bind&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# invoke-rc.d bind9
restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# invoke-rc.d
isc-dhcp-server restart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# tail –f /var/log/syslog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;# tail –f /var/log/dhcpd.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Century Gothic&#39;, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 18px;&quot;&gt;C&#39;est tout!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/1045391549267926096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/1045391549267926096'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/10/debian-squeeze-dns-dynamique-avec-mise.html' title='Debian Squeeze : DNS Dynamique – avec mise à jour DHCP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-2083869546994321578</id><published>2011-09-13T08:47:00.000+03:00</published><updated>2011-09-26T12:32:36.629+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Replication"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Debian Squeeze: La replication avec MySQL</title><content type='html'>Réplication avec MySQL sous Debian Squeeze&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Soient deux serveurs MySQL&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Srv-db01&amp;nbsp;: 192.168.0.101/24&lt;br /&gt;
&lt;br /&gt;
Srv-db02&amp;nbsp;: 192.168.0.102/24&lt;br /&gt;
&lt;br /&gt;
Sur les deux serveurs, on  installe les paquets suivants&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
mysql-server&lt;br /&gt;
&lt;br /&gt;
mysql-client&lt;br /&gt;
&lt;br /&gt;
libmysqlclient15-dev&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Donc&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
# aptitude install mysql-server mysql-client libmysqlclient15-dev&lt;br /&gt;
&lt;br /&gt;
Réplication master-slave&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
On va configurer pour que Srv-db01 soit master et Srv-db02 slave&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Configuration du master&amp;nbsp;(Srv-db01):&lt;br /&gt;
&lt;br /&gt;
Voici les modifications à faire dans le fichier de configuration&amp;nbsp;/etc/mysql/my.cnf&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Activer les lignes&amp;nbsp;: &lt;br /&gt;
&lt;br /&gt;
server-id = 1&lt;br /&gt;
&lt;br /&gt;
log-bin = /var/log/mysql/mysql-bin.log&lt;br /&gt;
&lt;br /&gt;
Si on veut que certaines bases seulement soient répliquées et d’autres non, modifier les lignes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
binlog_do_db            = db01&lt;br /&gt;
&lt;br /&gt;
binlog_do_db            = db02 &lt;br /&gt;
&lt;br /&gt;
binlog_ignore_db        = mysql&lt;br /&gt;
&lt;br /&gt;
binlog_ignore_db        = information_schema&lt;br /&gt;
&lt;br /&gt;
Ajouter un utilisateur pour la réplication&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; grant replication slave on *.* to &#39;rep_user&#39;@&#39;%&#39; IDENTIFIED BY &#39;rep_pwd&#39;;&lt;br /&gt;
&lt;br /&gt;
Quitter mysql et redemarer le service&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
# invoke-rc.d mysql restart&lt;br /&gt;
&lt;br /&gt;
Afficher la configuration du master&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; show master status&amp;nbsp;;&lt;br /&gt;
&lt;br /&gt;
+------------------+----------+-------------------+--------------------------+&lt;br /&gt;
&lt;br /&gt;
| File             | Position | Binlog_Do_D       | Binlog_Ignore_DB         |&lt;br /&gt;
&lt;br /&gt;
+------------------+----------+-------------------+--------------------------+&lt;br /&gt;
&lt;br /&gt;
| mysql-bin.000001 |     106  | db01, db02           | mysql,information_schema |&lt;br /&gt;
&lt;br /&gt;
+------------------+----------+-------------------+--------------------------+&lt;br /&gt;
&lt;br /&gt;
Le master est prêt pour la réplication.&lt;br /&gt;
&lt;br /&gt;
Configuration du slave&amp;nbsp;(Srv-db02):&lt;br /&gt;
&lt;br /&gt;
Voici les modifications à faire dans le fichier de configuration /etc/mysql/my.cnf :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Activer la ligne suivante et modifier sa valeur :&lt;br /&gt;&lt;br /&gt;server-id = 2&lt;br /&gt;&lt;br /&gt;Ajouter les lignes:&lt;br /&gt;&lt;br /&gt;binlog_do_db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db01&lt;br /&gt;replicate-do-db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db01&lt;br /&gt;replicate-do-table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db01.%&amp;nbsp; #repliquer toutes les tables&lt;br /&gt;replicate-wild-do-table = db01.%&lt;br /&gt;&lt;br /&gt;binlog_do_db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db02&lt;br /&gt;replicate-do-db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db02&lt;br /&gt;replicate-do-table&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = db02.%&lt;br /&gt;replicate-wild-do-table = db02.%&lt;br /&gt;
Indiquer les infos de connexion au master pour la réplication&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; change master to master_host=`192.168.0.101`, master_user=&#39;rep_user&#39;, master_password=&#39;rep_pwd&#39;, master_port=3306, master_log_file=&#39;fichierdelog.000001&#39;, master_log_pos=106&amp;nbsp;;&lt;br /&gt;
&lt;br /&gt;
Le Slave est prêt.&lt;br /&gt;
&lt;br /&gt;
Quitter mysql et redémarrer le service&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
# invoke-rc.d mysql restart&lt;br /&gt;
&lt;br /&gt;
Lancer la réplication&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; slave start&amp;nbsp;;&lt;br /&gt;
&lt;br /&gt;
Réplication master-master&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Le principe est le suivant&amp;nbsp;: Srv-db01 est le master du slave1 mais slave du master2 qui n’est autre que Srv-db02 et inversement.&lt;br /&gt;
&lt;br /&gt;
Pour ce faire, il faut alors configurer chaque serveur pour être à la fois master et slave l’un de l’autre.&lt;br /&gt;
&lt;br /&gt;
Automatiser la réplication&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Pour que la réplication se fasse automatiquement, &lt;br /&gt;
&lt;br /&gt;
On crée un fichier, par exemple replication.sql contenant&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
slave start&amp;nbsp;;&lt;br /&gt;
&lt;br /&gt;
On peut exécuter périodiquement la commande suivante à l’aide de crontab, par exemple tous les jours&amp;nbsp;à 05h:&lt;br /&gt;
&lt;br /&gt;
# crontab –e&lt;br /&gt;
&lt;br /&gt;
*5*** mysql –uroot –p[root_passwd] &amp;lt; replication.sql 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;br /&gt;
&lt;br /&gt;
Ctrl+x pour quitter puis enregistrer les modifications.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2083869546994321578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2083869546994321578'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/09/debian-squeeze-la-replication-avec.html' title='Debian Squeeze: La replication avec MySQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-8044822409430097020</id><published>2011-09-13T08:43:00.000+03:00</published><updated>2012-06-21T13:21:10.302+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="SIP"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Debian Squeeze: Mise en place d&#39;un serveur Asterisk</title><content type='html'>Question versions des paquets,‭ ‬voici ce que j’ai utilisé :&lt;br /&gt;
&lt;br /&gt;
J’ai installé la version du paquet d’Asterisk existant dans la version‭ ‬6.0‭ ‬de Debian Squeeze&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
#‎ ‏aptitude versions asterisk&lt;br /&gt;
&lt;br /&gt;
p‭   ‬1:1.6.2.9-2‭   ‬                &amp;lt;NULL‭&amp;gt;                    ‬500&lt;br /&gt;
&lt;br /&gt;
Bien sur,‭ ‬une version plus récente est disponible‭ ‬ici mais mon but n’est pas de montrer comment l’installer mais plutôt comment le configurer avec les différents possibilités de gérer les comptes utilisateurs.&lt;br /&gt;
&lt;br /&gt;
Pour la réalisation,‭ ‬j’ai utilisé‭  ‬un serveur et‭ ‬2‭ ‬clients tous les‭ ‬3‭ ‬sous Squeeze.‭ ‬Sur les clients on peut évidemment utiliser un autre SE autre que Debian mais puisqu’on a déjà Ekiga installé par défaut pourquoi chercher autre chose&amp;nbsp;‭???&lt;br /&gt;
&lt;br /&gt;
Pour l’adressage des postes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Serveur:192.168.0.250&lt;br /&gt;
Client1:192.168.0.1&lt;br /&gt;
Client2:192.168.0.2&lt;br /&gt;
&lt;br /&gt;
On va tout de suite commencer la première partie.‭ ‬C’est très simple,‭ ‬vous allez voir&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Sur le serveur&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
On installe d’abord les paquets nécessaires&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
#‎ ‏aptitude install asterisk&lt;br /&gt;
&lt;br /&gt;
Il faut ensuite modifier le fichier‭ ‬/etc/asterisk/sip.conf :&lt;br /&gt;
&lt;br /&gt;
#‎ ‏vim‭ ‬/etc/asterisk/sip.conf&lt;br /&gt;
&lt;br /&gt;
Pour le moment,‭ ‬il ne faut toucher qu’aux lignes suivantes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Commenter la ligne&amp;nbsp;:‭ ‬udpbindaddr‭=‬0.0.0.0&lt;br /&gt;
&lt;br /&gt;
Modifier les lignes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
tcpenable=yes‭                    &lt;br /&gt;
&lt;br /&gt;
tcpbindaddr‭=‬192.168.0.250:5060&lt;br /&gt;
&lt;br /&gt;
A la fin du fichier,‭ ‬ajouter les lignes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
‎[‏user1‭]&lt;br /&gt;
&lt;br /&gt;
type=friend&lt;br /&gt;
&lt;br /&gt;
host‭=‬192.168.0.1‭ ‬(mettre‭ ‬dynamic pour dhcp‭) &lt;br /&gt;
&lt;br /&gt;
user=user1&lt;br /&gt;
&lt;br /&gt;
secret=user1‭ ‬(mot_de_passe_en_clair‭)&lt;br /&gt;
&lt;br /&gt;
context=user1&lt;br /&gt;
&lt;br /&gt;
‎[‏user2‭]&lt;br /&gt;
&lt;br /&gt;
type=friend&lt;br /&gt;
&lt;br /&gt;
host‭=‬192.168.0.2‭ ‬(mettre‭ ‬dynamic pour dhcp‭)&lt;br /&gt;
&lt;br /&gt;
user=user2&lt;br /&gt;
&lt;br /&gt;
secret=user2‭ ‬(mot_de_passe_en_clair‭)&lt;br /&gt;
&lt;br /&gt;
context=user2&lt;br /&gt;
&lt;br /&gt;
Ici j’ai mis un mot de passe qui apparait en clair dans mais on peut utiliser un mot de passe haché md5.‭ ‬Pour le générer,‭ ‬il suffit de lancer la commande&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
#‎ ‏echo‭ –‬n‭ &quot;&amp;lt;‬user‭&amp;gt;‬:asterisk:‭&amp;lt;‬secret‭&amp;gt;&quot; | ‬md5sum&lt;br /&gt;
&lt;br /&gt;
Par exemple&amp;nbsp;:‭ &lt;br /&gt;
&lt;br /&gt;
#‎ ‏echo‭ ‬-n‭ &quot;‬user1:asterisk:user1‭&quot; | ‬md5sum&lt;br /&gt;
&lt;br /&gt;
aaf4b2aa7dcc971d16c554705cb2881f‭  ‬-&lt;br /&gt;
&lt;br /&gt;
#‎ ‏echo‭ ‬-n‭ &quot;‬user2:asterisk:user2‭&quot; | ‬md5sum&lt;br /&gt;
&lt;br /&gt;
c664a55b5d6ff1268740d85ea8d83aa6‭  ‬-&lt;br /&gt;
&lt;br /&gt;
Il faut simplement remplacer le mot de passe en claire par son équivalent haché en md5.&lt;br /&gt;
&lt;br /&gt;
Il faut ensuite éditer le fichier‭ ‬/etc/asterisk/extensions.conf&lt;br /&gt;
&lt;br /&gt;
#‎ ‏vim etc/asterisk/extensions.conf&lt;br /&gt;
&lt;br /&gt;
Ajouter les lignes&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
‎[‏user1‭]&lt;br /&gt;
&lt;br /&gt;
exten‭ =&amp;gt; ‬101,1,Dial(SIP/user1‭)&lt;br /&gt;
&lt;br /&gt;
[user2‎]&lt;br /&gt;
&lt;br /&gt;
exten‭ =&amp;gt; ‬102,1,Dial(SIP/user2‭)&lt;br /&gt;
&lt;br /&gt;
Ici on attribut le numéro‭ ‬101‭ (‬resp.‭ ‬102‭) ‬à user1‭ (‬resp.‭ ‬user2‭)&lt;br /&gt;
&lt;br /&gt;
Le‭ ‬1‭ ‬suivant est un numéro de séquence.&lt;br /&gt;
&lt;br /&gt;
Dial‭() ‬est ici une fonction avec comme argument l’utilisateur‭ ‬à contacter.&lt;br /&gt;
&lt;br /&gt;
En tout,‭ ‬cette ligne signifie&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
Lorsque le numéro‭ ‬101‭ ‬est composé,‭ ‬il faut‭ ‬directement‭ ‬ (il n’y a que la séquence‭ ‬1‭) ‬appeler‭ [‬Dial‭(‬SIP/user1‭)‬] l’utilisateur correspondant au compte‭ ‬SIP user1.&lt;br /&gt;
&lt;br /&gt;
Ceci n’est qu’un exemple mais il y a beaucoup de chose qu’on peut faire avec ces extensions.&lt;br /&gt;
&lt;br /&gt;
Il faut maintenant qu’Asterisk recharge ses fichiers pour que les modifications soient prises en compte&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
#‎ ‏asterisk‭ –‬rvvvvdddd&lt;br /&gt;
&lt;br /&gt;
Serveur‭ *‬CLI‭&amp;gt; ‬reload&lt;br /&gt;
&lt;br /&gt;
Serveur‭ *‬CLI‭&amp;gt; ‬dialplan reload&lt;br /&gt;
&lt;br /&gt;
Serveur‭ *‬CLI‭&amp;gt; ‬quit&lt;br /&gt;
&lt;br /&gt;
Executing last minute cleanups&lt;br /&gt;
&lt;br /&gt;
Asterisk ending‭ (‬0‭)‬.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8044822409430097020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8044822409430097020'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/09/debian-squeeze-mise-en-place-dun.html' title='Debian Squeeze: Mise en place d&#39;un serveur Asterisk'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-8051777618115356817</id><published>2011-09-13T08:38:00.001+03:00</published><updated>2011-09-13T08:38:52.344+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="Logs"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Debian Squeeze: Activer les logs d&#39;OpenLDAP</title><content type='html'>&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;On suppose que le serveur LDAP est déjà installé.&lt;br /&gt;
&lt;br /&gt;
Par défaut, les logs d’OpenLDAP sont envoyés dans /var/log/syslog.&lt;br /&gt;
&lt;br /&gt;
Mais on va reconfigurer rsyslog pour que la sortie des logs soit /var/log/slapd.log&amp;nbsp;.&lt;br /&gt;
&lt;br /&gt;
Pour ce faire, il faut ajouter la ligne suivante dans /etc/rsyslog.conf:&lt;br /&gt;
&lt;br /&gt;
local4.*                        /var/log/slapd.log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Puis redémarrer rsyslog et enfin slapd:&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/rsyslog restart&lt;br /&gt;
&lt;br /&gt;
# /etc/init.d/slapd restart&lt;br /&gt;
&lt;br /&gt;
Pour vérifier, il suffit d’un simple&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
# tail –f /var/log/slapd.log&lt;br /&gt;
&lt;br /&gt;
C’est tout&amp;nbsp;!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8051777618115356817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8051777618115356817'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/09/debian-squeeze-activer-les-logs.html' title='Debian Squeeze: Activer les logs d&#39;OpenLDAP'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-447730476729832139</id><published>2011-09-13T08:33:00.000+03:00</published><updated>2011-09-13T08:36:07.029+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Basculement"/><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Failover"/><title type='text'>Failover Cisco</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
Soit le réseau suivant:&lt;br /&gt;
&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG1tui63uc2UF_CoBO9zZxLJ2fWol-z6D1k5c_IyZTmWsafTm-f-pGd_PyiDJMyM0eVr_zBoCSILAaI-GP1CQI1ymsjUM2_cdglOa7hdeTHuwhM3MLQWmM8pJXWSPaL_g_PLOGfFJ0Po0/s400/test+load+balancing+with+failover+cisco.png&quot; width=&quot;400&quot; /&gt;&lt;a href=&quot;http://www.blogger.com/goog_176296246&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;b&gt;&lt;u&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Configuration sur R1&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
ip sla 1&lt;br /&gt;
&lt;br /&gt;
icmp-echo 192.168.0.12 source-interface FastEthernet1/0&lt;br /&gt;
&lt;br /&gt;
timeout 1000&lt;br /&gt;
&lt;br /&gt;
threshold 250&lt;br /&gt;
&lt;br /&gt;
frequency 3&lt;br /&gt;
&lt;br /&gt;
ip sla schedule 1 life forever start-time now&lt;br /&gt;
&lt;br /&gt;
ip sla 2&lt;br /&gt;
&lt;br /&gt;
icmp-echo 172.20.0.13 source-interface FastEthernet1/1&lt;br /&gt;
&lt;br /&gt;
timeout 1000&lt;br /&gt;
&lt;br /&gt;
threshold 250&lt;br /&gt;
&lt;br /&gt;
frequency 3&lt;br /&gt;
&lt;br /&gt;
ip sla schedule 2 life forever start-time now&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
track 1 rtr 1 reachability&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
track 2 rtr 2 reachability&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet1/0&lt;br /&gt;
&lt;br /&gt;
ip address 192.168.0.12 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
ip load-sharing per-packet&lt;br /&gt;
&lt;br /&gt;
duplex auto&lt;br /&gt;
&lt;br /&gt;
speed auto&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet1/1&lt;br /&gt;
&lt;br /&gt;
ip address 172.20.0.13 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
ip load-sharing per-packet&lt;br /&gt;
&lt;br /&gt;
duplex auto&lt;br /&gt;
&lt;br /&gt;
speed auto&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet2/0&lt;br /&gt;
&lt;br /&gt;
ip address 172.16.0.15 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
ip load-sharing per-packet&lt;br /&gt;
&lt;br /&gt;
duplex auto&lt;br /&gt;
&lt;br /&gt;
speed auto&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
interface FastEthernet2/1&lt;br /&gt;
&lt;br /&gt;
no ip address&lt;br /&gt;
&lt;br /&gt;
shutdown&lt;br /&gt;
&lt;br /&gt;
duplex auto&lt;br /&gt;
&lt;br /&gt;
speed auto&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
ip route 0.0.0.0 0.0.0.0 192.168.0.21 track 1&lt;br /&gt;
&lt;br /&gt;
ip route 0.0.0.0 0.0.0.0 172.20.0.31 track 2&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Test du basculement:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Pour tester que le basculement, on va utiliser la commande ping sur le routeur R5 et on va «&amp;nbsp;pinguer&amp;nbsp;» R7.&lt;br /&gt;
&lt;br /&gt;
On va d’abord désactiver l’interface f1/0 de R2&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
R2(config)#int f1/0&lt;br /&gt;
&lt;br /&gt;
R2(config-if)#shut&lt;br /&gt;
&lt;br /&gt;
On va tester que la connexion entre R5 et R7 reste établi&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
R5#ping 10.30.0.74&lt;br /&gt;
&lt;br /&gt;
Type escape sequence to abort.&lt;br /&gt;
&lt;br /&gt;
Sending 5, 100-byte ICMP Echos to 10.30.0.74, timeout is 2 seconds:&lt;br /&gt;
&lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
Success rate is 100 percent (5/5), round-trip min/avg/max = 1872/1884/1900 ms&lt;br /&gt;
&lt;br /&gt;
On va réactiver l’interface f1/0 de R2 et désactiver le f1/0 de R3&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
R2(config)#int f1/0&lt;br /&gt;
&lt;br /&gt;
R2(config-if)#no shut&lt;br /&gt;
&lt;br /&gt;
R3(config)#int f1/0&lt;br /&gt;
&lt;br /&gt;
R3(config-if)#shut&lt;br /&gt;
&lt;br /&gt;
On va tester que la connexion entre R5 et R7 reste établi&amp;nbsp;:&lt;br /&gt;
&lt;br /&gt;
R5 #ping 10.30.0.74&lt;br /&gt;
&lt;br /&gt;
Type escape sequence to abort.&lt;br /&gt;
&lt;br /&gt;
Sending 5, 100-byte ICMP Echos to 10.30.0.74, timeout is 2 seconds:&lt;br /&gt;
&lt;br /&gt;
!!!!!&lt;br /&gt;
&lt;br /&gt;
Success rate is 100 percent (5/5), round-trip min/avg/max = 1828/1848/1888 ms</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/447730476729832139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/447730476729832139'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/09/failover-cisco.html' title='Failover Cisco'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhG1tui63uc2UF_CoBO9zZxLJ2fWol-z6D1k5c_IyZTmWsafTm-f-pGd_PyiDJMyM0eVr_zBoCSILAaI-GP1CQI1ymsjUM2_cdglOa7hdeTHuwhM3MLQWmM8pJXWSPaL_g_PLOGfFJ0Po0/s72-c/test+load+balancing+with+failover+cisco.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-2549614997107883982</id><published>2011-08-16T15:46:00.000+03:00</published><updated>2011-09-06T15:59:54.709+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="Mandriva"/><category scheme="http://www.blogger.com/atom/ns#" term="MDS"/><category scheme="http://www.blogger.com/atom/ns#" term="MMC"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows serveur"/><title type='text'>Debian Squeeze: LDAP - Mandriva Directory Server (MDS)</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Pour voir comment installer un annuaire LDAP sur une Debian Squeeze, voir &lt;a href=&quot;http://debinet-sysx.blogspot.com/2011/07/installer-un-serveur-ldap-sur-une.html&quot;&gt;ce post&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Voici comment installer la Mandriva Management Console (MMC) sur une Debian Squeeze :&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;1&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Ajout d’un nouveau dépôt&amp;nbsp;de paquets:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Modifier le fichier /etc/apt/sources.list pour ajouter un nouveau dépôt de paquets&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# vim /etc/apt/sources.list&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;deb &lt;a href=&quot;http://mds.mandriva.org/pub/mds/debian&quot;&gt;http://mds.mandriva.org/pub/mds/debian&lt;/a&gt; squeeze main&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# aptitude update&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start=&quot;2&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Installation et configuration de mmc-agent&amp;nbsp;:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;On installe ensuite les paquets nécessaires&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# aptitude install mmc-agent mmc-web-base&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;On crée ensuite un mot de passe haché en base64 de celui de l’admin de l’annuaire&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;$ python -c &#39;print &quot;{base64}&quot;+&quot;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;[mot_de_passe_admin]&lt;/b&gt;&quot;.encode(&quot;base64&quot;)&#39;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background: silver; mso-highlight: silver;&quot;&gt;{base64}aXrldgFkbWlu&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Voici ce qu’il faut modifier dans le fichier /etc/mmc/plugins/base.ini pour l’accès à la base de l’annuaire LDAP&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# vim /etc/mmc/plugins/base.ini&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# LDAP base DN&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;baseDN = dc=&amp;lt;mondomaine&amp;gt;, dc=&amp;lt;local&amp;amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# Users location in the LDAP&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;baseUsersDN = ou=Users, %(basedn)s&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# Groups location in the LDAP&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;baseGroupsDN = ou=Groups, %(basedn)s&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# LDAP manager&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;rootName = cn=admin, %(basedn)s&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;password = {base64}aXrldgFkbWlu&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;passwordscheme = ssha&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Il faut ensuite créer le répertoire de stockage&amp;nbsp;des archives (par défaut, c’est le dossier /home/archives):&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# mkdir /home/archives&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Lors de l’ajout d’un nouvel utilisateur, si on veut lui donner le droit de modifier son mot de passe, il faut ajouter la section suivante dans le fichier /etc/mmc/plugins/base.ini&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;[userdefault]&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;objectClass = +lmcUserObject&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;lmcACL = :base#user#passwd/&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Pour l’interface web, on modifier la ligne suivante dans le fichier /etc/mmc/mmc.ini&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;root = /&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Il faut maintenant ajouter un nouveau schéma dans l’annuaire LDAP&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# cp /usr/share/doc/python-mmc-base/contrib/ldap/mmc.schema /etc/ldap/schema/&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# vim /etc/ldap/slapd.conf&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;include&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;/etc/ldap/schema/mmc.schema&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
Attribuer les permissions adéquates: &lt;/div&gt;&lt;blockquote&gt;# chown openldap:openldap /etc/ldap/schema/ -R&lt;/blockquote&gt;&lt;blockquote&gt;# chown openldap:openldap /etc/ldap/slapd.d/ -R&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Tester la configuration&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# slaptest –f /etc/ldap/slapd.conf –F /etc/ldap/slapd.d&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Redémarrer les services&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# invoke-rc.d slapd restart&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# invoke-rc.d mmc-agent restart&lt;/span&gt;&lt;/blockquote&gt;&lt;ol start=&quot;3&quot; style=&quot;margin-top: 0cm;&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;mso-list: l0 level1 lfo1;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Configuration d’apache&amp;nbsp;:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;D’abord il faut ajouter la ligne suivante dans le fichier /etc/apache2/ports.conf&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Listen 443&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Puis, donner un nom au serveur&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# vim /etc/apache2/httpd.conf&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;ServerName 127.0.0.1&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;tab-stops: 57.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Ajouter un nouveau VirtualHost dans le fichier /etc/apache2/sites-available/mmc&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# vim /etc/apache2/sites-available/mmc&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;lt;VirtualHost *:80&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerName 127.0.0.1&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerAlias mmc &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerAdmin webmaster@example.org &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ErrorLog /var/log/apache2/mmc_error.log &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CustomLog /var/log/apache2/mmc_access.log combined &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;lt;/VirtualHost&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;lt;VirtualHost *:443&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerName 127.0.0.1&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerAlias mmc&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ServerAdmin webmaster@example.org &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DocumentRoot /usr/share/mmc/ &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;Directory /usr/share/mmc/&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AllowOverride None &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Order allow,deny &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;allow from all &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;php_flag short_open_tag on &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;/Directory&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;ErrorLog /var/log/apache2/mmc_error.log &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;CustomLog /var/log/apache2/mmc_access.log combined &lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Activer le nouveau VirtualHost&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# a2ensite mmc&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Editer le fichier /etc/default/mmc-agent&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;background-attachment: scroll; background-clip: border-box; background-color: silver; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: repeat; background-size: auto; font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;ENABLE = yes&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Ajouter l’option «&amp;nbsp;acl&amp;nbsp;» pour le montage de la partition contenant le /home&amp;nbsp;dans le fichier /etc/fstab.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Redémarrer le serveur apache&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;# invoke-rc.d apache2 restart&lt;/span&gt;&lt;/blockquote&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Sur le navigateur, taper l’adresse&amp;nbsp;: &lt;a href=&quot;http://%3cIP_du_Serveur_LDAP%3e:443&quot;&gt;http://&amp;lt;IP_du_Serveur_LDAP&amp;gt;:443&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Century Gothic&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;Pour la connexion, utiliser l’utilisateur root et le mot de passe de l’administrateur de l’annuaire.&lt;/span&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2549614997107883982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2549614997107883982'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/08/debian-squeeze-ldap-mandriva-directory.html' title='Debian Squeeze: LDAP - Mandriva Directory Server (MDS)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-9071564163738512057</id><published>2011-07-12T14:39:00.000+03:00</published><updated>2011-08-29T12:37:50.114+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="NSS"/><category scheme="http://www.blogger.com/atom/ns#" term="PAM"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Installer un serveur LDAP sur une Debian Squeeze</title><content type='html'>&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Voici comment mettre en place un serveur LDAP sur une Debian Squeeze.  C&#39;est assez facile et d&#39;ailleurs on en aura beaucoup besoin.&lt;br /&gt;
&lt;br /&gt;
&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_editdata.mso&quot; rel=&quot;Edit-Time-Data&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;     &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
/* Font Definitions */
@font-face
{font-family:&quot;Cambria Math&quot;;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:&quot;&quot;;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:83690188;
mso-list-type:hybrid;
mso-list-template-ids:47353546 67895315 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l0:level1
{mso-level-number-format:roman-upper;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.5in;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;I.&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Configuration de  debconf&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;On va d&#39;abord configurer Debconf: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;# dpkg-reconfigure debconf &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Interface à utiliser: Dialogue&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Ignorer les questions de priorité  inférieure à: Intermédiaire&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;     &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
/* Font Definitions */
@font-face
{font-family:&quot;Cambria Math&quot;;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:&quot;&quot;;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-type:export-only;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:.5in;
mso-add-space:auto;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:&quot;Times New Roman&quot;;
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;
mso-fareast-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:83690188;
mso-list-type:hybrid;
mso-list-template-ids:47353546 67895315 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l0:level1
{mso-level-number-format:roman-upper;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;text-indent: -0.5in;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;II.&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;FR&quot; style=&quot;font-size: 14pt; line-height: 115%;&quot;&gt;Installation et  configuration d’openldap&amp;nbsp;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Ensuite, on installe les  paquet  nécessaires: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;#  aptitude install slapd ldap-utils &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Voulez-vous omettre la  configuration d&#39;OpenLDAP: NON&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Nom de domaine:&amp;nbsp;  &amp;lt;mondomaine.local&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Organisation: &lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;&amp;lt;mondomaine.local&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Faut-il autoriser le protocole   ldapV2: NON&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;A partir d&#39;ici différencie  l&#39;installation sur une Squeeze avec celle sur Lenny:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Il n&#39;y a plus de  /etc/ldap/slapd.conf mais il est remplacé par le répertoire  /etc/ldap/slapd.d.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Néanmoins, on va créer un  fichier &lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;/etc/ldap/slapd.conf  et on chargera le nécessaire pour la configuration du serveur LDAP:&lt;/span&gt;&lt;/div&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;     &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
/* Font Definitions */
@font-face
{font-family:&quot;Cambria Math&quot;;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:&quot;&quot;;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;# vim /etc/ldap/slapd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; line-height: 115%;&quot;&gt;include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/ldap/schema/core.schema&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; line-height: 115%;&quot;&gt;include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/ldap/schema/cosine.schema&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; line-height: 115%;&quot;&gt;include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/ldap/schema/nis.schema&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; line-height: 115%;&quot;&gt;include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/ldap/schema/inetorgperson.schema&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Après l&#39;installation ou  l&#39;ajout d&#39;un schéma, il faut ajouter  la ligne suivante dans le fichier &lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;/etc/ldap/slapd.conf&lt;/span&gt;&lt;span lang=&quot;FR&quot;&gt;: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; line-height: 115%;&quot;&gt;include&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/ldap/schema/monnouveauschema.schema&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;FR&quot;&gt;Puis lancer la commande:&amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;FR&quot; style=&quot;color: #e36c0a; font-size: 18pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot;&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml&quot; rel=&quot;File-List&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx&quot; rel=&quot;themeData&quot;&gt;&lt;/link&gt;&lt;link href=&quot;file:///C:%5CUsers%5Cnjaka%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml&quot; rel=&quot;colorSchemeMapping&quot;&gt;&lt;/link&gt;    &lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;     &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;style&gt;
&lt;!--
/* Font Definitions */
@font-face
{font-family:&quot;Cambria Math&quot;;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:&quot;&quot;;
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:&quot;Times New Roman&quot;;
mso-bidi-theme-font:minor-bidi;
mso-ansi-language:FR;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
--&gt;
&lt;/style&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpFirst&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #e36c0a; font-size: 18pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;# slaptest –f /etc/ldap/slapd.conf  –F /etc/ldap/slapd.d&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span lang=&quot;FR&quot;&gt;Et c&#39;est tout!!!!&amp;nbsp;&lt;/span&gt;&amp;nbsp;  &lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/9071564163738512057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/9071564163738512057'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/07/installer-un-serveur-ldap-sur-une.html' title='Installer un serveur LDAP sur une Debian Squeeze'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-5705250807802183510</id><published>2011-06-17T16:03:00.000+03:00</published><updated>2011-08-29T12:38:13.695+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="MySQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Débuter avec MySQL</title><content type='html'>&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Voici une petite aide mémoire pour débuter avec MySQL&amp;nbsp;(moi-même étant encore débutant alors si vous avez des questions, je vous répondrais avec le peu de connaissances que j’ai en stock pour le moment):&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=2558621851827256687&amp;amp;postID=5705250807802183510&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;BASE&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Créer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;create database nom_BD&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;drop database nom_BD&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Renommer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Il suffit de renommer le dossier correspondant au nom de la base.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Voir la liste des BD existants&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;show databases&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Utiliser une base&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;use nom_BD&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;RELATION (Table):&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Créer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;create table nom_rel(liste des attribut avec leur declations);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;drop table nom_rel&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Renommer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel rename nouveau_nom_rel&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Voir la liste des relations existantes&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;show tables&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;ATTRIBUT (Colonne)&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Créer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Les attributs sont automatiquement créés lors de la création de la relation.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel drop nom_attrib&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Ajouter un nouvel attribut&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel add nouveau_attrib definition_ nouveau_attrib [not null] [first | after prec_attrib]&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer un attribut&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel drop nom_attrib&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Ajouter une clé primaire&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel add primary key (nom_attrib)&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer la clé primaire&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel drop primary key&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Ajouter une contrainte d’unicité&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel add unique(&lt;a href=&quot;http://www.blogger.com/post-create.g?blogID=422916089229690365&quot; name=&quot;OLE_LINK2&quot;&gt;&lt;/a&gt;&lt;a href=&quot;http://www.blogger.com/post-create.g?blogID=422916089229690365&quot; name=&quot;OLE_LINK1&quot;&gt;nom_attrib1, nom_attrib_2,…)&amp;nbsp;;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer la contrainte d’unicité&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;On ne peut pas supprimer la contrainte.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Ajouter un index&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel add index nom_index(liste des attributs)&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer un index&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel drop index nom_index&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Renommer tout en modifiant sa définition&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel change nom_attrib nouveau_nom_attrib nouvelle_definition&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Modifier uniquement sa definition&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;alter table nom_rel modify nom_attrib nouvelle_definition&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;ENREGISTREMENT (tuple)&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Créer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;insert into nom_rel (nom_attrib1, nom_attrib_2,…)&amp;nbsp;values (val_attrib1,val_attrib2,…);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Supprimer&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;delete from nom_rel where condition&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;optimize table nom_rel&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Modifier&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;update nom_rel set nom_attrib=val_attrib where condition&amp;nbsp; [limit nb];&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Sélectionner&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;gt;select nom_rel1.nom_attrib1,nom_attribx,… from nom_rel1,nom_rel2,… where condition&amp;nbsp;;&lt;/div&gt;&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -18.0pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Les conditions et critères de sélections&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Les operateurs&amp;nbsp;arithmétiques et logiques:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;les parenthèses ( ),&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;les opérateurs arithmétiques (+, -, *, /, %),&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;les opérateurs binaires (&amp;lt;, &amp;lt;&amp;lt;, &amp;gt;, &amp;gt;&amp;gt;, |, &amp;amp;),&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;les opérateurs logiques qui retournent 0 (faux) ou 1 (vrai) (AND, OR, NOT, BETWEEN, IN),&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l1 level1 lfo2; text-indent: -18.0pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;nbsp;les opérateurs relationnels (&amp;lt;, &amp;lt;=, =, &amp;gt;, &amp;gt;=, &amp;lt;&amp;gt;).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;BETWEEN s’utilise&amp;nbsp; toujours avec AND&amp;nbsp;: BETWEEN 654 AND 987&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;IN s’utilise lors d’une série de valeurs contenues dans une liste&amp;nbsp;: IN (val1, val2, …)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;u&gt;Comparaison des chaines&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;On peut utiliser le mot clé LIKE.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Les caractères génériques&amp;nbsp;:&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;%&amp;nbsp;: équivaut à aucun ou plusieurs caractères&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;_&amp;nbsp;: équivaut obligatoirement à un et un seul caractère.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Ex&amp;nbsp;: select * from ELEVE where nom LIKE «%pon%»&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Alors, tous les noms contenant la chaine «&amp;nbsp;pon&amp;nbsp;» comme Du&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;pon&lt;/b&gt;d, Du&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;pon&lt;/b&gt;t,… seront sélectionnées&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Ce sera tout pour le moment!&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5705250807802183510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5705250807802183510'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/06/debuter-avec-mysql.html' title='Débuter avec MySQL'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-8331167987005575682</id><published>2011-05-19T14:23:00.000+03:00</published><updated>2011-08-29T12:38:25.277+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Kerberos"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="NSS"/><category scheme="http://www.blogger.com/atom/ns#" term="PAM"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows serveur"/><title type='text'>Configurer une machine Debian pour joindre un domaine AD</title><content type='html'>&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
On va voir comment joindre une machine Debian a un domaine AD.&lt;br /&gt;
Pour mon cas, j&#39;ai Debian Squeeze 6.0.0 et Windows 2008 Server.&lt;br /&gt;
Voici comment procéder:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Configuration du réseau:&lt;/b&gt;&lt;/u&gt; &lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# aptitude install resolvconf&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# vim /etc/network/interfaces&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;iface eth0 inet static &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;address &lt;span style=&quot;background-color: yellow;&quot;&gt;192.168.0.1&lt;/span&gt; &lt;i style=&quot;color: orange;&quot;&gt;#adresse du serveur Samba&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;netmask &lt;span style=&quot;background-color: yellow;&quot;&gt;255.255.255.0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;dns-nameservers &lt;span style=&quot;background-color: yellow;&quot;&gt;192.168.0.2&lt;/span&gt;&lt;i style=&quot;color: orange;&quot;&gt; #adresse du serveur DNS, ici le controleur de domaine&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;dns-search &lt;span style=&quot;background-color: yellow;&quot;&gt;mondomaine.dom&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #00b0f0;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #00b0f0;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=2558621851827256687&amp;amp;postID=8331167987005575682&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;#vim /etc/resolv.conf&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;domain &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=422916089229690365&amp;amp;postID=9137517080658550774&quot; name=&quot;_GoBack&quot;&gt;&lt;/a&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;search &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;nameserver &lt;span style=&quot;background-color: yellow;&quot;&gt;192.168.0.2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# vim /etc/hosts&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;127.0.0.1 &lt;span style=&quot;background-color: yellow;&quot;&gt;SRV-SMB.&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt; SRV-SMB&lt;/span&gt; localhost&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #f3f3f3; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;192.168.0.1 SRV-SMB.&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt; SRV-SMB&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #eeeeee; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;192.168.0.2 SRV-AD.&lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt; SRV-AD&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# /etc/init.d/networking restart&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start=&quot;2&quot; type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Installation et  configuration de kerberos&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# aptitude install krb5-config krb5-user krb5-clients&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# vim /etc/krb5.conf&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[libdefaults]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; default_realm = &lt;span style=&quot;background-color: yellow;&quot;&gt;MONDOMAINE.DOM&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[realms]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;MONDOMAINE.DOM&lt;/span&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; = {&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;  kdc = &lt;span style=&quot;background-color: yellow;&quot;&gt;SRV-AD&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;  admin_server = &lt;span style=&quot;background-color: yellow;&quot;&gt;SRV-AD&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; }&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[domain_realm]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; .&lt;span style=&quot;background-color: yellow;&quot;&gt;mondomaine.dom&lt;/span&gt; = &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;MONDOMAINE.DOM&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;mondomaine.dom&lt;/span&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;background-color: yellow; color: #00b0f0;&quot;&gt;MONDOMAINE.DOM&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[login]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; krb4_convert = true&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt; krb4_get_tickets = false&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start=&quot;3&quot; type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Synchroniser la date et  l’heure avec ceux du contrôleur de domaine:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;#aptitude install ntpdate&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# ntpdate &lt;span style=&quot;background-color: yellow;&quot;&gt;SRV-AD&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# kinit Administrateur&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# klist&lt;/div&gt;&lt;ol start=&quot;4&quot; type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Installation et  configuration de samba&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# aptitude install samba smbclient smbfs winbind&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# vim /etc/samba/smb.conf&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[global]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;netbios name = &lt;span style=&quot;background-color: yellow;&quot;&gt;SRV-SMB&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;server string = &lt;span style=&quot;background-color: yellow;&quot;&gt;Serveur de fichiers&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;wins server = &lt;span style=&quot;background-color: yellow;&quot;&gt;192.168.0.2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;password server = &lt;span style=&quot;background-color: yellow;&quot;&gt;192.168.0.2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;client use spnego = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;client ntlmv2 auth = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;workgroup =&lt;span style=&quot;background-color: yellow;&quot;&gt;MONDOMAINE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;realm = &lt;span style=&quot;background-color: yellow;&quot;&gt;MONDOMAINE.DOM&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;encrypt passwords = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;security = ads&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;idmap uid = 10000-20000&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;idmap gid = 10000-20000&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;winbind enum users = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;winbind enum groups = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;winbind use default domain = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;template shell = /bin/bash&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;template homedir= /home/&lt;span style=&quot;background-color: yellow;&quot;&gt;MONDOMAINE&lt;/span&gt;/%u&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;obey pam restrictions = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;[Homes]&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;comment = User Homes Directories&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;create mask = 0700&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;directory mask = 0700 &lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;browseable = yes&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# mkdir /home/&lt;span style=&quot;background-color: yellow;&quot;&gt;MONDOMAINE&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# vim /etc/nsswitch.conf&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;passwd  compat winbind&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;group    compat winbind&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# /etc/init.d/samba restart&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# /etc/init.d/winbind restart&lt;/div&gt;&lt;ol start=&quot;5&quot; type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Ajout du serveur Samba au  domaine&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# net ads join –U Administrateur&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# net ads testjoin&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Join is ok&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# wbinfo –u&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;liste des utilisateurs créés dans AD&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# wbinfo –g&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;liste des groups créés dans AD&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# /etc/init.d/samba restart&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;# /etc/init.d/winbind restart&lt;/div&gt;&lt;ol start=&quot;6&quot; type=&quot;I&quot;&gt;&lt;li&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;u&gt;&lt;b&gt;Installation et  configuration de PAM&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;# vim /etc/pam.d/common-auth&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;auth  sufficient  pam_winbind.so&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0.05cm; margin-top: 0.05cm;&quot;&gt;# vim /etc/pam.d/common-account&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0.05cm; margin-top: 0.05cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;account   sufficient   pam_winbind.so&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0.05cm; margin-top: 0.05cm;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;# vim /etc/pam.d/common-session&lt;/div&gt;&lt;div style=&quot;line-height: 100%; margin-bottom: 0cm;&quot;&gt;&lt;span style=&quot;color: #00b0f0;&quot;&gt;session  required  pam_mkhomedir.so  skel=/etc/skel  umask=0022&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8331167987005575682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/8331167987005575682'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/05/configurer-une-machine-debian-pour.html' title='Configurer une machine Debian pour joindre un domaine AD'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-5721500316241492479</id><published>2011-04-07T09:12:00.000+03:00</published><updated>2011-08-29T12:38:47.461+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>NIS-NFS</title><content type='html'>&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoBodyText&quot; style=&quot;text-indent: 35.45pt;&quot;&gt;&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Dans cet article, je n’ai pas l’intention d’expliquer ce qu’est un service NIS (&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;Network Information Service&lt;/span&gt;) ni un système de fichiers réseaux NFS (Network Files System).&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;text-indent: 35.45pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Je vais seulement parcourir les étapes de configuration minimale et nécessaire pour mettre en place un système d’authentification basé sur un exemple de bases de données dit «à plats».&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Autrement dit, cela consiste plus précisément en la publication des informations contenues dans les fichiers /etc/passwd, /etc/group et /etc/shadow sur le réseau et à les utiliser a des fins d’authentification.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Evidement, peu d’entre vous seront intéressé par ce post car il existe déjà d’autres systèmes plus récents et meilleurs comme Kerberos et LDAP que j’avais déjà publié ou que je publierai sur ce blog.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=2558621851827256687&amp;amp;postID=5721500316241492479&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;; font-size: 14pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Plan d&#39;adressage:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Serveur: 192.168.0.1/24&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Clients: appartiennent au réseau 192.168.0.0/24&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;; font-size: 14pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Le système de fichiers NFS:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;&lt;u&gt;Installation et configuration du serveur NFS:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# aptitude install nfs-kernel-server&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# dpkg-reconfigure portmap&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Repondre: NON&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# mkdir /home/nis&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;C’est dans ce répertoire que tous les dossiers personnels des utilisateurs du domaine NIS seront crées pour ne pas les confondre avec ceux des utilisateurs locaux. On pourrait même donner le nom du domaine à ce répertoire mais ici pour faire simple j’ai mis tout simplement nis.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;On va maintenant exporter ce répertoire pour qu’il soit disponible sur tous le réseau et pour que quelque soit la machine sur laquelle se connecte le client, son dossier personnel lui est disponible:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;# vim /etc/exports&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;PreformattedText&quot; style=&quot;margin-bottom: 14.15pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Liberation Serif&amp;quot;, serif; font-size: 12pt;&quot;&gt;/home/nis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.0/24(sync,rw,no_root_squash,no_subtree_check)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;PreformattedText&quot; style=&quot;margin-bottom: 14.15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Redémarrer le service:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# /etc/init.d/nfs-kernel-server restart&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;On peut maintenant vérifier:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# showmount -e 192.168.0.1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;Export list for 192.168.0.1:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;/home/nis 192.168.0.0/24&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# exportfs&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;/home/nis&amp;nbsp; 192.168.0.0/24&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&amp;nbsp;&lt;b&gt;&lt;u&gt;Configuration du client NFS:&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #c00000;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# mkdir /home/nis&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;On doit créer ce répertoire dans lequel on va monter au démarrage le dossier /home/nis du serveur.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Pour cela, on va éditer le fichier /etc/fstab:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;# vim /etc/fstab&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;PreformattedText&quot; style=&quot;margin-bottom: 14.15pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Liberation Serif&amp;quot;, serif; font-size: 12pt;&quot;&gt;192.168.0.1:/home/nis&amp;nbsp;&amp;nbsp; /home/nis&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nfs&amp;nbsp;&amp;nbsp;&amp;nbsp; soft,timeo=5,intr,rsize=8192,wsize=8192&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;# mount –a&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;; font-size: 14pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Configuration du service NIS&amp;nbsp;:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;b&gt;&lt;u&gt;Installation et configuration du serveur NIS&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# aptitude install nis&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Entrer votre nom de domaine NIS: arand.org&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Avant de procéder à la configuration, il vaut mieux arrêter le service:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# /etc/init.d/nis stop&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Pour que notre serveur soit un serveur NIS maitre, editer le fichier /etc/default/nis:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# vim /etc/default/nis&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;text-indent: 35.45pt;&quot;&gt;NISSERVER=master&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# vim /etc/yp.conf&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;text-indent: 35.45pt;&quot;&gt;&amp;nbsp;ypserver 127.0.0.1&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Demarrer le service:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&amp;nbsp;# /etc/init.d/nis start&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;Starting NIS services: ypserv yppasswdd ypxfrd ypbindbinding to YP server...........................................failed (backgrounded).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# cd /var/yp&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;On va fixer à 2000 le UID et GID minimal pour les utilisateurs du domaine NIS:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;# vim Makefile&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.4pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;MINUID=2000&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.4pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;MINGID=2000&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 35.4pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;# /usr/lib/yp/ypinit –m&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;u&gt;Configuration du client NIS&amp;nbsp;:&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# aptitude install nis&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Entrer le nom du domaine NIS: arand.org&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;On peut verifier&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# nisdomainname&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;arand.org&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# ypwhich&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;Serveur&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# ypcat hosts&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;192.168.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serveur&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;192.168.0.11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span style=&quot;background-attachment: scroll; background-color: silver; background-image: none; background-position: 0% 0%; background-repeat: repeat repeat; color: #c00000;&quot;&gt;192.168.0.12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Attention au nombre de DEUX-POINTS pour ce qui suivent:&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# echo &quot;+::::::&quot; &amp;gt;&amp;gt;/etc/passwd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6 DEUX-POINTS&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# echo &quot;+::::::::&quot; &amp;gt;&amp;gt;/etc/shadow&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8 DEUX-POINTS&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;# echo &quot;+:::&quot; &amp;gt;&amp;gt;/etc/group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 DEUX-POINTS&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Symbol&amp;quot;; font-size: 14pt;&quot;&gt;·&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;Création d’un compte utilisateur NIS&amp;nbsp;:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;# cd /var/yp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;# adduser --home /home/nis/user1nis --uid 2000 user1nis&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot;&gt;Attention! &lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Si l’UID de l’utilisateur est inferieur à 2000, les informations sur l’utilisateur ne seront pas disponibles sur le réseau.&lt;/div&gt;&lt;div class=&quot;MsoBodyText&quot; style=&quot;margin-left: 36pt; text-indent: -18pt;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 7pt; font-style: normal; font-variant: normal; font-weight: 400; line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Si l’option --home n’est pas spécifié avec le bon chemin, le dossier personnel de l’utilisateur ne lui sera pas disponible lorsqu’il se connecte à un poste client du réseau.&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5721500316241492479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/5721500316241492479'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/04/nis-nfs.html' title='NIS-NFS'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-2927949765736977354</id><published>2011-03-22T12:02:00.000+03:00</published><updated>2011-09-19T13:56:06.602+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="sid"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Testing"/><title type='text'>Debian Squeze : pour passer de Testing a la version Stable :</title><content type='html'>&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=2558621851827256687&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Après quelques semaines de silence me revoilà avec un article assez simple&amp;nbsp;; ce qu’il fallait c’est d’y avoir pensé.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Bon&amp;nbsp;!!! Assez bavarder&amp;nbsp;!!!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Nombreux m’ont demandé comment mettre a niveau un système Debian GNU/Linux sans avoir à réinstaller le système tout entier.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour passer de Lenny à Squeze je vous invite à lire &lt;a href=&quot;http://arand263.blogspot.com/2011/01/de-lenny-squeeze.html&quot;&gt;cet article.&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour ceux qui ont déjà Squeeze mais encore en version beta, ce post va montrer comment passer de Testing à la version Stable.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Il s’agit seulement de lancer quelques commandes et tout y est.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour commencer, éditer le fichier /etc/apt/sources.list et commenter tout ce qui n’est pas nécessaires&amp;nbsp;(attention aux sources de mise à jour de sécurité et d’autres sources de paquets) ou bien&amp;nbsp;faire simplement:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# cp /etc/apt/sources.list /etc/apt/sources.list.old&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# sed -e /cdrom/d /etc/apt/sources.list.old &amp;gt; /etc/apt/sources.list&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour changer tous les termes «&amp;nbsp;testing» en «&amp;nbsp;stable&amp;nbsp;»&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# vim /etc/apt/sources.list&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;:%s/testing/stable/g&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Ensuite, insérer le CD1 ou DVD1 de votre jeu de cdrom de la version stable&amp;nbsp;et lancer la commande&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# apt-cdrom add&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# aptitude update&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour mettre à niveau le noyau&amp;nbsp;et mettre à jour les paquets installés:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# aptitude full-upgrade&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour plus d’info sur cette commande&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# man aptitude&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Enfin si vous avez eu un problème comme moi lors de l’installation de grub (ne vous en faites pas vous n’auriez aucun problème, le mien est du a une erreur de gravure) il suffit seulement de supprimer l’ancienne version et d’installer la plus récente&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# aptitude remove grub&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# aptitude install grub-pc&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Pour charger directement avec le nouveau Grub&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;# upgrade-from-grub-legacy&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Times New Roman&#39;, serif; font-size: 12pt; line-height: 115%;&quot;&gt;Voila, tout y est&amp;nbsp;!!!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;line-height: 115%;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2927949765736977354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2927949765736977354'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/03/debian-squeze-pour-passer-de-testing-la.html' title='Debian Squeze : pour passer de Testing a la version Stable :'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-2887816653421697641</id><published>2011-01-13T09:43:00.000+03:00</published><updated>2011-08-29T12:39:35.440+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory"/><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Kerberos"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="NSS"/><category scheme="http://www.blogger.com/atom/ns#" term="PAM"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows serveur"/><title type='text'>Serveur Samba avec authentification Active Directory sur une Debian Squeeze</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;br /&gt;
Mon but est de faire de Samba un serveur de fichiers membre d&#39;un domaine AD. Pour cela:&lt;br /&gt;
1-On va intégrer notre serveur Samba pour joindre le domaine AD.&lt;br /&gt;
2-On va créer un script pour:&lt;br /&gt;
- vérifier si des utilisateurs sont récemment ajoutés&lt;br /&gt;
- créer automatiquement leurs $HOME, dans ce cas&lt;br /&gt;
3-Sur l&#39;AD on peut élaborer deux GPO dont l&#39;un seul suffit:&lt;br /&gt;
- rediriger le contenu de chaque utilisateurs vers son $HOME qui est stocké sur le serveur de fichiers&lt;br /&gt;
- monter automatiquement le $HOME de l&#39;utilisateur en tant que lecteur réseau&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=2558621851827256687&amp;amp;postID=2887816653421697641&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;1- Pour intégrer une machine Debian&amp;nbsp; dans un domaine AD, voir &lt;a href=&quot;http://arand263.blogspot.com/2011/05/configurer-une-machine-debian-pour.html&quot;&gt;cet article&lt;/a&gt;.&lt;br /&gt;
2- Pour ceux qui sont intéressés par ce script, je vous prie de me contacter et je vous l&#39;enverrez par mail&lt;br /&gt;
3- Je vous publierai le contenu de cette 3ème partie à la prochaine fois</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2887816653421697641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2887816653421697641'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/01/serveur-samba-avec-authentification.html' title='Serveur Samba avec authentification Active Directory sur une Debian Squeeze'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-2946760519484422698</id><published>2011-01-13T09:26:00.000+03:00</published><updated>2013-01-24T11:13:18.508+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="NSS"/><category scheme="http://www.blogger.com/atom/ns#" term="openvpn"/><category scheme="http://www.blogger.com/atom/ns#" term="PAM"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><category scheme="http://www.blogger.com/atom/ns#" term="VPN"/><title type='text'>Serveur OpenVPN avec authentification LDAP sur une Debian Squeeze</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=2558621851827256687&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;On suppose que le serveur LDAP est déjà mis en place et est opérationnel. &lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Sinon voir l&#39;article : « &lt;a href=&quot;http://arand263.blogspot.com/2011/01/serveur-samba-monte-en-pdc-avec.html&quot;&gt;Mise en place d&#39;un serveur Samba monté en PDC avec authentification LDAP&lt;/a&gt; » &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #783f04; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;I-Configuration coté serveur:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;1-Installation des paquets nécessaires :&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# aptitude install openvpn openssl&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Effectuer une copie du dossier contenant les scripts de génération de clés: &lt;/span&gt; &lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# cp /usr/share/doc/openvpn/examples/easy-rsa openvpn/ -R&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# cd openvpn/2.0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=2558621851827256687&amp;amp;postID=2946760519484422698&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;1-Créer les clés et les certificats:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Editer le fichier vars et modifier les lignes suivantes:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# vim vars&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;export KEY_COUNTRY=&quot;MG&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;export KEY_PROVINCE=&quot;Antananarivo&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;export KEY_CITY=&quot;Tana Ville&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;export KEY_ORG=&quot;ARAND&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;export KEY_EMAIL=&quot;root@Serveur.arand.com&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Initialiser les clés:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# . ./vars&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ./clean-all&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Créer la clé de l&#39;autorité de certification (ca) principale:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ./build-ca&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Toujours valider par la touche Entrée jusqu&#39;à:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: white; color: #a64d79;&quot;&gt;Common Name (eg, yourname or yourserver&#39;shostname) []:&lt;span style=&quot;background-color: yellow;&quot;&gt;Serveur &lt;/span&gt;&lt;/span&gt;(résultat de la commande hostname)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Créer la clé et le certificat propre au serveur:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ./build-key-server Serveur&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: black; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Toujours valider par la touche Entrée jusqu&#39;à:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Certificateis to becertifieduntilDec 14 10:43:30 2020 GMT (3650 days)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Sign the certificate? [y/n]:&lt;span style=&quot;background-color: yellow;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1 out of 1 certificaterequestscertified, commit? [y/n]&lt;span style=&quot;background-color: yellow;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Write out databasewith 1 new entries&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Créer la clé et le certificat pour le client:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ./build-key Client&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Toujours valider par la touche Entrée jusqu&#39;a:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Certificateis to becertifieduntilDec 14 10:46:56 2020 GMT (3650 days)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Sign the certificate? [y/n]:&lt;span style=&quot;background-color: yellow;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;1 out of 1 certificaterequestscertified, commit? [y/n]&lt;span style=&quot;background-color: yellow;&quot;&gt;y&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Write out databasewith 1 new entries&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Data Base Updated&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Créer les parametres Diffie-Hellman&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ./build-dh&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Generating DH parameters, 1024 bit long safe prime, generator 2&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;This isgoing to take a long time&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;.............................+..........+.+...........................................................................+..+...........+.............................................................++*++*++*&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;On peut verifier:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# ls keys&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;01.pem  02.pem  03.pem  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;index.txt  index.txt.old index.txt.attr index.txt.attr.old&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;serial  serial.old&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;dh1024.pem&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ca.crt  ca.key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Serveur.csr Serveur.crt  Serveur.key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Client.csr       Client.crt   Client.key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Enfin, il faut copier tous les fichiers necessaires au serveur dans le dossier de configuration d&#39;OpenVPN:    &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# cd keys&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# cp dh* ca* Serveur* /etc/openvpn&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;2-Créer le fichier de configuration d’OpenVPN :&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# vim /etc/openvpn/openvpn.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Voici mon fichier openvpn.conf. Adaptez-le pour qu’il soit conforme à votre configuration&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;port 1194&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;proto tcp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;dev tun&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ca ca.crt&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;cert Serveur.crt&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;key Serveur.key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;dh dh1024.pem&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;server 10.8.0.0 255.255.255.0&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ifconfig-pool-persist ipp.txt&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;push &quot;route 192.168.0.0 255.255.255.0&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;### car l’adresse du serveur est 192.168.0.1/24&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;client-to-client&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;keepalive 10 120&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;comp-lzo&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;persist-key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;persist-tun&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;status openvpn-status.log&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;log openvpn.log&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;log-append openvpn-append.log&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;verb 9&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;### Insérer les lignes suivantes pour avoir l’authentification LDAP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;username-as-common-name&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpn&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Redemarrer le service&amp;nbsp;:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# openvpn /etc/openvpn/openvpn.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #7f6000; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;II-Configuration du client&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;1-Installer OpenVPN&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# aptitude install openvpn&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;2-Créer le fichier de configuration pour le Client&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Pour un client Debian le fichier sera Client.conf. Voici mon fichier Client.conf. Comme précédemment adaptez ce fichier au votre&amp;nbsp;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Client&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;dev tun&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;proto tcp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;remotexxx.xxx.xxx.xxx:1194&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;### adresse IP publique du serveur et son port d’écoute&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;resolv-retry infinite&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;nobind&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;persist-key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;persist-tun&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ca ca.crt&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;cert Client.crt&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;key Client.key&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;ns-cert-type server&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;comp-lzo&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;verb 3&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: magenta; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;### Cette ligne indique que le client devra s’authentifier&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: red; font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;auth-user-pass&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;3-Récupérer les fichiers clés et certificats pour le&amp;nbsp;client:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Il faut récupérer&amp;nbsp;les fichiers&amp;nbsp;: ca.* et Client.* et les placer avec le fichier Client.conf dans le dossier de configuration d’OpenVPN.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;b&gt;4-Redémarrer le service et se connecter&amp;nbsp;:&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# /etc/init.d/openvpn restart&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;# openvpn /etc/openvpn/Client.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Voila, je crois que tout y est!!!! &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2946760519484422698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/2946760519484422698'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/01/serveur-openvpn-avec-authentification.html' title='Serveur OpenVPN avec authentification LDAP sur une Debian Squeeze'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-4057232235664279912</id><published>2011-01-13T09:18:00.000+03:00</published><updated>2011-08-29T12:40:10.685+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Controleur de domaine"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="LDAP"/><category scheme="http://www.blogger.com/atom/ns#" term="NSS"/><category scheme="http://www.blogger.com/atom/ns#" term="PAM"/><category scheme="http://www.blogger.com/atom/ns#" term="PDC"/><category scheme="http://www.blogger.com/atom/ns#" term="Samba"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>Serveur Samba monté en PDC avec authentification LDAP sur une Debian Squeeze avec clients Windows7</title><content type='html'>Pour monter un PDC SAMBA-LDAP voici les étapes nécessaires:&lt;br /&gt;
- &lt;a href=&quot;http://arand263.blogspot.com/2011/07/installer-un-serveur-ldap-sur-une.html&quot;&gt;Installer un serveur d&#39;annuaire LDAP&lt;/a&gt;&lt;br /&gt;
- Installer et configurer Samba pour faire office de PDC&lt;br /&gt;
- Installer et configurer les outils LDAP pour Samba&lt;br /&gt;
- Installer et configurer les librairies NSS et PAM pour LDAP&lt;br /&gt;
Je vais détailler un à un ces quatre étapes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/4057232235664279912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/4057232235664279912'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/01/serveur-samba-monte-en-pdc-avec.html' title='Serveur Samba monté en PDC avec authentification LDAP sur une Debian Squeeze avec clients Windows7'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2558621851827256687.post-9078541533054371928</id><published>2011-01-12T10:27:00.000+03:00</published><updated>2011-08-29T12:40:22.414+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="Lenny"/><category scheme="http://www.blogger.com/atom/ns#" term="Squeeze"/><title type='text'>De Lenny a Squeeze</title><content type='html'>Insérer le CD1 ou DVD1 de Squeze et lancer la commande:&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# apt-cdrom add&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# aptitude update&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Arrêter gdm&lt;/span&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# /etc/init.d/gdm stop &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Procéder a la mise a niveau du système et a la mise a jour des paquets installés:&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# apt-get dist-upgrade&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;ou bien&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# aptitude full-upgrade&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Pour charger directement avec grub2:&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# upgrade-from-grub-legacy&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Redemarrer:&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;# reboot&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #073763;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Et c&#39;est tout!!! &lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/9078541533054371928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2558621851827256687/posts/default/9078541533054371928'/><link rel='alternate' type='text/html' href='http://arand263.blogspot.com/2011/01/de-lenny-squeeze.html' title='De Lenny a Squeeze'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>