From a7c71763f7cfb8aaa3700708f8a129e17851c6ce Mon Sep 17 00:00:00 2001 From: whirigoyen Date: Fri, 13 Aug 2021 11:08:38 +0200 Subject: [PATCH] =?UTF-8?q?Pr=C3=A9cisions=20prod=C3=A9dure=20changement?= =?UTF-8?q?=20de=20mot=20de=20passe=20LDAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoOpenLDAP.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/HowtoOpenLDAP.md b/HowtoOpenLDAP.md index e7b4091c..e71999c7 100644 --- a/HowtoOpenLDAP.md +++ b/HowtoOpenLDAP.md @@ -375,10 +375,13 @@ 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é : - ~~~ +# Générer un nouveau mot de passe : +apg -n 1 -m 12 +# Calculer le hash LDAP du nouveau mot de passe : slappasswd +# Mettre à jour le hash du mot de passe du compte LDAP : +ldapvi ~~~ ### Logiciels pour gestion de l'annuaire