From d716328c70ee0dbfd1e5e7c7d19a0ab4d024f6b0 Mon Sep 17 00:00:00 2001 From: emorino Date: Wed, 1 Jul 2020 17:51:05 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20list=C3=A9=20les=20alias=20ldap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoOpenLDAP.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoOpenLDAP.md b/HowtoOpenLDAP.md index bc0275bf..3b1c8a8c 100644 --- a/HowtoOpenLDAP.md +++ b/HowtoOpenLDAP.md @@ -324,6 +324,12 @@ Admettons que l'on veille lister toutes les machines sous buster activées dans ldapsearch -x -h $IP -LLL -b 'ou=machine,dc=domaine,dc=org' "(&(computerOS=buster)(NagiosEnabled=TRUE))" ~~~ +Si on veux chercher tous les alias dans le cas d'un ldap sur un serveur mail par exemple : + +~~~ +ldapsearch -xLLL -b ou=people,dc=domaine,dc=com "(&(objectClass=mailAlias))" +~~~ + ### Changer un mot de passe LDAP Lors de l'exécution de la commande, un mot de passe sera demandé :