Full_Name: Julia Bremer
OS: debian / UCS 4.4
Submission from: (NULL) (188.8.131.52)
Trying to set the value of the attribute preferredDeliveryMethod to a sequence
of items, separated by " $ ", e.g "telephone $ videotex" fails with
ldap_modify: Invalid syntax (21)
additional info: preferredDeliveryMethod: value #0 invalid per syntax
even though the syntax is correct according to the RFC4517
This is due to an error in the method deliveryMethodValidate in
servers/slapd/schema_init.c which causes the function to check the string
backwards after a space character occurs.
The attached patch fixes this, so that the syntax is validated correctly.
Univention hereby place the following modifications to OpenLDAP Software (and
only these modifications) into the public domain. Hence, these modifications may
be freely used and/or redistributed for any purpose with or without attribution
and/or other notice.