[Date Prev][Date Next]
- To: "Open LDAP Software List (E-mail)" <openldap-software@OpenLDAP.org>
- Subject: Odd Error
- From: "James Courtney" <Jcourtney@inphonic.com>
- Date: Mon, 5 Jan 2004 19:25:27 -0800
- Content-class: urn:content-classes:message
- Thread-index: AcPUBLr91wzpJEKUQF+V6Qk5X9p6xQ==
- Thread-topic: Odd Error
I'm getting the following error:
Jan 5 17:22:15 ldap1 slapd: conn=9825447 op=1 RESULT tag=103 err=18 text=modify/delete: facsimileTelephoneNumber: no equality matching rule
The update is done via PHP using the ldap_modify call where the attribute array has a single element with key facsimileTelephoneNumber and value "" (the empty string).
I'm using OpenLDAP 2.1.25 and still learning schema but I understand that there can be issues modifying multivalue attributes with no equality matching rule defined:
There is no equality matching rule defined in core.schema for OpenLDAP 2.1.25 but I think that the update I'm doing is in fact a replace type of update rather than a add or delete because as I look at the PHP array there is no second dimension, just
If I'm confused on the definition of a add/delete modification vs. a replace modification please help me out.
Is the update to an empty string equivalent to an update to NULL (in SQL speak) in OpenLDAP?
Is the update to an empty string causing a problem vs. just removing the attribute?
Thanks for your time and help!