Emmanuel Lecharny wrote:
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[] ?
Could be an oversight. RFC4533 and the syncprov implementation were not always in sync with each other. (ironic...)
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
