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.
%% Christopher A. Bongaarts %% cab@xxxxxxxxxx %%
%% Internet Services %% http://umn.edu/~cab %%
%% University of Minnesota %% +1 (612) 625-1809 %%
|