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

UUID external format

Hi guys,

a short question about the way OpenLDAP (last version) exposes the entryUUID during replication. UUID is supposed to be binary :

RFC 4530 :

*2.1 UUID Syntax*

   A Universally Unique Identifier (UUID) [RFC4122
   <http://www.apps.ietf.org/rfc/rfc4122.html>] is a 16-octet (128-
   bit) value that identifies an object. The ASN.1 [X.680] type UUID is
   defined to represent UUIDs as follows:

          UUID ::= OCTET STRING (SIZE(16))
                -- constrained to an UUID [RFC4122 <http://www.apps.ietf.org/rfc/rfc4122.html>]

When the UUID is transfered in the Syncrepl cookies, it's as a String, not as a byte[] (with a format like xxx-yyyy-zzzz, kindof). Is there any reason not to transfer the UUID as a byte[] ?

cordialement, regards,
Emmanuel Lécharny