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

Re: How to modify a single attribute from multiple list of attributes

Tom Leach wrote:
> Thanks to everyone who replied.  In my searching, I hadn't found any
> examples of modifying an attribute that had multiple values.

See Example 6 in RFC 2849.

>  the
> following ldif did exactly what I needed:
>     dn: cn=config,o=dhcp
>     changetype: modify
>     delete: dhcpStatements
>     dhcpStatements: log-facility local7
>     -
>     add: dhcpStatements
>     dhcpStatements: log-facility local3

Note that this only works if the attribute type in question is declared with
an EQUALITY matching rule (which is defined for dhcpStatements).

Ciao, Michael.