From e06006bf2d08c43e42c2fa5e9e24dd0ff3bf22d1 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Wed, 12 Sep 2018 18:29:41 +0200 Subject: [PATCH] =?UTF-8?q?compl=C3=A9ment=20d'info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoOpenLDAP.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/HowtoOpenLDAP.md b/HowtoOpenLDAP.md index 525b70c0..a9fbddfd 100644 --- a/HowtoOpenLDAP.md +++ b/HowtoOpenLDAP.md @@ -422,10 +422,19 @@ ldap_modify: Inappropriate matching (18) additional info: modify/delete: foo_attribute: no equality matching rule ~~~ -Vérifiez que l'attribut concerné a bien une règle EQUALITY dansle schéma LDAP. +Vérifiez que l'attribut concerné a bien une règle EQUALITY dans le schéma LDAP. -Si ce n'est pas possible d'ajouter une règle EQUALITY dansle schéma LDAP (par exemple pour les SYNTAX binary comme jpegPhoto), n'utilisez pas ldapmodify (LDAP_MOD_REPLACE) mais plutôt suppression et recréation si besoin. +Si ce n'est pas possible d'ajouter une règle EQUALITY dansle schéma LDAP (par exemple pour les SYNTAX binary comme jpegPhoto), n'utilisez pas ldapmodify (LDAP_MOD_REPLACE) mais plutôt suppression (et recréation si besoin) : +~~~ +$ cat delete.ldif + +dn: cn=foo,dc=example,dc=com +changetype: modify +delete: jpegPhoto + +$ ldapvi --ldapmodify delete.ldif +~~~ ### no such value