22
0
Fork 0

complément d'info

This commit is contained in:
gcolpart 2018-09-12 18:29:41 +02:00
parent aee659d040
commit e06006bf2d
1 changed files with 11 additions and 2 deletions

View File

@ -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