From aaccc47c0e827668e9d2df9626397bdcf801efe6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 20 Dec 2006 13:05:13 +0000 Subject: r20278: make it possible to use oid strings in the drsuapi instead of uint8_t arrays with ber encoded oid's metze (This used to be commit bc13b3690166b29df246cc4778b378e9cf2a22d7) --- source4/librpc/idl/drsuapi.idl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index cc2787523c..119e0b1b3e 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -8,8 +8,9 @@ import "security.idl", "misc.idl", "samr.idl"; endpoint("ncacn_np:[\\pipe\\lsass]","ncacn_np:[\\pipe\\protected_storage]", "ncacn_ip_tcp:", "ncalrpc:"), authservice("ldap"), helpstring("Active Directory Replication"), + helper("librpc/ndr/ndr_drsuapi.h"), pointer_default(unique) -] +] interface drsuapi { declare bitmap samr_GroupAttrs; @@ -325,9 +326,9 @@ interface drsuapi * * 2.5.5.17 => dom_sid */ - typedef [flag(NDR_PAHEX)] struct { - [range(0,10000)] uint32 length; - [size_is(length)] uint8 *data; + typedef [nopush,nopull] struct { + [range(0,10000),value(ndr_size_drsuapi_DsReplicaOID_oid(r->oid, 0))] uint32 __ndr_size; + [size_is(__ndr_size),charset(DOS)] uint8 *oid; /* it's encoded with asn1_write_OID_String() */ } drsuapi_DsReplicaOID; typedef struct { -- cgit