s4/drs(idl): Redefine drsuapi_DsReplicaOID in drsuapi.idl
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>
Fri, 2 Oct 2009 15:29:44 +0000 (18:29 +0300)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Fri, 16 Oct 2009 09:54:13 +0000 (12:54 +0300)
Structure redefined to be more similar with OID_t structure
defined in [ref. MS-DRSR.pdf - p.496].

librpc/idl/drsuapi.idl

index 27cb14ecb008683309808c56f033b850126d479c..f53db00f5b81be8c9884afe00e5c8cbf8c4f8c55 100644 (file)
@@ -414,9 +414,9 @@ interface drsuapi
         *
         * 2.5.5.17     => dom_sid
         */
-       typedef [nopush,nopull] struct {
-               [range(0,10000),value(ndr_size_drsuapi_DsReplicaOID_oid(oid, 0))] uint32 __ndr_size;
-               [size_is(__ndr_size),charset(DOS)] uint8 *oid; /* it's encoded with asn1_write_OID_String() */
+       typedef [noprint] struct {
+               [range(0,10000)] uint32 length;
+               [size_is(length)] uint8 *binary_oid; /* partial-binary-OID encoded with asn1_write_partial_OID_String() */
        } drsuapi_DsReplicaOID;
 
        typedef struct {