https://wiki.kogite.fr/index.php?title=Lignes_de_commandes_LDAP&feed=atom&action=history
Lignes de commandes LDAP - Historique des versions
2024-03-29T10:41:53Z
Historique des versions pour cette page sur le wiki
MediaWiki 1.30.0
https://wiki.kogite.fr/index.php?title=Lignes_de_commandes_LDAP&diff=4370&oldid=prev
Frank le 26 novembre 2011 à 11:32
2011-11-26T11:32:17Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="fr">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Version du 26 novembre 2011 à 11:32</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l13" >Ligne 13 :</td>
<td colspan="2" class="diff-lineno">Ligne 13 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>"(&(objectclass=inetOrgPerson)"</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>"(&(objectclass=inetOrgPerson)"</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>"(&(objectclass=inetOrgPerson)(departmentNumber=COMPTA))"</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>"(&(objectclass=inetOrgPerson)(departmentNumber=COMPTA))"</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Ajouter des enregistrements ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Ajouter des schémas ==</ins></div></td></tr>
</table>
Frank
https://wiki.kogite.fr/index.php?title=Lignes_de_commandes_LDAP&diff=4297&oldid=prev
Frank : /* Faire une recherche sur un serveur LDAP distant */
2011-11-24T14:36:04Z
<p><span dir="auto"><span class="autocomment">Faire une recherche sur un serveur LDAP distant</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="fr">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Version du 24 novembre 2011 à 14:36</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Ligne 1 :</td>
<td colspan="2" class="diff-lineno">Ligne 1 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Faire une recherche sur un serveur LDAP distant ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Faire une recherche sur un serveur LDAP distant ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>  ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W -LLL <del class="diffchange diffchange-inline">"(objectclass=*)"</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>  ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W -LLL</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-x Authentification simple (sans utiliser SASL)<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-x Authentification simple (sans utiliser SASL)<br/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-b : base de recherche dans l'arborescence<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-b : base de recherche dans l'arborescence<br/></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l7" >Ligne 7 :</td>
<td colspan="2" class="diff-lineno">Ligne 7 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-W : demande le mot de passe<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-W : demande le mot de passe<br/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-LLL : Affichage au format LDIF (sans commentaires, sans version LDIF)</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-LLL : Affichage au format LDIF (sans commentaires, sans version LDIF)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">La recherche ci-dessus liste tous les objets de l'OU MyOU (qui est donnée comme base de la recherche). On aurait pu ajouter au bout de la ligne le filtre "(objectclass=*)", qui revient au même.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Autres exemples de filtres :</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">"(&(objectclass=inetOrgPerson)"</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">"(&(objectclass=inetOrgPerson)(departmentNumber=COMPTA))"</ins></div></td></tr>
</table>
Frank
https://wiki.kogite.fr/index.php?title=Lignes_de_commandes_LDAP&diff=4296&oldid=prev
Frank : /* Faire une recherche sur un serveur LDAP distant */
2011-11-24T14:28:38Z
<p><span dir="auto"><span class="autocomment">Faire une recherche sur un serveur LDAP distant</span></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr style="vertical-align: top;" lang="fr">
<td colspan="2" style="background-color: white; color:black; text-align: center;">← Version précédente</td>
<td colspan="2" style="background-color: white; color:black; text-align: center;">Version du 24 novembre 2011 à 14:28</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Ligne 1 :</td>
<td colspan="2" class="diff-lineno">Ligne 1 :</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Faire une recherche sur un serveur LDAP distant ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Faire une recherche sur un serveur LDAP distant ==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W -LLL "(objectclass=*)"</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"> </ins>ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W -LLL "(objectclass=*)"</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-x Authentification simple (sans utiliser SASL)<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-x Authentification simple (sans utiliser SASL)<br/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-b : base de recherche dans l'arborescence<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>-b : base de recherche dans l'arborescence<br/></div></td></tr>
</table>
Frank
https://wiki.kogite.fr/index.php?title=Lignes_de_commandes_LDAP&diff=4295&oldid=prev
Frank : Page créée avec « == Faire une recherche sur un serveur LDAP distant == ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W... »
2011-11-24T14:28:19Z
<p>Page créée avec « == Faire une recherche sur un serveur LDAP distant == ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W... »</p>
<p><b>Nouvelle page</b></p><div>== Faire une recherche sur un serveur LDAP distant ==<br />
ldapsearch -x -b "ou=MyOU,dc=domain,dc=fr" -H ldap://server-ldap.domain.fr -D "cn=ldap_user,ou=admin,dc=domain,dc=fr" -W -LLL "(objectclass=*)"<br />
<br />
-x Authentification simple (sans utiliser SASL)<br/><br />
-b : base de recherche dans l'arborescence<br/><br />
-H : serveur LDAP<br/><br />
-D : identifiant connexion à la base<br/><br />
-W : demande le mot de passe<br/><br />
-LLL : Affichage au format LDIF (sans commentaires, sans version LDIF)</div>
Frank