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

Re: Characters in DN

"David A. Cooper" wrote:

> OK, I have now integrated my versions of the dn_validate and dn_normalize functions into current development branch code and have posted the new patch file to http://csrc.nist.gov/pki/testing/openLDAP_contrib.html. Feel free to check it out and, if you think it is appropriate, to commit the changes.

Your code looks ok. You should really submit an ITS
so we can keep track of the changes.

I have only one question. You treat '=' and '#' as
characters that need to be escaped. While rfc 2253
says implementations may escape other characters,
it doesn't require them to be treated as special except
in type/value separation (=) and beginning of string (#).
I think you should handle them differently.

Someone who's directly involved in unicode stuff
should check the UTF part before anything is added.
I'm totally stuck with it at present (see why we need


Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati