summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/drsuapi.idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-20 13:05:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:30 -0500
commitaaccc47c0e827668e9d2df9626397bdcf801efe6 (patch)
tree1eb04875f15c0f75126248312f7cdec899b8df55 /source4/librpc/idl/drsuapi.idl
parent06c58a3dbbf76a0790627fd13b788a4626fca78e (diff)
downloadsamba-aaccc47c0e827668e9d2df9626397bdcf801efe6.tar.gz
samba-aaccc47c0e827668e9d2df9626397bdcf801efe6.tar.bz2
samba-aaccc47c0e827668e9d2df9626397bdcf801efe6.zip
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)
Diffstat (limited to 'source4/librpc/idl/drsuapi.idl')
-rw-r--r--source4/librpc/idl/drsuapi.idl9
1 files changed, 5 insertions, 4 deletions
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 {