summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-17 14:59:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:57 -0500
commit3c9a2e225ab4e32ebe569df623a9013d4fcdaca5 (patch)
treeac4bdd85ec1815ab68e4051b5a0ce9613478bfe7
parentec6f6aeda18f905ba58a86f61b8eabf306ed22e2 (diff)
downloadsamba-3c9a2e225ab4e32ebe569df623a9013d4fcdaca5.tar.gz
samba-3c9a2e225ab4e32ebe569df623a9013d4fcdaca5.tar.bz2
samba-3c9a2e225ab4e32ebe569df623a9013d4fcdaca5.zip
r4804: add more emuns and bitmaps
metze (This used to be commit 3381617a031db1dfb9dc7fc30f13e260f1dc589a)
-rw-r--r--source4/librpc/idl/netlogon.idl35
1 files changed, 26 insertions, 9 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index dbbca48c9a..e03242243f 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -1105,20 +1105,37 @@ interface netlogon
NETR_TRUST_FLAG_INBOUND = 0x00000020
} netr_TrustFlags;
+ typedef [v1_enum] enum {
+ NETR_TRUST_TYPE_DOWNLEVEL = 1,
+ NETR_TRUST_TYPE_UPLEVEL = 2,
+ NETR_TRUST_TYPE_MIT = 3,
+ NETR_TRUST_TYPE_DCE = 4
+ } netr_TrustType;
+
+ typedef bitmap {
+ NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE = 0x00000001,
+ NETR_TRUST_ATTRIBUTE_UPLEVEL_ONLY = 0x00000002,
+ NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN = 0x00000004,
+ NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE = 0x00000008,
+ NETR_TRUST_ATTRIBUTE_CROSS_ORGANIZATION = 0x00000010,
+ NETR_TRUST_ATTRIBUTE_WITHIN_FOREST = 0x00000020,
+ NETR_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL = 0x00000040
+ } netr_TrustAttributes;
+
typedef struct {
- unistr *netbios_name;
- unistr *dns_name;
- netr_TrustFlags trust_flags;
- uint32 parent_index;
- uint32 trust_type;
- uint32 trust_attributes;
- dom_sid2 *sid;
- GUID guid;
+ unistr *netbios_name;
+ unistr *dns_name;
+ netr_TrustFlags trust_flags;
+ uint32 parent_index;
+ netr_TrustType trust_type;
+ netr_TrustAttributes trust_attributes;
+ dom_sid2 *sid;
+ GUID guid;
} netr_DomainTrust;
WERROR netr_DsrEnumerateDomainTrusts(
[in] unistr *server_name,
- [in] uint32 trust_flags,
+ [in] netr_TrustFlags trust_flags,
[out] uint32 count,
[out,size_is(count)] netr_DomainTrust *trusts
);