summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-14 08:27:39 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-14 08:27:39 +0000
commit15b258051cf3bbf8592eac0fd5e3d747d7172101 (patch)
tree98583d43a86d63d311ab40fc61249256a261d871 /source4/librpc/idl
parent57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c (diff)
downloadsamba-15b258051cf3bbf8592eac0fd5e3d747d7172101.tar.gz
samba-15b258051cf3bbf8592eac0fd5e3d747d7172101.tar.bz2
samba-15b258051cf3bbf8592eac0fd5e3d747d7172101.zip
* added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
properly, I'm still investigating that. * changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT, which I think is a better mapping (This used to be commit 9ad28f6ddbb777de7cac11e71c392b508c81b741)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/dfs.idl38
1 files changed, 38 insertions, 0 deletions
diff --git a/source4/librpc/idl/dfs.idl b/source4/librpc/idl/dfs.idl
index 27efc5b221..95349b9000 100644
--- a/source4/librpc/idl/dfs.idl
+++ b/source4/librpc/idl/dfs.idl
@@ -88,10 +88,48 @@
[size_is(count)] dfs_Info3 *s;
} dfs_EnumArray3;
+ typedef struct {
+ unistr *path;
+ unistr *comment;
+ uint32 state;
+ uint32 timeout;
+ GUID guid;
+ uint32 num_stores;
+ [size_is(num_stores)] dfs_StorageInfo *stores;
+ } dfs_Info4;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] dfs_Info4 *s;
+ } dfs_EnumArray4;
+
+ typedef struct {
+ unistr *dom_root;
+ } dfs_Info200;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] dfs_Info200 *s;
+ } dfs_EnumArray200;
+
+ typedef struct {
+ uint32 flags;
+ unistr *dom_root;
+ } dfs_Info300;
+
+ typedef struct {
+ uint32 count;
+ [size_is(count)] dfs_Info300 *s;
+ } dfs_EnumArray300;
+
+
typedef union {
case(1) dfs_EnumArray1 *info1;
case(2) dfs_EnumArray2 *info2;
case(3) dfs_EnumArray3 *info3;
+ case(4) dfs_EnumArray4 *info4;
+ case(200) dfs_EnumArray200 *info200;
+ case(300) dfs_EnumArray300 *info300;
} dfs_EnumInfo;
typedef struct {