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

Re: Comparable and replaceable fax numbers



Sean Burford writes:
>h.b.furuseth@usit.uio.no> wrote:
>> In any case, maybe OpenLDAP could be made to accept this filter:
>>    (facsimileTelephoneNumber:telephoneNumberMatch:=foo)
>> OpenLDAP doesn't support indexing for extended filters though.
> 
> 
> I don't think extended filters would help with selective attribute deletion
> (my syntax may be wrong):
> 
> dn: uid=username,dc=example,dc=com
> changetype: modify
> delete: facsimileTelephoneNumber
> facsimileTelephoneNumber:telephoneNumberMatch:=+1 (555)555 5555

True, LDAP does not support that for attributes without EQUALITY
matching rules.  (So there is no LDIF syntax for it:-)
For such attributes you need to read the entry and use replace:,
listing the values you want to keep.

-- 
Hallvard