On 26/4/04 3:11 pm, Christopher A Bongaarts <[EMAIL PROTECTED]> wrote:

> In the immortal words of Chris Ridd:
> 
>>> A second question is about the "modify/replace" operation. Is it safe to
>>> use this operation instead of "modify/add" in case I don't care about the
>>> previously stored values, or do I have to be sure the atribute actually
>>> exists before modifying it?
>> 
>> As long as you are binding with LDAPv3, you can issue a modify/replace on a
>> non-existent attribute and (as long as you don't violate schema or access
>> controls etc) it will succeed.
> 
> ...unless you are using Active Directory, in which case attempting to
> replace non-existent attributes will fail.

Oho, it must only be an LDAPv2 server :-))

Cheers,

Chris

Reply via email to