Angie Cao writes:
> Currenty the data type of 'mail' attricute in core.shema is IA5 String
> (1.3.6.1.4.1.1466.115.121.1.26{256}), in a normal operating, it
> accepts the empty string when the entry is firstly added, however if
> there is a value in the 'mail' attribute and you come back and trying
> to change it to the empty string, it'll return:
> ldap_modify: Invalid syntax (21)
> additional info: mail: value #0 invalid per syntax
That does not make sense. My guess is that you or your client confuses
an absent 'mail' attribute with an empty 'mail' attribute value:
When it "accepts the empty string", that likely means it refrains from
adding a mail attribute. When you try to change it to the empty string,
it tries to store a mail attribute containting an empty string, instead
of removing the attribute.
--
Hallvard