Novell is now a part of Micro Focus

How can I read the NDS "Partition Status"...

Articles and Tips: qna

01 Mar 2001


Q.

How can I read the NDS "Partition Status" attribute?

A.

The "Partition Status" attribute of a partition object (see http://developer.novell.de/ndk/doc/ndslib/schm_enu/data/sdk4728.htm) has the syntax SYN_OCTET_STRING, but the structure of the returned octet string currently is not available in the documentation.

To decode the data part of the octet string, you can use this structure:

nuint32    version          (0)
nuint32    flags            (0: local error; 1: remote error; 2: in sync)
nuint32    syncTime
nuint32    replicaNumber    (0: reserved)
nuint32    error            (0: success)
nuint32    reserved
nuint32    serverNameLength
unicode    serverName[MAX_DN_CHARS]
nuint32    reserved[..]

(Thanks to Wolfgang Schreiber of Novell, Inc.)

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates