<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.davidrobin.net/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>MyFacebookSpace</title>
  <link>http://blog.davidrobin.net/</link>
  <atom:link href="http://blog.davidrobin.net/feed/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Thu, 26 Nov 2009 08:57:43 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Drupal 6.x et AWS</title>
    <link>http://blog.davidrobin.net/post/2009/04/07/Drupal-6x-et-AWS</link>
    <guid isPermaLink="false">urn:md5:03727aa228c7c626b886cd81f0e64fe8</guid>
    <pubDate>Tue, 07 Apr 2009 11:48:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
            
    <description>    &lt;p&gt;&lt;img title=&quot;barca-1.jpg, avr 2009&quot; style=&quot;margin: 0 auto; display: block; width: 314px; height: 346px;&quot; alt=&quot;&quot; src=&quot;http://blog.davidrobin.net/public/images/.barca-1_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Hello après plusieurs mois de silence et de travail intensif sur drupal et
les outils amazon pour un nouveau grand projet, voici en guise de récompense
pour cette longue attente un module permettant l'integration de la librairie
&lt;a hreflang=&quot;en&quot; href=&quot;http://tarzan-aws.com/&quot;&gt;Tarzan&lt;/a&gt; a Drupal.&lt;/p&gt;
&lt;p&gt;Et aussi un changement de theme de photo, ici une sculpture de sable sur une
plage barcelonaise.&lt;/p&gt;
&lt;p&gt;Je vais completer ce post afin de détailler un peu plus tout ça mais en
attendant voici le zip du module :&lt;/p&gt;
&lt;p&gt;&lt;a hreflang=&quot;en&quot; href=&quot;http://blog.davidrobin.net/public/ressources-codes/creeper.zip&quot;&gt;creeper.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Il devrait bientot avoir sa propre section sur le site drupal.org&lt;br /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2009/04/07/Drupal-6x-et-AWS#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2009/04/07/Drupal-6x-et-AWS#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/391321</wfw:commentRss>
      </item>
    
  <item>
    <title>Tomcat 6 avec l'apache portable runtime</title>
    <link>http://blog.davidrobin.net/post/2008/05/02/Tomcat-6-avec-lapache-portable-runtime</link>
    <guid isPermaLink="false">urn:md5:045016cde8dcd11480321afec51bcea7</guid>
    <pubDate>Fri, 02 May 2008 21:21:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p&gt;&lt;img style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;&quot; src=&quot;http://blog.davidrobin.net/public/images/.lion_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Installer Tomcat 6 est couvert dans de nombreux tutoriaux.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Dans ce post, je vais couvrir l'installation de tomcat 6 avec l'Apache Portable
Runtime, ce qui permet au serveur tomcat d'utiliser des librairies natives pour
gérer le SSL ou pour servir des fichiers statiques par exemple.&lt;/p&gt;    &lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Une installation de ce type est très intéressante pour installer un serveur
d'authentification CAS (un futur post dessus va voir le jour prochainement sur
mon blog :p), car CAS ne sert que des pages dynamiques en SSL (donc le gain en
performance est très significatif si CAS tourne avec l'APR)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pré-requis : installation du jdk 1.6 (et positionnement de la fameuse variable
d'environement JAVA_HOME), des outils de compilation unix (gcc, g++),des
building tools unix classiques (autoconf, automake, etc..) et il faut aussi
avoir les headers de la librairie OpenSSL pour pouvoir compiler une application
utilisant openssl (package libssl-dev sous ubuntu 8.04)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Les étapes :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- il va falloir compiler l'APR afin d'être sur du bon fonctionnement final de
tomcat 6 avec jsvc (les packages tout fait sont souvent compilés avec de
mauvaises options et provoquent un démarrage du serveur tomcat 6 anormalement
long, comme nous le verrons plus loin).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Générer des certificats pour le bon fonctionnement de tomcat en mode ssl&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Configurer tomcat&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Créer un utilisateur sous lequel le processus s'exécutera ainsi que
des scripts de démarrage automatiques.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le nécessaire :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- &lt;a hreflang=&quot;fr&quot; href=&quot;http://tomcat.apache.org/download-60.cgi&quot;&gt;tomcat
6.0.16 (ou supérieur)&lt;/a&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- &lt;a hreflang=&quot;fr&quot; href=&quot;http://apr.apache.org/download.cgi&quot;&gt;apr sources
1.2.12&lt;/a&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
1) Compilation de l'APR pour Tomcat 6 :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Nous allons installer toutes les librairies et placer tous les header
nécessaires à la compilation d'autres outils utilisants ces librairies dans
/opt/apr-tomcat-6.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faut tout d'abord décompresser l'archive&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
 tar xvzf apr-1.2.12.tar.gz&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Créer le répertoire qui va contenir les librairies que nous allons
compiler&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo mkdir /opt/apr-tomcat-6&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Se placer dans le répertoire contenant ce que nous avons décompresser et
lancer la configuration suivante :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
./configure --prefix=/opt/apr-tomcat-6/ --with-devrandom=/dev/urandom&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
puis&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo make &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et enfin&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo make instal&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
l'option --with-devrandom est très importante : par défaut apr utilise
/dev/random, et c'est ce qui provoque un démarrage lent du serveur lorsqu'il
utilise SSL : le système met du temps a générer de l'entropie avec
/dev/random.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
C'est pour cette raison que nous n'avons pas pu utiliser le package libapr de
la distribution, mais ce n'est pas génant car la vocation de l'APR c'est d'être
compilé spécialement pour  l'outil dans lequel il doit être embarqué,
comme expliqué sur le site officiel du projet :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;q&gt;As of this writing, APR is not quite ready to be installed as a system-wide
shared library; it currently works best when tied directly to the application
using it.&lt;/q&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
2) Installation de tomcat&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Se placer dans le répertoire /opt et détarrer l'archive de tomcat 6.0.16&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo tar xvzf apache-tomcat-6.0.16.tar.gz&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Vous devriez avoir un répertoire /opt/apache-tomcat-6.0.16&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Pour des soucis de maintenabilité de scripts pour démarrer / stopper tomcat,
nous allons créer un lien symbolique /opt/tomcat qui pointera vers
/opt/apache-tomcat-6.0.16&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ln -s /opt/apache-tomcat-6.0.16 /opt/tomcat&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Se rendre dans le répertoire /opt/tomcat/bin&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Nous allons compiler les wrappers JNI pour tomcat utilisants la librairie APR
spécialement compilée pour le serveur à l'étape précédente :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo tar xvzf tomcat-native.tar.gz&lt;br /&gt;
cd tomcat-native-1.1.12-src/jni/native&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo ./configure --with-apr=/opt/apr-tomcat-6
--with-java-home=/usr/lib/jvm/java-6-sun --with-ssl=yes&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
puis&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo make&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo make install&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Maintenant nous allons installer l'outil jsvc (aussi inclus dans la
distribution de tomcat 6).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cet outil permet de démarrer tomcat 6 en tant que démon et de pouvoir par
exemple démarrer tomcat sur le port 80 et de switcher d'utilisateur une fois le
processus démarré.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Nous allons nous replacer dans /opt/tomcat/bin et executer :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo tar xvzf jsvc.tar.gz&lt;br /&gt;
cd jsvc-src/&lt;br /&gt;
sudo chmod u+x configure&lt;br /&gt;
sudo ./configure --with-java=/usr/lib/jvm/java-6-sun&lt;br /&gt;
sudo make&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L'outil est compilé et disponible dans /opt/tomcat/bin/jsvc-src/.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si votre tomcat est destiné à un environnement de production, vous pouvez aussi
modifier le fichier /opt/tomcat/conf/web.xml pour ajouter :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        &amp;lt;init-param&amp;gt;&lt;br /&gt;
           
&amp;lt;param-name&amp;gt;development&amp;lt;/param-name&amp;gt;&lt;br /&gt;
           
&amp;lt;param-value&amp;gt;false&amp;lt;/param-value&amp;gt;&lt;br /&gt;
        &amp;lt;/init-param&amp;gt;&lt;br /&gt;
       &amp;lt;init-param&amp;gt;&lt;br /&gt;
           
&amp;lt;param-name&amp;gt;genStringAsCharArray&amp;lt;/param-name&amp;gt;&lt;br /&gt;
           
&amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;&lt;br /&gt;
        &amp;lt;/init-param&amp;gt;&lt;br /&gt;
        &amp;lt;init-param&amp;gt;&lt;br /&gt;
           
&amp;lt;param-name&amp;gt;trimSpaces&amp;lt;/param-name&amp;gt;&lt;br /&gt;
           
&amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;&lt;br /&gt;
        &amp;lt;/init-param&amp;gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
A la liste des init-param de la servlet Jasper
(org.apache.jasper.servlet.JspServlet).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faudra dans ce cas déployer des webapps ayant précompilées les JSPs.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Mais pas de panique si tout ceci ne vous semble pas très clair car c'est
détaillé &lt;a hreflang=&quot;fr&quot; href=&quot;http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html&quot;&gt;ici&lt;/a&gt;.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
3) Les certificats pour le mode SSL de tomcat : &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour fonctionner en mode SSL, tomcat va avoir besoin de certificats.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire nous allons générer des certificats auto-signés par des
certificats émulant ceux d'une autorité certificatrice  (comme expliqué
dans un précédent post sur openssl)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Tous les certificats que nous allons créer pour tomcat vont se trouver dans
un répertoire /opt/tomcat-certificats&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
mkdir /opt/tomcat-certificats&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
cd /opt/tomcat-certificats&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Générer la clée&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo openssl genrsa -out tomcat-key.pem 1024&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- il faut ensuite créer une requete de signature :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo openssl req -new -out tomcat-req.csr -key tomcat-key.pem&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Et signer cette requête à l'aide de nos certificats racine :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo openssl ca -policy policy_anything -out tomcat-cert.pem -infiles
tomcat-req.csr&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Vérification du certificat :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo openssl verify -CAfile /opt/root-certificats/cacert.pem -purpose sslserver
tomcat-cert.pem&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
-Mise a jour des droits sur le répertoire contenant les certificats pour
l'utilisateur tomcat  :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chown -R tomcat:tomcat /opt/tomcat-certificats&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
4) Configuration du serveur tomcat :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Editer le fichier /opt/tomcat/conf/server.xml et remplacer le connecteur par
défaut sur le port 8080 par celui-ci&lt;/p&gt;
&lt;p&gt;  &amp;lt;Connector
protocol=&amp;quot;org.apache.coyote.http11.Http11AprProtocol&amp;quot;&lt;br /&gt;
           port=&amp;quot;80&amp;quot;&lt;br /&gt;
          
enableLookups=&amp;quot;true&amp;quot; disableUploadTimeout=&amp;quot;true&amp;quot;&lt;br /&gt;
          
acceptCount=&amp;quot;100&amp;quot;  maxThreads=&amp;quot;200&amp;quot; URIEncoding=&amp;quot;UTF-8&amp;quot;&lt;br /&gt;
           scheme=&amp;quot;http&amp;quot;
/&amp;gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Et ajouter juste après le connecteur pour la connection en HTTPS :&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
  &amp;lt;Connector
protocol=&amp;quot;org.apache.coyote.http11.Http11AprProtocol&amp;quot;&lt;br /&gt;
           port=&amp;quot;443&amp;quot;&lt;br /&gt;
          
enableLookups=&amp;quot;true&amp;quot; disableUploadTimeout=&amp;quot;true&amp;quot;&lt;br /&gt;
          
acceptCount=&amp;quot;100&amp;quot;  maxThreads=&amp;quot;200&amp;quot; URIEncoding=&amp;quot;UTF-8&amp;quot;&lt;br /&gt;
           scheme=&amp;quot;https&amp;quot;
secure=&amp;quot;true&amp;quot; SSLEnabled=&amp;quot;true&amp;quot;&lt;br /&gt;
          
SSLCertificateFile=&amp;quot;/opt/tomcat-certificats/tomcat-cert.pem&amp;quot;&lt;br /&gt;
          
SSLCertificateKeyFile=&amp;quot;/opt/tomcat-certificats/tomcat-key.pem&amp;quot;&lt;br /&gt;
           sslProtocol=&amp;quot;TLS&amp;quot;
/&amp;gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
4) Scripts de démarrages et tweaking avancé du serveur&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour que votre serveur tomcat puisse supporter une très grande charge (300
requêtes / secondes) , vous serez sûrement amenés à augmenter le nombre maximum
de &amp;quot;file descriptor&amp;quot; pouvant etre ouverts simultanément.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire éditez le fichier /etc/security/limits.conf pour y ajouter à la
fin les 2 lignes suivantes :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
tomcat soft nofile 4096&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
tomcat hard nofile 4096&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sauvez et rebootez la machine.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Par la suite dans tout script de votre création avant de démarrer tomcat vous
ajouterez&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
su tomcat -c &amp;quot;ulimit -n 4096&amp;quot;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Et vous ne devriez pas être embêté avec des erreurs du type &amp;quot;too many open
file&amp;quot;.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Mettre dans /opt/tomcat/bin un script nommé Tomcat6.sh contenant :&lt;/p&gt;
&lt;p&gt;#Debut fichier Tomcat6.sh&lt;/p&gt;
&lt;p&gt;# Adapt the following lines to your configuration&lt;br /&gt;
LD_LIBRARY_PATH=/usr/local/apr/lib&lt;br /&gt;
JAVA_HOME=/usr/lib/jvm/java-6-sun&lt;br /&gt;
CATALINA_HOME=/opt/tomcat&lt;br /&gt;
DAEMON_HOME=$CATALINA_HOME/bin&lt;br /&gt;
TOMCAT_USER=tomcat&lt;br /&gt;
ENDORSED_DIR=$CATALINA_HOME/common/endorsed&lt;br /&gt;
# for multi instances adapt those lines.&lt;br /&gt;
TMP_DIR=/var/tmp&lt;br /&gt;
PID_FILE=/var/run/jsvc.pid&lt;br /&gt;
CATALINA_BASE=$CATALINA_HOME&lt;br /&gt;
&lt;br /&gt;
CATALINA_OPTS=&amp;quot;-Djava.library.path=/opt/tomcat/bin/tomcat-native-1.1.12-src/jni/native/.libs/&amp;quot;&lt;br /&gt;

CLASSPATH=\&lt;br /&gt;
$JAVA_HOME/lib/tools.jar:\&lt;br /&gt;
$CATALINA_HOME/bin/commons-daemon.jar:\&lt;br /&gt;
$CATALINA_HOME/bin/bootstrap.jar&lt;/p&gt;
&lt;p&gt;#to avoid the  &amp;quot;too many open files&amp;quot; error when tomcat needs more than
1024 opened file descriptors  at the same time&lt;/p&gt;
&lt;p&gt;su tomcat -c &amp;quot;ulimit -n 4096&amp;quot;&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
  start)&lt;br /&gt;
    #&lt;br /&gt;
    # Start Tomcat&lt;br /&gt;
    #&lt;br /&gt;
    $DAEMON_HOME/jsvc-src/jsvc \&lt;br /&gt;
    -user $TOMCAT_USER \&lt;br /&gt;
    -home $JAVA_HOME \&lt;br /&gt;
    -Dcatalina.home=$CATALINA_HOME \&lt;br /&gt;
    -Dcatalina.base=$CATALINA_BASE \&lt;br /&gt;
    -Djava.io.tmpdir=$TMP_DIR \&lt;br /&gt;
    -Djava.endorsed.dirs=$CATALINA_HOME/common/endorsed \&lt;br /&gt;
    -wait 10 \&lt;br /&gt;
    -pidfile $PID_FILE \&lt;br /&gt;
    -outfile $CATALINA_HOME/logs/catalina.out \&lt;br /&gt;
    -errfile '&amp;amp;1' \&lt;br /&gt;
    $CATALINA_OPTS \&lt;br /&gt;
    -cp $CLASSPATH \&lt;br /&gt;
    org.apache.catalina.startup.Bootstrap&lt;br /&gt;
    #&lt;br /&gt;
    # To get a verbose JVM&lt;br /&gt;
    #-verbose \&lt;br /&gt;
    # To get a debug of jsvc.&lt;br /&gt;
    #-debug \&lt;br /&gt;
    exit $?&lt;br /&gt;
    ;;&lt;br /&gt;
&lt;br /&gt;
  stop)&lt;br /&gt;
    #&lt;br /&gt;
    # Stop Tomcat&lt;br /&gt;
    #&lt;br /&gt;
    $DAEMON_HOME/jsvc-src/jsvc \&lt;br /&gt;
    -stop \&lt;br /&gt;
    -pidfile $PID_FILE \&lt;br /&gt;
    org.apache.catalina.startup.Bootstrap&lt;br /&gt;
    exit $?&lt;br /&gt;
    ;;&lt;br /&gt;
&lt;br /&gt;
  *)&lt;br /&gt;
    echo &amp;quot;Usage tomcat.sh start/stop&amp;quot;&lt;br /&gt;
    exit 1;;&lt;br /&gt;
esac&lt;/p&gt;
&lt;p&gt;#Fin fichier Tomcat6.sh&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le rendre executable :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
chmod a+x /opt/tomcat/bin/Tomcat6.sh&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et enfin on donne bien à l'utilisateur tomcat les droits sur tout ce qui est
contenu dans le répertoire de tomcat&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chown -R tomcat:tomcat /opt/tomcat&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
5) Bugfixe : désactiver le support d'IPV6&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Normalement après l'étape 4, tout est censé fonctionner et vous devriez pouvoir
démmarrer votre serveur tomcat en lançant /opt/tomcat/bin/tomcat6.sh start&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Néanmoins l'activation du support d'IPV6 entraine souvent une BindException au
démarrage de tomcat avec APR.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faut donc désactiver le support de l'IPV6 (une techno inutile depuis
l'invention de la NAT ;p)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Editer /etc/modprobe.d/aliases&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
remplacer&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
alias net-pf-10 ipv6&lt;br /&gt;
&lt;br /&gt;
par&lt;br /&gt;
&lt;br /&gt;
alias net-pf-10 off&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un reboot du serveur (pour la prise en compte des modifications sur le support
de l'ipv6), and That's it !&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
votre tomcat avec APR devrait pouvoir démarrer sur les ports 80 et 443, en tant
qu'utilisateur tomcat une fois lancé avec un&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo /opt/tomcat/bin/Tomcat6.sh start&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Prochaine étape : Faire tourner dessus un serveur CAS, pour disposer d'une
solution efficace et performante de Single Sign On ;)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/05/02/Tomcat-6-avec-lapache-portable-runtime#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/05/02/Tomcat-6-avec-lapache-portable-runtime#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/235688</wfw:commentRss>
      </item>
    
  <item>
    <title>Open SSL : Générer ses certificats</title>
    <link>http://blog.davidrobin.net/post/2008/04/23/Open-SSL-%3A-Generer-ses-certificats</link>
    <guid isPermaLink="false">urn:md5:0f939724965cb8e967d0f601d08f67b9</guid>
    <pubDate>Wed, 23 Apr 2008 23:54:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/zebre.jpg&quot; alt=&quot;&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;br /&gt;
Vouloir établir une connexion sécurisée entre un internaute et un site web lors
d'un formulaire demandant par exemple des coordonnées banquaires ou un login /
mdp est un besoin fréquent.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire, il faut chiffrer les données transmises entre le navigateur du
client et le serveur web.&lt;/p&gt;    &lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Afin de crypter les données, il faut procéder à un échange de certificats entre
le navigateur et le serveur web. Le mécanisme est le suivant : Le serveur
dispose d'un fichier appelé certificat contenant une clée privée et une clée
publique. Il envoie au navigateur un certificat contenant des informations sur
le nom de la société qui met en oeuvre le site, son pays de résidence
&lt;strong&gt;et&lt;/strong&gt; surtout une clée &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;publique&lt;/span&gt;. La clée &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: bold;&quot;&gt;privée&lt;/span&gt; est gardée jalousement a l'abris sur
le serveur. Le navigateur va donc présenter ce certificat à l'internaute des
réception de celui-ci (et vous avez souvent une petite fenêtre qui vous demande
d'accepter ou refuser ce certificat).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si le certificat est accepté, le navigateur va crypter les informations à
envoyer avec la clée publique, et cela garantira que seul le détenteur de la
clée privée correspondante pourra décrypter les données. Ce mécanisme est
néanmoins incomplet : si vos données sont en effet protégées entre le
navigateur et le serveur, vous n'êtes pas sur de l'identité du serveur. Pour
cela il existe des organismes comme &lt;a href=&quot;http://www.verisign.fr&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;Vérisign&lt;/a&gt; qui
vous garantissent que le serveur avec lequel vous dialoguez est bien celui
qu'il prétend être.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire ces organismes disposent de certificats servant à signer un
certificat émis par la société du site web.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Les navigateurs intègrent automatiquement les certificats de ces grandes
compagnies (appelées &amp;quot;autorités de certification&amp;quot;) et peuvent vérifier si le
certificat qui lui est envoyé par un site est approuvé par une de ces autorités
de certification.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Voici la définition officielle disponible sur le site de Vérisign :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;quot;Chaque certificat SSL est créé pour un serveur particulier dans un domaine
spécifique pour une entité professionnelle vérifiée. Comme un passeport ou un
permis de conduire, un certificat SSL est émis par une autorité de confiance,
l’autorité de certification (Certification Authority, CA en abrégé). Lors de la
transaction SSL, le navigateur demande l’authentification du serveur. Le client
voit apparaître le nom de la société lorsqu’il clique sur certaines marques de
confiance SSL (telles que le sceau VeriSign Secured™ Seal) ou utilise un
navigateur prenant en charge la norme Extended Validation (Validation
&lt;span class=&quot;Body-0020Text--Char&quot; style=&quot;font-family: 'Arial','Arial';&quot;&gt;renforcée&lt;/span&gt;). Si l’information ne
correspond pas ou si le certificat est périmé, le navigateur affiche un message
d’erreur ou un avertissement&amp;quot;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un certificat approuvé par une autorité de certification est appelé un
certificat signé.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
D'ailleurs quand le navigateur reçoit un certificat signé, l'internaute n'a pas
à donner son approbation pour accepter / refuser le certificat : le navigateur
lui fait confiance automatiquement.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La signature d'un certificat par une autorité de certification étant payante,
il est nécessaire pour un développeur de pouvoir émuler la signature de
certificat.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire il faut commencer par créer des certificats allant servir à
signer les autres.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
C'est parti :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Je suppose que vous avez déjà installé openssl sur votre environnement
unix.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Je me base sur la distribution ubuntu 8.04.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La première chose à faire est de modifier un fichier de configuration pour
indiquer que les certificats que nous allons créer vont être des certificats
d'autorité certificatrice.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Editer le fichier /etc/ssl/openssl.cnf.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Modifier dir pour pointer vers un dossier allant contenir tous vos futurs
certificats CA. Par exemple :&lt;br /&gt;
&lt;br /&gt;
dir = /opt/root-certificats/&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Toujours dans le même fichier, remplacer tous les &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
basicConstraints=CA:FALSE&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
par&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
basicConstraints=CA:TRUE&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
(3 occurences dans le fichier par défaut normalement).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cet attribut sera présent dans les certificats générés et indique au navigateur
qu'il sagit bien d'un certificat émanant d'une CA.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Modifier le fichier /usr/lib/ssl/misc/CA.sh(ce fichier est un script shell
vous permettant de gagner un temps précieux pour créer vos certificats CA, il
lance a votre place bon nombre de commandes du jeu d'outils openssl).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
CATOP=/opt/root-certificats&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Fermer le fichier ci-dessus et lancer la ldc :&lt;br /&gt;
/usr/lib/ssl/misc/CA.sh -newca&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Répondre aux questions en notant bien la passphrase demandée.&lt;br /&gt;
&lt;br /&gt;
Country Name (2 letter code) [AU]:FR&lt;br /&gt;
State or Province Name (full name) [Some-State]:Paris&lt;br /&gt;
Locality Name (eg, city) []:Paris&lt;br /&gt;
Organization Name (eg, company) [Internet Widgits Pty Ltd]:David ROBIN
Certification corp&lt;br /&gt;
Organizational Unit Name (eg, section) []:certification dpt&lt;br /&gt;
Common Name (eg, YOUR name) []:CATOPID&lt;br /&gt;
Email Address []:votreemail@mail.net&lt;br /&gt;
&lt;br /&gt;
Please enter the following 'extra' attributes&lt;br /&gt;
to be sent with your certificate request&lt;br /&gt;
A challenge password []:yourpassword&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Pour certaines opérations par la suite il faut convertir le fichier .pem du
certificat en .der avec la ldc suivante :&lt;br /&gt;
&lt;br /&gt;
openssl x509 -in /opt/root-certificats/cacert.pem -inform PEM -out
/opt/root-certificats/cacert.der -outform DER&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Ré-editer le fichier /etc/ssl/openssl.cnf&lt;br /&gt;
&lt;br /&gt;
Remplacer tous les  basicConstraints=CA:TRUE ou basicConstraints=CA:true
par basicConstraints=CA:FALSE (4 occurences cette fois car une des entrées du
fichier d'origine était déjà a true)&lt;br /&gt;
&lt;br /&gt;
Ainsi tous les certificats créés par la suite n'auront pas l'attribut indiquant
qu'il sagit d'un certificat émanant d'une authorité certificatrice.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
That's all : vos certificats CA sont créés.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il reste une dernière petite étape : importer votre certificats dans Firefox
(ou IE).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Par défaut firefox inclus un certains de certificats émanants de véritables
autorités de certification.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faut enrichir cette liste avec notre autorité de certification nouvellement
créée.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Aller dans Préférences &amp;gt; Avancé &amp;gt; Chiffrement et cliquer sur le bouton
&amp;quot;Afficher les certificats&amp;quot;.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cliquer sur l'onglet &amp;quot;Autorités&amp;quot; de la nouvelle fenêtre.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ici il faut importer le fichier /opt/root-certificats/cacert.der (ce fichier
doit être distribué sur tout vos postes clients).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Vous devriez voir votre autorité parmis celle déjà présente, comme sur le
screenshot ci-dessous :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img style=&quot;margin: 0 auto; display: block;&quot; alt=&quot;&quot; src=&quot;http://blog.davidrobin.net/public/images/.openssl-1_m.jpg&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Par la suite, nous utiliserons ces certificats racines afin de signer d'autres
certificats, comme dans mon post suivant sur tomcat en mode APR.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/23/Open-SSL-%3A-Generer-ses-certificats#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/23/Open-SSL-%3A-Generer-ses-certificats#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/233248</wfw:commentRss>
      </item>
    
  <item>
    <title>Installer un annuaire ldap</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Installer-un-annuaire-ldap</link>
    <guid isPermaLink="false">urn:md5:52b7a8daa94d2866a2af30214972f559</guid>
    <pubDate>Thu, 17 Apr 2008 18:55:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/gorille.jpg&quot; alt=&quot;&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Voici un petit guide d’installation open ldap sous ubuntu (7.04 version
dédibox, mais ce qui suit  fonctionne sur les versions 7.10 et 8.04) 
vous permettant d’installer un annuaire ldap pour, par exemple, gérer un
référentiel d’utilisateurs et faire du single-sign-on entre différentes
applications.&lt;/p&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;    &lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/LDAPworm.gif&quot; alt=&quot;&quot; style=&quot;margin: 0 auto; display: block;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Aller, on prend une grande respiration, un mug de thé / café, et c'est parti
!&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;text-decoration: underline;&quot;&gt;étape 1
:&lt;/span&gt; Avant d’installer les packages spécifiques à open ldap, nous
allons mettre à jour les dépots apt et les packages deja installés sur la
machine.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour cela 2 commandes : &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo apt-get update&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo apt-get upgrade&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ceci étant fait, nous pouvons entrer dans le vif du sujet.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;text-decoration: underline;&quot;&gt;étape 2
:&lt;/span&gt; installation de slapd&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Installons les packages slapd, ldap-utils et la base de données berkeley db
utilisé par slapd.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
slapd est OpenLDAP (c’est le nom du démon qui réalise la mise en oeuvre de
l’annuaire ldap, ldap-utils contient comme son nom l’indique des tas
d’utilitaire pour attaquer un annuaire ldap en ligne de commande ;p)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_2&quot; style=&quot;font-family: Courier,serif;&quot;&gt;sudo apt-get install
slapd ldap-utils&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Nous allons maintenant créer un utilisateur et un group pour notre annuaire
ldap :&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 22px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 22px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_4&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; text-decoration: underline;&quot;&gt;étape 3
:&lt;/span&gt;&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt; création d’un utilisateur et
d’un groupe pour le processus du serveur ldap&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_5&quot; style=&quot;font-size: 13px; line-height: 16px;&quot;&gt;sudo addgroup
--system slapd&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_5&quot; style=&quot;font-size: 13px; line-height: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_5&quot; style=&quot;font-size: 13px; line-height: 16px;&quot;&gt;sudo adduser
slapd --home /var/lib/ldap -shell /bin/false --no-create-home -ingroup slapd
--system&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_6&quot; style=&quot;font-family: Monaco,Courier,serif; font-size: 13px; line-height: 17px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;text-decoration: underline;&quot;&gt;étape 4
:&lt;/span&gt; Configuration&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ceci étant fait, il faut maintenant mettre à jour le fichier
/etc/default/slapd.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ce fichier est utilisé par le script de démarrage du service slapd situé dans
/etc/init.d/&lt;span class=&quot;style_7&quot; style=&quot;font-family: Monaco,Courier,serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Default location of the slapd.conf file&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_CONF=/etc/ldap/slapd.conf&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# System account to run the slapd server under. If empty the server&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# will run as root.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_USER=&amp;quot;slapd&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# System group to run the slapd server under. If empty the server will&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# run in the primary group of its user.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_GROUP=&amp;quot;slapd&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Path to the pid file of the slapd server. If not set the init.d script&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_PIDFILE=&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Configure if the slurpd daemon should be started. Possible values:&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# - yes:   Always start slurpd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# - no:    Never start slurpd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# - auto:  Start slurpd if a replica option is found in slapd.conf
(default)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLURPD_START=auto&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# slapd normally serves ldap only on all TCP-ports 389. slapd can also&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# service requests on TCP-port 636 (ldaps) and requests via unix&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# sockets.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_SERVICES=&amp;quot;ldap://ldap.davidrobin.net:389/
ldaps://ldap.davidrobin.net:636/&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Additional options to pass to slapd and slurpd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLAPD_OPTIONS=&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
SLURPD_OPTIONS=&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;Bref un
fichier pas vraiment compliqué qui permettra à slapd de s’executer sous les
user / group créés précédemment.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;Ensuite
nous allons générer un mot de passe chiffré à mettre dans le fichier de conf
qui va suivre (l’installeur lors de l’étape 2 l’insère directement dans le
ldap, ce qui n’est pas pratique en cas de drop puis recreate de la base de
l’annuaire)&lt;/span&gt;.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;La
commande à utiliser est slappaswd&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_5&quot; style=&quot;font-size: 13px; line-height: 16px;&quot;&gt;sudo
slappasswd&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 18px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_3&quot; style=&quot;font-family: ArialMT,Arial,sans-serif;&quot;&gt;qui donne
un résultat du type &lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
$ sudo slappasswd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
New password:&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Re-enter password:&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
{SSHA}d2BamRTgBuhC6SxC0vFGWol31ki8iq5m&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Nous pouvons maintenant éditer /etc/ldap/slapd.conf : &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Global Directives:&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Features to permit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
#allow bind_v2&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Schema and objectClass definitions&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/core.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/cosine.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/nis.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/inetorgperson.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/misc.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/corba.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/openldap.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/java.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/ppolicy.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Where the pid file is put. The init.d script&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# will not stop the server if you change this.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
pidfile        
/var/run/slapd/slapd.pid&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# List of arguments that were passed to the server&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
argsfile       
/var/run/slapd/slapd.args&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Read slapd.conf(5) for possible values&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
loglevel        0&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Where the dynamically loaded modules are stored&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
modulepath      /usr/lib/ldap&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
moduleload      back_bdb&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# The maximum number of entries that is returned for a search operation&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sizelimit 500&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# The tool-threads parameter sets the actual amount of cpu's that is used&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# for indexing.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
tool-threads 1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
backend         bdb&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
checkpoint 512 30&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
#backend               
&amp;lt;other&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
database        bdb&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# The base of your directory in database #1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
suffix         
&amp;quot;dc=davidrobin,dc=net&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# rootdn directive for specifying a superuser on the database. This is
needed&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# for syncrepl.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
rootdn         
&amp;quot;cn=admin,dc=davidrobin,dc=net&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
rootpw         
{SSHA}UT307hSsFU++B3UvefzqFVzVp3UlzkwJ&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Where the database file are physically stored for database #1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
directory       &amp;quot;/var/lib/ldap&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# For the Debian package we use 2MB as default but be sure to update this&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# value if you have plenty of RAM&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dbconfig set_cachesize 0 2097152 0&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Sven Hartge reported that he had to set this value incredibly high&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# to get slapd running at all. See &lt;a href=&quot;http://bugs.debian.org/303057&quot; title=&quot;http://bugs.debian.org/303057&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://bugs.debian.org/303057&lt;/a&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# for more information.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Number of objects that can be locked at the same time.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dbconfig set_lk_max_objects 1500&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Number of locks (both requested and granted)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dbconfig set_lk_max_locks 1500&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Number of lockers&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dbconfig set_lk_max_lockers 1500&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Indexing options for database #1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
index           objectClass
eq&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Save the time that the entry gets modified, for database #1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
lastmod         on&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# Where to store the replica logs for database #1&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# replogfile    /var/lib/ldap/replog&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
access to attrs=userPassword,shadowLastChange&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by
dn=&amp;quot;cn=admin,dc=davidrobin,dc=net&amp;quot; write&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by anonymous auth&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by self write&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by * none&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
access to dn.base=&amp;quot;&amp;quot; by * read&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# The admin dn has full write access, everyone else&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# can read everything.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
access to *&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by
dn=&amp;quot;cn=admin,dc=davidrobin,dc=net&amp;quot; write&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
        by * read&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Les choses à repérer et modifier dans le fichier ci-dessus &lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;text-decoration: underline;&quot;&gt;les inclusions de
schema :&lt;/span&gt; pour tirer au maximum partie de votre annuaire ldap, il
faut ajouter des schema,càd des fichiers qui en quelque sorte enrichissent ce
que le serveur ldap peut stocker comme type d’information.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/core.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/cosine.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/nis.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/inetorgperson.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/misc.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/corba.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/openldap.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/java.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/ppolicy.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;au
lieu de &lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/core.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/cosine.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/nis.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
include        
/etc/ldap/schema/inetorgperson.schema&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L’autre passage de la conf à modifier est celui ou figure ces lignes
: &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
suffix         
&amp;quot;dc=davidrobin,dc=net&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# rootdn directive for specifying a superuser on the database. This is
needed&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# for syncrepl.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
rootdn         
&amp;quot;cn=admin,dc=davidrobin,dc=net&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
rootpw         
{SSHA}UT307hSsFU++B3UvefzqFVzVp3UlzkwJ&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faut décommenter rootdn et modifier le domaine (l’installeur de paquets en a
sûrement mis un par défaut qui ne correspond pas à ce que vous voulez).&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et ajouter la ligne rootpw avec le mot de passe issu de la commande slappasswd
exécuté précédemment.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le reste n’est pas très compliqué, il suffit de remplacer par votre domaine
toutes les lignes du style&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Après l’édition de ce fichier il faut donner les droits adéquats à
l’utilisateur et au groupe slapd (à chaque fois que vous manipulerez en root
des fichiers sous les répertoires listés dans la commande qui va suivre, penser
à remettre les droits pour l’utilisateur slapd).&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chown -R slapd.slapd /etc/ldap /var/lib/ldap /var/lib/slapd /var/run/slapd
/usr/sbin/slapd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;et
pour les droits &lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chmod -v 644 /etc/ldap/ldap.conf &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chmod -v 600 /etc/ldap/slapd.conf&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Nous
allons initialiser proprement l’annuaire ldap avec une branche pour les
personnes et une branche pour les groupes par exemple.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Tout d’abord, il faut stopper l’annuaire :&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo /etc/init.d/slapd stop&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Et purger la base créé par l’installeur des paquets slapd&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo rm -rf /var/lib/ldap/*&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour initialiser l’annuaire nous allons utiliser la commande slapadd et un
fichier ldiff.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: ArialMT,Arial,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour en savoir plus sur le format de fichier ldiff et sur les termes de ce
tutorial que vous auriez trouvés un peu barbares, je vous suggère vivement le
livre sur ldap chez O’Reilly ;)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;En
attendant voici donc le fichier ldiff utilisé : &lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
## Build the root node.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dc: davidrobin&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: dcObject&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: davidrobin.net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
## Build the people ou.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: ou=people,dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: people&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
## Build the groups ou.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: ou=groups,dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: groups&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;On
l’ajoute avec :&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo slapadd -v -l initAnnuaire.ldiff&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Ce
qui produit  :&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
/etc/ldap/slapd.conf: line 100: rootdn is always granted unlimited
privileges.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
/etc/ldap/slapd.conf: line 117: rootdn is always granted unlimited
privileges.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
added: &amp;quot;dc=davidrobin,dc=net&amp;quot; (00000001)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
added: &amp;quot;ou=people,dc=davidrobin,dc=net&amp;quot; (00000002)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
added: &amp;quot;ou=groups,dc=davidrobin,dc=net&amp;quot; (00000003)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Ne
pas oubliez de bien repositionner les permissions pour l’utilisateur slapd
:&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo chown -R slapd.slapd /var/lib/ldap&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Et
enfin on y est, il ne reste plus qu’à démarrer le serveur avec :&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
sudo /etc/init.d/slapd start&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Pour
tester l’accès au serveur ldap, en supposant que votre domaine est bien
configuré chez votre registrar (cf un de mes posts précédent) depuis un
terminal vous pouvez taper : &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ldapsearch -H ldap://ldap.davidrobin.net:389 -x -b &amp;quot;dc=davidrobin,dc=net&amp;quot;
&amp;quot;(objectclass=*)&amp;quot;&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Et
cela devrait vous produire un résultat du type :&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# extended LDIF&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
#&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# LDAPv3&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# base &amp;lt;dc=davidrobin,dc=net&amp;gt; with scope subtree&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# filter: (objectclass=*)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# requesting: ALL&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
#&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# davidrobin.net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dc: davidrobin&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: dcObject&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: davidrobin.net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# people, davidrobin.net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: ou=people,dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: people&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# groups, davidrobin.net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
dn: ou=groups,dc=davidrobin,dc=net&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
objectClass: organizationalUnit&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ou: groups&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# search result&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
search: 2&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
result: 0 Success&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# numResponses: 4&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
# numEntries: 3&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;margin: 0; color: rgb(70, 60, 60); font-family: Courier,serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 16px; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_8&quot; style=&quot;font-family: ArialMT,Arial,sans-serif; font-size: 15px; line-height: 17px;&quot;&gt;Dans
un prochain post nous verrons comment compléter cette configuration pour
attaquer le ldap de façon sécurisée avec openssl ;)&lt;/span&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Installer-un-annuaire-ldap#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Installer-un-annuaire-ldap#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231387</wfw:commentRss>
      </item>
    
  <item>
    <title>Hébergement et DNS</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Hebergement-et-DNS</link>
    <guid isPermaLink="false">urn:md5:0d4ceddd0558ab188337e6426e776ea2</guid>
    <pubDate>Thu, 17 Apr 2008 18:52:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p&gt;&lt;img src=&quot;http://blog.davidrobin.net/public/images/rhino.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px; -webkit-text-size-adjust: none;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px; -webkit-text-size-adjust: none;&quot;&gt;
Mettre à disposition d'une communauté de personnes un site web n'est pas
forcément aussi compliqué qu'il y parait.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px; -webkit-text-size-adjust: none;&quot;&gt;
Le but de ce post, contrairement à d'autres posts sur mon blog n'est pas
d'être exhaustif techniquement et de vous guider pas à pas mais juste
de vous donner une idée claire sur les étapes qui mènent jusqu'à la mise en
ligne d'un site web.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px; -webkit-text-size-adjust: none;&quot;&gt;
Le commencement, c’est évidemment de disposer d'une machine pour héberger le
site web et dans un second temps, de faire en sorte qu’un internaute puisse
accéder à votre machine en tapant une url du type &lt;a href=&quot;http://www.mondomaine.com/&quot; title=&quot;http://www.mondomaine.com&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.mondomaine.com&lt;/a&gt; dans
son navigateur web préféré.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px; -webkit-text-size-adjust: none;&quot;&gt;
Enfin il faudra bien sur ensuite installer des logiciels
et recourir le plus souvent à du développement pour réaliser votre
site web.&lt;/span&gt;&lt;/p&gt;    &lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour la machine, ça peu paraître simple : un vieux pc qui traîne chez vous
pourrait faire l’affaire, mais dans ce cas il faudra laisser tourner
l’ordinateur chez vous 24h/24, et disposer d'un fournisseur d'accès vous
garantissant une adresse IP fixe.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il faut savoir que des sociétés peuvent vous fournir une machine pour héberger
votre site, ce qui vous évite d’avoir un vieux pc (souvent bruyant :p) qui
tourne 24h sur 24h chez vous.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La solution la plus simple et meilleur rapport qualité / prix (30 euros par
mois) c’est la dedibox, disponible sur &lt;a href=&quot;http://www.dedibox.fr/&quot; title=&quot;http://www.dedibox.fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;http://www.dedibox.fr&lt;/a&gt;/.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le service dédibox vous permet de louer une machine, d'installer dessus un
Système d’exploitation parmis ceux proposés, et vous disposez d'une adresse IP
fixe pour votre dedibox.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L'arrêt / démarrage du serveur ainsi que la réinstallation du système
d'exploitation ce fait via une interface web.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Après si vous visez la conquête du monde avec votre site web (et donc vous
souhaitez pouvoir répondre a de nombreuse visites, en gardant une vitesse
d'affichage des pages rapide), d’autre solutions d'hébergement existent :
Amazone avec son service de stockage &lt;a href=&quot;http://www.amazon.com/gp/browse.html?node=16427261&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;S3&lt;/a&gt; et son service
d'hebergement &lt;a href=&quot;http://www.amazon.com/gp/browse.html?node=201590011&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;EC2&lt;/a&gt;  pour vos
applications; le tout nouveau service en version beta &lt;a href=&quot;http://www.google.com/a/&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;Google Apps&lt;/a&gt; ou
bien encore &lt;a href=&quot;http://joyent.com/&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;Joyent&lt;/a&gt;.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Que vous ayez choisi dédibox, amazone, google, ou
bien d'héberger depuis chez vous, vous avez votre machine et
souhaiter pouvoir y associer un &amp;quot;nom de domaine&amp;quot; pour pas avoir à communiquer
une url barbare du type http://81.123.56.78 ! &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La moitié du travail étant accompli en ayant votre machine, il ne vous reste
plus qu’à acheter un nom de domaine chez ce qui s’appelle un registrar : une
société qui enregistre un nom de domaine pour vous, et qui offre des services
dns -&amp;gt; c'est à dire permettant de traduire www.mondomaine.com
en 81.123.56.78 par exemple.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un bon choix de registrar est gandi.net, gandi est une société française
offrant un bon service et une interface d’administration simple.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Une fois votre domaine réservé (entre 6 et 12 euros ttc par an), il faut aller
dans la gestion dns de gandi, et dans le mode “expert” ajouter une ligne du
type :&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier, serif; font-size: 11px; line-height: 13px;&quot;&gt;* 3600 IN A
ip.de.la.dedibox &lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cela permet d’atteindre votre machine en effectuant par exemple un ping
sur &lt;a href=&quot;http://www.davidrobin.net/&quot; title=&quot;http://www.davidrobin.net&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;www.davidrobin.net&lt;/a&gt; ou
sur toto.davidrobin.net (il faut un peu de temps pour que la nouvelle directive
dns soit prise en compte par votre registar, parfois 4h avec la configuration
initiale de gandi)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
le chiffre suivant le symbole  '*' est ce que l’on nomme le time to live,
qui indique combien de temps sera garder en cache votre redirection de nom (ici
donc 1h -&amp;gt; 3600s).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si vous faite des tests, mettez une valeur faible pour ce chiffre pour ne pas
avoir à attendre longtemps entre chaque modification de configuration ;p&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
That’s all !&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
iI ne vous reste plus qu’à installer des softs sur votre serveur pour mettre à
disposition sur internet annuaire ldap, base de donnée, site web, serveur ftp
.... &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Bref cela fera l'objet d'autres posts sur ce site et des combinaison du type
apache/  php / mysql sont couverts par de nombreux articles et tutoriaux
sur le net ;)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Hebergement-et-DNS#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Hebergement-et-DNS#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231383</wfw:commentRss>
      </item>
    
  <item>
    <title>Talend : Un exemple de composants customisés</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-exemple-de-composants-customises</link>
    <guid isPermaLink="false">urn:md5:1987e0f05d34a0f73fe89253950685d5</guid>
    <pubDate>Thu, 17 Apr 2008 18:43:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/singe2.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Après avoir introduit &lt;a title=&quot;http://www.talend.com&quot; href=&quot;http://www.talend.com/&quot; class=&quot;style_1&quot; style=&quot;font-family: Arial-BoldMT, Arial, sans-serif; font-weight: bold; color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;Talend&lt;/a&gt; dans
le post précédent, on enchaîne avec la présentation de composants
customisés.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ce post va vous fournir les ressources pour utiliser 2 composants dédiés à
l’utilisation du framework Log4J au sein de Talend Open Studio.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un des composants initialise le framework (à l'aide d'un fichier XML) et
l'autre sert à générer un log avec le niveau souhaité et le l’objet logger (au
sens log4j) souhaité.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cela fait suite à mes diverses missions pour Talend ou assez régulièrement il
fallait distinguer un flux de logs fonctionnels et un flux de logs
techniques.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Les composants Log4J permettent de répondre simplement à la mise en place de
logs fonctionnels (comptes- rendus, suivi d’avancée, etc...), les logs
techniques étant couvert par les composants classiques talend, et l'AMC (un
outil d’analyse de logs techniques officiel Talend).&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Voici quelques informations sur les composants que j'ai mis à disposition sur
l’écosystème talend (&lt;a href=&quot;http://www.talendforge.org/ext/index.php&quot; title=&quot;http://www.talendforge.org/ext/index.php&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;http://www.talendforge.org/ext/index.php&lt;/a&gt;)
:&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Commençons par le plus important : les icônes :D&lt;/p&gt;    &lt;p&gt;&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/Image-picto.png&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Une cafetière et un mug  ;)&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Merci à Mathieu LECARME pour ces ô combien magnifiques icônes, mettant en
oeuvre des techniques graphiques ancestrales issues du temps béni des défunts
atari st et amiga.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L'icône de la cafetière correspond au composant tInitLog4J, ayant pour rôle
d’initialiser le framework de log.&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le mug correspond au composant tLog4J ayant pour rôle la génération d’un log à
un endroit du job, en utilisant un des loggers définis dans le fichier de
configuration de log4J ( chargé par tInitLog4J au  préalable) , plus un
niveau de log (au choix entre DEBUG, WARN,INFO,ERROR,FATAL) et bien sur d’un
message.&lt;/p&gt;
&lt;ol style=&quot;padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; text-indent: 0; list-style-type: none; list-style-image: none;&quot;&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 14px; padding-left: 7px; text-indent: -7px;&quot;&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 12px;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;style_1&quot; style=&quot;font-family: Arial-BoldMT, Arial, sans-serif; font-weight: bold;&quot;&gt;Restrictions
/ précisions sur l'utilisation de ces composants :&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 14px; padding-left: 7px; text-indent: -7px;&quot;&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 12px;&quot;&gt;-&lt;/span&gt; Une même
configuration de log4j pour tous les jobs s'exécutant dans une même JVM (cela
n'empêche pas d'avoir des loggers / sorties de logs différentes dans chaque
jobs)&lt;/p&gt;
&lt;/li&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 14px; padding-left: 7px; text-indent: -7px;&quot;&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 12px;&quot;&gt;-&lt;/span&gt;Gestion du multi-threading
(pas de problème de reset de la configuration si des sous jobs sont lancés en
parallèles et contiennent eux aussi le composant d'initialisation du framework
log4j) --&amp;gt; permet de lancer les jobs un par un ou en parallèle avec un
&amp;quot;master job&amp;quot;.&lt;/p&gt;
&lt;/li&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 14px; padding-left: 7px; text-indent: -7px;&quot;&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 12px;&quot;&gt;-&lt;/span&gt;L'initialisation ne sera
toujours faite qu'une seule fois (gain en performance et obtenu grâce a la
restriction ci-dessus)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Support du mode de configuration XML de log4j uniquement.(le mode de
configuration XML est le seul mode qui permet d'utiliser le mécanisme de
logging asynchrone de log4j, c'est une best practice que d'utiliser ce
mécanisme).&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 14px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Les composants appartiennent à une sous famille &amp;quot;log4j&amp;quot; de la famille &amp;quot;Logs
&amp;amp; Errors&amp;quot;.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Apres avoir téléchargé ces composants depuis l’écosystème Talend, si c’est la
première fois que vous utilisez des composants customisés, vous devrez aller
dans le menu des préférences Talend (window &amp;gt; preferences...&amp;gt; talend
)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
choisir components et preciser un répertoire a votre convenance (en dehors du
répertoire de Talend Open Studio de préférence)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/.Image_7_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un exemple d’utilisation : un job qui classes des nombres pairs et impairs et
utilise les 2 composants ci-dessus : &lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/.Image_1_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Donc un flux de nombres aléatoires en entrée et deux flux en sorties : nombres
pairs et impairs.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le premier composant est donc notre magnifique cafetière.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si l’on regarde ses propriétés, elle prend en paramètre l’emplacement d’un
fichier XML (spécifié en dur dans cet exemple, mais bien sur à mettre en tant
que paramètre contextuel).&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/.Image_2_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le contenu de ce fichier est le suivant : &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;!DOCTYPE log4j:configuration SYSTEM &amp;quot;log4j.dtd&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;log4j:configuration&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender name=&amp;quot;ASYNC&amp;quot; class=&amp;quot;org.apache.log4j.AsyncAppender&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
    &amp;lt;appender-ref ref=&amp;quot;SystemOut&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/appender&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender name=&amp;quot;SystemOut&amp;quot; class=&amp;quot;org.apache.log4j.ConsoleAppender&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;layout class=&amp;quot;org.apache.log4j.PatternLayout&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;ConversionPattern&amp;quot; value=&amp;quot;%d{ABSOLUTE} %5p %c - %m%n&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/layout&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/appender&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender name=&amp;quot;debugfile&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
class=&amp;quot;org.apache.log4j.RollingFileAppender&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;maxFileSize&amp;quot; value=&amp;quot;100KB&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;maxBackupIndex&amp;quot; value=&amp;quot;5&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;File&amp;quot; value=&amp;quot;c:/debug.log&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;threshold&amp;quot; value=&amp;quot;debug&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;layout class=&amp;quot;org.apache.log4j.PatternLayout&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;ConversionPattern&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
value=&amp;quot;%d{ABSOLUTE} %c - %m%n&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/layout&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/appender&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender name=&amp;quot;errorfile&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
class=&amp;quot;org.apache.log4j.RollingFileAppender&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;maxFileSize&amp;quot; value=&amp;quot;100KB&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;maxBackupIndex&amp;quot; value=&amp;quot;5&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;File&amp;quot; value=&amp;quot;c:/error.log&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;threshold&amp;quot; value=&amp;quot;error&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;layout class=&amp;quot;org.apache.log4j.PatternLayout&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;param name=&amp;quot;ConversionPattern&amp;quot;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
value=&amp;quot;%d{ABSOLUTE} %c - %m%n&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/layout&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/appender&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
  &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;logger name=&amp;quot;errorLogger&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;level value=&amp;quot;error&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender-ref ref=&amp;quot;errorfile&amp;quot; /&amp;gt;  &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/logger&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;logger name=&amp;quot;debugLogger&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;level value=&amp;quot;debug&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender-ref ref=&amp;quot;debugfile&amp;quot; /&amp;gt;  &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;appender-ref ref=&amp;quot;SystemOut&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/logger&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;root&amp;gt;  &lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
  &amp;lt;/root&amp;gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_3&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;/log4j:configuration&amp;gt;&lt;/p&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold; font-size: 12px; font-weight: bold; line-height: 17px;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold; font-size: 12px; font-weight: bold; line-height: 17px;&quot;&gt;
Ce fichier définit donc 2 loggers : errorLogger et debugLogger, debugLogger a 2
sorties : la sortie standard et un fichier, et errorLogger n’a qu’une sortie
vers un fichier.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si ce fichier reste un mystère, je vous renvoie vers la documentation de log4J
et plus précisément du fichier XML de configuration ici : &lt;a title=&quot;http://wiki.apache.org/logging-log4j/Log4jXmlFormat&quot; href=&quot;http://wiki.apache.org/logging-log4j/Log4jXmlFormat&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://wiki.apache.org/logging-log4j/Log4jXmlFormat&lt;/a&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Chacun des mugs en sortie du tMap va utiliser un de ces loggers.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Arbitrairement le logger (un composant tLog4J)  des nombres pairs va
utiliser le logger “debugLogger” et celui des nombres impairs le
“errorLogger”&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Screen du logger des nombres impairs :&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/.Image_5_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Screen du logger des nombres pair : &lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/.Image_6_1_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Voila, that’s all ;)&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ces composants sont un peu brut de fonderie niveau choix proposés, et contrôles
d’erreur sur la saisie d’un logger erroné  par exemple.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Mais je les ai voulu les plus simples et performants possibles, le framework
log4J étant auto suffisant en terme de flexibilité offertes par la suite.&lt;/p&gt;
&lt;p class=&quot;paragraph_style_2&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 17px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Toutes remarque / suggestion est bien  entendue la bienvenue ;)&lt;/p&gt;
&lt;/div&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-exemple-de-composants-customises#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-exemple-de-composants-customises#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231369</wfw:commentRss>
      </item>
    
  <item>
    <title>Talend : Un ETL Open Source</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-ETL-Open-Source</link>
    <guid isPermaLink="false">urn:md5:ad623a3a68b73ef202381352daeedc43</guid>
    <pubDate>Thu, 17 Apr 2008 18:33:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/singe1.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Qu’est-ce qu’un ETL ?&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
ETL = Extract Transform and Load&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Bref pas très parlant, mais retenez que si vous voulez déplacer des données
électroniques stockées dans un fichier texte, xml, excel ou dans une base de
données, ce logiciel peut vous être très pratique.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L’idée est de permettre de façon “graphique” a un développeur de créer des jobs
réalisant des transformation de données (ex : migrer une base de données d’un
fichier excel vers une base mysql).&lt;/p&gt;    &lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/talend-pics/talend-logo.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ce logiciel a le bon goût d’être Open Source (téléchargeable sur &lt;a title=&quot;http://www.talend.com&quot; href=&quot;http://www.talend.com/&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;www.talend.com&lt;/a&gt;).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il se place au même niveau qu’un datastage mais a l’avantage d’être plus
orienté job design que scripting.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Et le peu de scripting a fournir pour réaliser un job est à produire en JAVA ou
en PERL plutôt que dans un langage de script propriétaire.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Talend Open Studio permet aussi à l’utilisateur d’étendre le jeu de composants
existant et / ou d’utiliser dans des jobs des routines pour reprendre la main
sur le code généré.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Bref, un outil qui procure gain de temps en désignant des jobs en posant des
composants sur une grille et en les reliants entre eux, sans ajouter un “effet
boite noire” , l’outil offre une bonne souplesse dans toute opération du type
migration / transformation de donnée.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il est basé sur éclipse et marche sous windows et linux (snif rien de prévu
pour mac at the moment :/).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
A titre personnel, j’intervient régulièrement dans des missions mettant en
oeuvre Talend Open Studio.&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-ETL-Open-Source#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Talend-%3A-Un-ETL-Open-Source#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231364</wfw:commentRss>
      </item>
    
  <item>
    <title>Promo : des liens et des potes</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Promo-%3A-des-liens-et-des-potes</link>
    <guid isPermaLink="false">urn:md5:ffc69aadcd8ddba3b5c66a0db62373e1</guid>
    <pubDate>Thu, 17 Apr 2008 18:31:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>divers</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/okapi.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
• Microdons : Une association fondée par des amies. Le but de cette association
est de faciliter les dons aux associations caritatives en innovant dans les
moyens de collecte. Leur site &lt;a href=&quot;http://www.microdon.org/&quot; title=&quot;http://www.microdon.org&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.microdon.org&lt;/a&gt;/&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 15px;&quot;&gt;•&lt;/span&gt;Safari : vous avez remarqué
qu’a chacun de  mes posts je met “en couv” une (belle) photo d’un animal,
et les ouvrages O’reilly sont très connus pour avoir la
même habitude.&lt;/p&gt;    &lt;ol style=&quot;padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; text-indent: 0; list-style-type: none; list-style-image: none;&quot;&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 20px; padding-left: 9px; text-indent: -9px;&quot;&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
Par contre ce qui est moins connu c’est que tout ces livres sont consultables
online via leur “safari”. Le principe est simple : un abonnement mensuel
(différent niveaux, ça commence à 10$ par mois). Autant dire que c’est assez
incontournable pour tout passionné de nouvelles technos. (&lt;a title=&quot;http://safari.oreilly.com&quot; href=&quot;http://safari.oreilly.com/&quot; style=&quot;color: rgb(102, 102, 102); text-decoration: underline;&quot;&gt;http://safari.oreilly.com/&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ol style=&quot;padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; text-indent: 0; list-style-type: none; list-style-image: none;&quot;&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 20px; padding-left: 9px; text-indent: -9px;&quot;&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 15px;&quot;&gt;•&lt;/span&gt;Stevostin, le site : le
site d’un de mes anciens coloks,le sir Gregory MAKLES scénariste, dessinateur
de BD. Sur ce site vous trouverez la promo de sa dernière oeuvre (Ruppert) , et
les aventures du célèbre “Stevostin”, &lt;a href=&quot;http://www.ruppert-lesite.com/&quot; title=&quot;http://www.ruppert-lesite.com&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.ruppert-lesite.com&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/.stevostin-banniere_m.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 15px;&quot;&gt;•&lt;/span&gt;Le guide du poker en bd :
écrit par Florent LEPEYTRE, et édité par un autre pote (coup double),
disponible chez CARABAS (&lt;a title=&quot;http://www.editions-carabas.com/&quot; href=&quot;http://www.editions-carabas.com/&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.editions-carabas.com/&lt;/a&gt;)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/couv-poker.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 15px;&quot;&gt;•&lt;/span&gt;Le coin de cstar : Le blog
d’un pote geek (&lt;a title=&quot;http://www.cestari.info&quot; href=&quot;http://www.cestari.info/&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.cestari.info&lt;/a&gt;)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Promo-%3A-des-liens-et-des-potes#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Promo-%3A-des-liens-et-des-potes#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231362</wfw:commentRss>
      </item>
    
  <item>
    <title>Check rapide d’un serveur smtp</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Check-rapide-dun-serveur-smtp</link>
    <guid isPermaLink="false">urn:md5:416f57928655c8e729331e6e69d4af76</guid>
    <pubDate>Thu, 17 Apr 2008 18:28:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/hyppo.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Installer un serveur de mail est assez simple et est couvert dans de nombreux
tutoriaux.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Par contre avoir un serveur de mail qui ne serve pas de relais de spam,
nécessite d’effectuer quelques vérifications après avoir réussi à faire partir
son premier email depuis le serveur :-)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un test simple : &lt;/p&gt;    &lt;div class=&quot;style&quot; style=&quot;overflow-x: visible; overflow-y: visible; padding-top: 4px; padding-right: 4px; padding-bottom: 4px; padding-left: 4px;&quot;&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 22px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
telnet ip.de.mon.server(ou hote.nom.domaine) 25&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 22px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
helo hote.nom.domaine&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 22px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
mail from: testname&lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 22px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
rcpt to: votre@email&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ce test doit vous donner une ligne du style : &lt;/p&gt;
&lt;p class=&quot;paragraph_style&quot; style=&quot;color: rgb(70, 60, 60); font-family: Courier-Bold, Courier, 'Courier New', monospace; font-size: 15px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: 0; line-height: 22px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
554 5.7.1 votre@email: Relay access denied&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Dans ce cas votre serveur smtp est bien configuré et ne peut pas servir de
relais de spam.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Si vous avez un code de réponse 250 par contre, un dpkg-reconfigure sur postfix
s’impose =)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L’important est de bien interdire l’envoie d'émail depuis une adresse net :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Vérifier le paramètre mynetworks dans /etc/postfix/main.cf, il doit avoir la
valeur 127.0.0.0/8 si seules les applications tournant sur la meme machine que
le serveur mail doivent pouvoir envoyer des emails.&lt;/p&gt;
&lt;ol style=&quot;padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; text-indent: 0; list-style-type: none; list-style-image: none;&quot;&gt;
&lt;li class=&quot;full-width&quot; style=&quot;line-height: 20px; padding-left: 9px; text-indent: -9px;&quot;&gt;
&lt;p class=&quot;paragraph_style_1&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Puce&quot; style=&quot;font-size: 15px;&quot;&gt;-&lt;/span&gt;Vérifier le paramètre
mydestination qui indique les domaines pour lesquels il est possible de
recevoir des mails.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
That’s all !&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;tinyText&quot; style=&quot;height: 19px; overflow-x: visible; overflow-y: visible; font-size: 1px; line-height: 1px;&quot;&gt;
 &lt;/div&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Check-rapide-dun-serveur-smtp#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Check-rapide-dun-serveur-smtp#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231361</wfw:commentRss>
      </item>
    
  <item>
    <title>Audit de code avec findbugs</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Audit-de-code-avec-findbugs</link>
    <guid isPermaLink="false">urn:md5:78502ffd77fd660d6f73c0daa6e9ad6f</guid>
    <pubDate>Thu, 17 Apr 2008 18:14:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none; margin-top: 0;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/polaire2.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un bon utilitaire afin d’avoir quelques métriques : findbugs.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Disponible en téléchargement ici : &lt;a href=&quot;http://findbugs.sourceforge.net/&quot; title=&quot;http://finbugs.sourceforge.net&quot; hreflang=&quot;fr&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://findbugs.sourceforge.net&lt;/a&gt; , &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L’outil est assez simple à prendre en main, et dispose aussi d’un plugin
éclipse.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Dans un rapport d’audit se pose le problème d’exporter les résultats
d’analyse.&lt;/p&gt;    &lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour exporter les résultats au format HTML, voici une petite manipulation bien
pratique : &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Lancer findbugs en mode graphique et configurer un projet pour démarrer une
nouvelle analyse.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Sauvegarder le projet au format fbp (disponible dans “enregistrer
sous...”)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Utiliser la ligne de commande suivante (sous unix) : &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
./findbugs -textui -project monprojet.fbp -jvmArgs &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
&amp;quot;-Dfile.encoding=UTF-8&amp;quot; -html &amp;gt; monprojet.html&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Ajouter ensuite dans le fichier html généré une balise meta pour forcer
l’encoding de la page en utf-8 (cette balise doit être placer dans le bloc
&amp;lt;head&amp;gt; ... &amp;lt;/head&amp;gt;  de la page.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La balise ci-dessus + le paramètre système de la JVM &lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;-Dfile.encoding=UTF-8 &lt;/span&gt;assurent
l’affichage correct de tous types de caractères dans le code HTML généré par
l’outil.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Avec cet outil, vous n’avez plus qu’a vous concentrez pour le reste de l’audit
sur la conception ;)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Audit-de-code-avec-findbugs#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Audit-de-code-avec-findbugs#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231359</wfw:commentRss>
      </item>
    
  <item>
    <title>Pense bête : quelques commandes en vrac</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Pense-bete-%3A-quelques-commandes-en-vrac</link>
    <guid isPermaLink="false">urn:md5:83c2291562c19c8743a35d93b672445d</guid>
    <pubDate>Thu, 17 Apr 2008 18:12:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>    &lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/polaire1.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cette commande supprime tous les dossiers CVS et leur contenu a partir du
répertoire /nom/repertoire/départ :&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
find /nom/repertoire/depart/ -type d -name 'CVS' | xargs rm
-rf&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Prise de screenshots (sous mac) &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-size: 15px; font-style: normal; line-height: 22px; font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
⌘&lt;/span&gt;&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;+shift+4&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-size: 15px; font-style: normal; line-height: 22px; font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
⌘&lt;/span&gt;&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;+shift+4+espace&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;style_1&quot; style=&quot;font-size: 15px; font-style: normal; line-height: 22px; font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;
⌘&lt;/span&gt;&lt;span class=&quot;style_1&quot; style=&quot;font-family: Courier-Bold, Courier, 'Courier New', monospace; font-weight: bold;&quot;&gt;+shift+3&lt;/span&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Pense-bete-%3A-quelques-commandes-en-vrac#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Pense-bete-%3A-quelques-commandes-en-vrac#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231358</wfw:commentRss>
      </item>
    
  <item>
    <title>Evaluation de GWT : Google Web Toolkit</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Evaluation-de-GWT-%3A-Google-Web-Toolkit</link>
    <guid isPermaLink="false">urn:md5:4f2f50a8cc8e873ed170017b1aa2b713</guid>
    <pubDate>Thu, 17 Apr 2008 17:47:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>technique</category>
            
    <description>&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/polaire3.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
J'ai évalué GWT durant quelques heures et voici un petit feedback sur ce
framework.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le périmètre:&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Framework pour réaliser des éléments graphiques &amp;quot;riches&amp;quot; (donc comprenants
pas mal d'AJAX) au sein de pages d'une application web (toutes technos
confondues)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Ce framework peut remplacer le flash dans une certaine mesure (s'il n'y a pas
besoin de &amp;quot;sprite&amp;quot; ou qu'on ne fait pas une appli type &amp;quot;jeu du pingouin&amp;quot;).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- Quand dans un cahier des charges il y a sur une page un &amp;quot;bloc&amp;quot; ou
l'utilisateur doit faire pas mal d'actions dynamiques sans reload de la page
entière&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
(drag'n drop puis click sur un bouton qui provoque un refresh de tel ou tel
élément, etc...) ça peut convenir.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;    &lt;div&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
- ça convient aussi lorsqu'il faut réaliser un éditeur de texte riche (c'est
meme un des exemples de base).&lt;/span&gt;&lt;/p&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;img src=&quot;http://blog.davidrobin.net/public/images/code-google-logo.png&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/div&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
L'idée de base : &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Permettre de développer en JAVA des widgets intégrables dans tous sites (cad
pour toutes technos) et cross browser.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Le framework viens donc avec une API, un compilateur JAVA vers JavaScript et
des outils de debug / tests.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Autre outil fourni : le JSNI(pour JavaScript Native Interface).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Une techno inspirée de la JNI et qui permet de prendre la main directement sur
le JavaScript, &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et aussi d'appeler depuis du JavaScript une méthode d'un objet JAVA (au niveau
code bien sur, car au final tout est 100% javascript).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour étudier un peu ce framework j'ai évidemment réalisé un &amp;quot;Hello World
!&amp;quot;.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Ce Hello World est donc un widget qui récupére une liste de catégories d'un
Alfresco et affiche l'arbre des catégories.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ce faire j'ai a disposition sur mon alfresco (&lt;a href=&quot;http://www.davidrobin.net:8080/alfresco&quot; title=&quot;http://www.davidrobin.net:8080/alfresco&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.davidrobin.net:8080/alfresco&lt;/a&gt;)
un web script disponible sur &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;a href=&quot;http://www.davidrobin.net:8080/alfresco/s/liste/categories?guest=true&quot; title=&quot;http://www.davidrobin.net:8080/alfresco/s/liste/categories?guest=true&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.davidrobin.net:8080/alfresco/s/liste/categories?guest=true&lt;/a&gt; &lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
qui renvoie la chaine suivante : &lt;/p&gt;
&lt;h5&gt; &lt;code&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(0, 0, 0); font-family: Verdana;&quot;&gt;myFunction({&amp;quot;categories&amp;quot; :
[{&amp;quot;name&amp;quot; : &amp;quot;sport&amp;quot; },{&amp;quot;name&amp;quot; : &amp;quot;sante&amp;quot; },{&amp;quot;name&amp;quot; : &amp;quot;people&amp;quot; },{&amp;quot;name&amp;quot; :
&amp;quot;politique&amp;quot; },{&amp;quot;name&amp;quot; : &amp;quot;écologie&amp;quot; },{&amp;quot;name&amp;quot; : &amp;quot;biologie&amp;quot;
}]})&lt;/span&gt;&lt;/code&gt;&lt;/h5&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: rgb(102, 102, 102); font-family: 'Courier New'; font-size: 9px; font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
Bref du JSON emballé dans une fonction callback.&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cette chaine au format JSON est construite a partir de l'arborescence des
catégories (cf screen ci-dessous)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Mais mieux vaut une vidéo qu’un long discours : &lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
&lt;a href=&quot;http://blog.davidrobin.net/public/videos/widget-demo.mov&quot;&gt;widget-demo.mov&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Cet exemple montre qu'il suffit de très peu de code (cf le zip des sources
ci-après) pour  réaliser un widget résolvant le problème des appels AJAX
cross-domaines, avec un composant (l'arbre) codé en quelques lignes JAVA alors
que de nombreuses lignes de JavaScript / HTML sont d'habitude nécessaires.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Il utilise aussi la JSNI (Java Script Native Interface) pour les curieux qui
manquent d'un peu de motivation pour aller regarder le code source ;-)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Niveau performance c'est aussi tout bon car il n'y a que très peu d'appel
client/serveur, et le code javascript généré est très performant.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Pour ceux souhaitant étudier un peu plus ces exemples vous devrez télécharger
et installer GWT (voir &lt;a href=&quot;http://code.google.com/webtoolkit/&quot; title=&quot;http://code.google.com/webtoolkit/&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://code.google.com/webtoolkit/&lt;/a&gt;).&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
et vous pourrez télécharger ensuite le projet éclipse via les liens ci-dessous
:&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- &lt;a href=&quot;http://blog.davidrobin.net/public/ressources-codes/www.zip&quot;&gt;www.zip&lt;/a&gt; =&amp;gt; zip
contenant le widget sous sa forme statique (cad full javascript / html) le
fichier a ouvrir dans le navigateur est AlfrescoWidget.html&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
- &lt;a href=&quot;http://blog.davidrobin.net/public/ressources-codes/AlfrescoWidget.zip&quot;&gt;AlfrescoWidget.zip&lt;/a&gt; =&amp;gt;
le zip du projet éclipse contenant les sources.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Autres ressources : un bon bouquin =&amp;gt; &lt;a href=&quot;http://www.gwtapps.com/&quot; title=&quot;http://www.gwtapps.com&quot; style=&quot;color: rgb(70, 60, 60); text-decoration: underline;&quot;&gt;http://www.gwtapps.com&lt;/a&gt;/&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Conclusion : Un bon outil à condition de bien respecter son périmètre (il faut
résister à la tentation de vouloir coder toute une application avec :p).&lt;/p&gt;
&lt;/div&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Evaluation-de-GWT-%3A-Google-Web-Toolkit#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Evaluation-de-GWT-%3A-Google-Web-Toolkit#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231354</wfw:commentRss>
      </item>
    
  <item>
    <title>Le retour du blog</title>
    <link>http://blog.davidrobin.net/post/2008/04/17/Le-retour-du-blog</link>
    <guid isPermaLink="false">urn:md5:4a30dacd211722bdfa52b428ba230d25</guid>
    <pubDate>Thu, 17 Apr 2008 12:52:00 +0200</pubDate>
    <dc:creator>david</dc:creator>
        <category>divers</category>
            
    <description>    &lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; font-size: 16px; line-height: normal; -webkit-text-size-adjust: none;&quot;&gt;
&lt;img src=&quot;http://blog.davidrobin.net/public/images/post1.jpg&quot; alt=&quot;&quot; style=&quot;margin-top: 0; margin-right: auto; margin-bottom: 0; margin-left: auto; display: block;&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Après une pâle tentative il y a un an, je retente l’expérience blog ;)&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Vous trouverez ici des infos essentiellement Geek-oriented  + du “36 15 Ma
Vie” de temps en temps.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
Un blog c’est du texte, des images et des vidéos, et je suis décidé à ne mettre
que des belles photos ou rien.&lt;/p&gt;
&lt;p class=&quot;Body&quot; style=&quot;color: rgb(70, 60, 60); font-family: ArialMT, Arial, sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: 0; line-height: 20px; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; opacity: 1; padding-bottom: 0; padding-top: 0; text-align: left; text-decoration: none; text-indent: 0; text-transform: none;&quot;&gt;
La plus belle série de photos que j’ai sous la main ayant été prise au Zoo de
San Diego, mes pages vont êtres agrémentés d’animaux pendant un certain temps
;)&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.davidrobin.net/post/2008/04/17/Le-retour-du-blog#comment-form</comments>
      <wfw:comment>http://blog.davidrobin.net/post/2008/04/17/Le-retour-du-blog#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.davidrobin.net/feed/atom/comments/231296</wfw:commentRss>
      </item>
    
</channel>
</rss>