summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-01-19 16:52:10 +0200
committerStefan Metzmacher <metze@samba.org>2010-02-01 15:23:29 +0100
commitcd3d165778e51987f185a58ff49c124a555e14e7 (patch)
tree8ab8f0a11f02bbf91d5a2e11531c9bc13f908978 /librpc
parent531059696e17d1ee538310d81af309c107d08e3e (diff)
downloadsamba-cd3d165778e51987f185a58ff49c124a555e14e7.tar.gz
samba-cd3d165778e51987f185a58ff49c124a555e14e7.tar.xz
samba-cd3d165778e51987f185a58ff49c124a555e14e7.zip
s4/idl: PrefixMap description for W2K3 and W2K8 Schema:prefixMap attribute
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/drsblobs.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl
index 8a1e401d1b..3a8805e65e 100644
--- a/librpc/idl/drsblobs.idl
+++ b/librpc/idl/drsblobs.idl
@@ -177,6 +177,28 @@ interface drsblobs {
);
/*
+ * MS w2k3 and w2k8 prefixMap format
+ * There is no version number. Format is:
+ * uint32 - number of entries in the map
+ * uint32 - total bytes that structure occupies
+ * ENTRIES:
+ * uint16 - prefix ID (OID's last sub-id encoded. see prefixMap)
+ * uint16 - number of bytes in prefix N
+ * uint8[N] - BER encoded prefix
+ */
+ typedef [noprint,flag(NDR_NOALIGN)] struct {
+ uint16 entryID;
+ uint16 length;
+ uint8 binary_oid[length];
+ } drsuapi_MSPrefixMap_Entry;
+
+ typedef [public,gensize] struct {
+ uint32 num_entries;
+ [value(ndr_size_drsuapi_MSPrefixMap_Ctr(r, ndr->iconv_convenience, ndr->flags))] uint32 __ndr_size;
+ drsuapi_MSPrefixMap_Entry entries[num_entries];
+ } drsuapi_MSPrefixMap_Ctr;
+
+ /*
* prefixMap
* w2k unknown
* w2k3 unknown