Description
If we pass a DN as a byte[] to the server (for instance, by importing a Ldif file which contains an base64 encoded value), the server stores the value as a byte[] instead of transforming the value to a String before storing it. This is not good at all. In case we have a H-R atttribute type, then we must assume that the value should be converted to a String, and if we get an invalid byte[], then we must throw an exception.