diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-08 11:51:01 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-08 11:52:45 +1000 |
commit | 5cd6b460ff763615d1b7ce38f52b7d6fc9e20867 (patch) | |
tree | 934a49f9a58cf05a8289e717535c388e9944aade /librpc/idl | |
parent | 9a3db7e331098292d5c2e724127c63f5583e5c74 (diff) | |
download | samba-5cd6b460ff763615d1b7ce38f52b7d6fc9e20867.tar.gz samba-5cd6b460ff763615d1b7ce38f52b7d6fc9e20867.tar.bz2 samba-5cd6b460ff763615d1b7ce38f52b7d6fc9e20867.zip |
s4: added the structure for repsTo
This structure is stored in NDR format in the repsTo attribute of each
partition. It is updated by the DSUpdateRefs DSRUAPI call
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/drsblobs.idl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/librpc/idl/drsblobs.idl b/librpc/idl/drsblobs.idl index fb37500fea..8ec8458f6b 100644 --- a/librpc/idl/drsblobs.idl +++ b/librpc/idl/drsblobs.idl @@ -174,6 +174,38 @@ interface drsblobs { [in] prefixMapBlob blob ); + + /* + * repsTo structure. This is not sent over the wire so we are + * free to choose our own format. It is updated by the + * DRSUpdateRefs DRSUAPI call. This is stored in NDR format + * in the root of each partition in the repsTo attribute + */ + typedef [v1_enum] enum { + REPSTO_VERSION1 = 1 + } repsToVersion; + + typedef struct { + utf8string dest_dsa_dns_name; + GUID dest_guid; + uint32 options; + } repsToDest; + + typedef struct { + uint32 count; + [size_is(count)] repsToDest reps[]; + } repsTov1; + + typedef [nodiscriminant] union { + [case(REPSTO_VERSION1)] repsTov1 r; + } repsToCtr; + + typedef [public] struct { + repsToVersion version; + [switch_is(version)] repsToCtr ctr; + } repsTo; + + /* * the cookie for the LDAP dirsync control */ |