diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-14 08:27:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-14 08:27:39 +0000 |
commit | 15b258051cf3bbf8592eac0fd5e3d747d7172101 (patch) | |
tree | 98583d43a86d63d311ab40fc61249256a261d871 /source4/librpc/ndr/ndr_dfs.h | |
parent | 57529207ca1c0f2a95e6e9f85fc41bb9a27aa64c (diff) | |
download | samba-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/ndr/ndr_dfs.h')
-rw-r--r-- | source4/librpc/ndr/ndr_dfs.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/source4/librpc/ndr/ndr_dfs.h b/source4/librpc/ndr/ndr_dfs.h index 2f010c8ad1..23c84e5b53 100644 --- a/source4/librpc/ndr/ndr_dfs.h +++ b/source4/librpc/ndr/ndr_dfs.h @@ -102,10 +102,47 @@ struct dfs_EnumArray3 { struct dfs_Info3 *s; }; +struct dfs_Info4 { + const char *path; + const char *comment; + uint32 state; + uint32 timeout; + struct GUID guid; + uint32 num_stores; + struct dfs_StorageInfo *stores; +}; + +struct dfs_EnumArray4 { + uint32 count; + struct dfs_Info4 *s; +}; + +struct dfs_Info200 { + const char *dom_root; +}; + +struct dfs_EnumArray200 { + uint32 count; + struct dfs_Info200 *s; +}; + +struct dfs_Info300 { + uint32 flags; + const char *dom_root; +}; + +struct dfs_EnumArray300 { + uint32 count; + struct dfs_Info300 *s; +}; + union dfs_EnumInfo { /* [case(1)] */ struct dfs_EnumArray1 *info1; /* [case(2)] */ struct dfs_EnumArray2 *info2; /* [case(3)] */ struct dfs_EnumArray3 *info3; +/* [case(4)] */ struct dfs_EnumArray4 *info4; +/* [case(200)] */ struct dfs_EnumArray200 *info200; +/* [case(300)] */ struct dfs_EnumArray300 *info300; }; struct dfs_EnumStruct { |