Highlighted
Honored Contributor.
Honored Contributor.
354 views

transitiveVector LDAP format

Can someone tell me how to decode the transitiveVector attribute from LDAP?

Syntax is an Octet String, but the data appears to be some sort of
sequence with several parts and I can not find it identified any where.
--

Thank You for your help!

-jim
Jim Willeke

Labels (1)
0 Likes
2 Replies
Absent Member.
Absent Member.

Re: transitiveVector LDAP format

AFAIK the vector starts with a nint32 length field, followed by 3
nuint32 numbers (time/uid?), and by a Unicode String

Wolfgang

On 25.08.2012 00:55, Jim Willeke wrote:
> Can someone tell me how to decode the transitiveVector attribute from LDAP?
>
> Syntax is an Octet String, but the data appears to be some sort of
> sequence with several parts and I can not find it identified any where.

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: transitiveVector LDAP format

On 2012-08-25 08:46:09 +0000, Wolfgang Schreiber said:

> AFAIK the vector starts with a nint32 length field, followed by 3
> nuint32 numbers (time/uid?), and by a Unicode String
>
> Wolfgang
>
> On 25.08.2012 00:55, Jim Willeke wrote:
>> Can someone tell me how to decode the transitiveVector attribute from LDAP?
>>
>> Syntax is an Octet String, but the data appears to be some sort of
>> sequence with several parts and I can not find it identified any where.

Thanks for your help.

The Transitive Vector is a multi-valued (one value for each server) attribute.
Each Transitive Vector value contains a group of Time Vectors.
Each of these Time Vectors contains information about each replica.
There is one Transitive Vector for each replica.
(From what little informaiton I could find)

Well, it appears from what I think should be there, at least in some
format: (as exposed form iMonitor)

Then an entry for each vector for each server: (So for my two server
partition entry)
The Fully Distinguished name of the server (In Tree qualified DOT format)
..bratton.srv.willeke.com.WILLEKETREE.
08/25/12 04:43:47 PM 1:1 = replica number: Event Number?
08/25/12 04:43:47 PM 2:2 = replica number: Event Number?
08/23/12 04:42:01 PM 3:4660 (Last successful update??)

..sa.svr.willeke.com.WILLEKETREE.

08/25/12 04:43:47 PM 1:3

08/25/12 04:43:47 PM 2:2

08/23/12 04:42:01 PM 3:4660

I am assuming there is a timeVector couunt or you would never know how
many entries to expect. (as there could be any number of replicas)
From iMonitor I see a "3".
But what is the last time entry? (There are only two servers and two
partitions)

And form LDAP, it is just a mess. First it is decleared an octect string.
Decoding this to a ASN1OctetString element and Then this needs decoded
to a byte array, I assume.

Dumped as a string it shows:
Ef\T=WILLEKETREE\dc=com\dc=willeke\dc=srv\CN=bratton?89P?89P"T6P4
or as hex array:
0000000045000000660000005c0054003d00570049004c004c0045004b00450054005200450045005c00640063003d0063006f006d005c00640063003d00770069006c006c0065006b0065005c00640063003d007300720076005c0043004e003d00620072006100740074006f006e000000000003000000953839500100010099383950020001002254365003003412


Now what is that?



--

Thank You for your help!

-jim
Jim Willeke

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.