[Date Prev][Date Next] [Chronological] [Thread] [Top]

Odd Error



I'm getting the following error:

Jan  5 17:22:15 ldap1 slapd[17505]: 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:

http://www.openldap.org/lists/ietf-ldapbis/200301/msg00037.html

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

myarray["facsimileTelephoneNumber"]=""

NOT myarray["facsimileTelephoneNumber"][1]=""

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!

Jamey



James Courtney
Software Engineer
InPhonic, Inc.