Generated from Manticore v1.1.6 • 388 packages. View on pkg.go.dev

msdfsnm

import "github.com/TheManticoreProject/Manticore/windows/protocols/ms-dfsnm"

Index

type DFSM\_ROOT\_LIST

DFSM_ROOT_LIST models DFSM_ROOT_LIST ([MS-DFSNM] 2.2.3.5). Entry is an inline conformant array (IDL “DFSM_ROOT_LIST_ENTRY Entry[]” — embedded, not a pointer), so it is a plain conformant array with no referent id: its maximum_count is hoisted to the head of the structure.

type DFSM_ROOT_LIST struct {
    CEntries ndr.DWORD
    Entry    []DFSM_ROOT_LIST_ENTRY `ndr:"conformant,size_is=CEntries"`
}

type DFSM\_ROOT\_LIST\_ENTRY

DFSM_ROOT_LIST_ENTRY ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFSM_ROOT_LIST_ENTRY struct {
    ServerShare *ndr.WSTR `ndr:"unique"`
}

type DFS\_INFO\_1

DFS_INFO_1 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_1 struct {
    EntryPath *ndr.WSTR `ndr:"unique"`
}

type DFS\_INFO\_100

DFS_INFO_100 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_100 struct {
    Comment *ndr.WSTR `ndr:"unique"`
}

type DFS\_INFO\_101

DFS_INFO_101 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_101 struct {
    State ndr.DWORD
}

type DFS\_INFO\_102

DFS_INFO_102 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_102 struct {
    Timeout ndr.DWORD
}

type DFS\_INFO\_103

DFS_INFO_103 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_103 struct {
    PropertyFlagMask ndr.DWORD
    PropertyFlags    ndr.DWORD
}

type DFS\_INFO\_104

DFS_INFO_104 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_104 struct {
    TargetPriority DFS_TARGET_PRIORITY
}

type DFS\_INFO\_105

DFS_INFO_105 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_105 struct {
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    Timeout          ndr.DWORD
    PropertyFlagMask ndr.DWORD
    PropertyFlags    ndr.DWORD
}

type DFS\_INFO\_106

DFS_INFO_106 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_106 struct {
    State          ndr.DWORD
    TargetPriority DFS_TARGET_PRIORITY
}

type DFS\_INFO\_107

DFS_INFO_107 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_107 struct {
    Comment                  *ndr.WSTR `ndr:"unique"`
    State                    ndr.DWORD
    Timeout                  ndr.DWORD
    PropertyFlagMask         ndr.DWORD
    PropertyFlags            ndr.DWORD
    SecurityDescriptorLength ndr.DWORD
    PSecurityDescriptor      []uint8 `ndr:"unique,size_is=SecurityDescriptorLength"`
}

type DFS\_INFO\_150

DFS_INFO_150 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_150 struct {
    SecurityDescriptorLength ndr.DWORD
    PSecurityDescriptor      []uint8 `ndr:"unique,size_is=SecurityDescriptorLength"`
}

type DFS\_INFO\_1\_CONTAINER

DFS_INFO_1_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_1_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_1 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_2

DFS_INFO_2 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_2 struct {
    EntryPath        *ndr.WSTR `ndr:"unique"`
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    NumberOfStorages ndr.DWORD
}

type DFS\_INFO\_200

DFS_INFO_200 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_200 struct {
    FtDfsName *ndr.WSTR `ndr:"unique"`
}

type DFS\_INFO\_200\_CONTAINER

DFS_INFO_200_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_200_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_200 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_2\_CONTAINER

DFS_INFO_2_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_2_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_2 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_3

DFS_INFO_3 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_3 struct {
    EntryPath        *ndr.WSTR `ndr:"unique"`
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    NumberOfStorages ndr.DWORD
    Storage          []DFS_STORAGE_INFO `ndr:"unique,size_is=NumberOfStorages"`
}

type DFS\_INFO\_300

DFS_INFO_300 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_300 struct {
    Flags   ndr.DWORD
    DfsName *ndr.WSTR `ndr:"unique"`
}

type DFS\_INFO\_300\_CONTAINER

DFS_INFO_300_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_300_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_300 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_3\_CONTAINER

DFS_INFO_3_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_3_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_3 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_4

DFS_INFO_4 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_4 struct {
    EntryPath        *ndr.WSTR `ndr:"unique"`
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    Timeout          ndr.DWORD
    Guid             guid.GUID
    NumberOfStorages ndr.DWORD
    Storage          []DFS_STORAGE_INFO `ndr:"unique,size_is=NumberOfStorages"`
}

type DFS\_INFO\_4\_CONTAINER

DFS_INFO_4_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_4_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_4 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_5

DFS_INFO_5 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_5 struct {
    EntryPath        *ndr.WSTR `ndr:"unique"`
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    Timeout          ndr.DWORD
    Guid             guid.GUID
    PropertyFlags    ndr.DWORD
    MetadataSize     ndr.DWORD
    NumberOfStorages ndr.DWORD
}

type DFS\_INFO\_50

DFS_INFO_50 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_50 struct {
    NamespaceMajorVersion ndr.DWORD
    NamespaceMinorVersion ndr.DWORD
    NamespaceCapabilities uint64
}

type DFS\_INFO\_5\_CONTAINER

DFS_INFO_5_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_5_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_5 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_6

DFS_INFO_6 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_6 struct {
    EntryPath        *ndr.WSTR `ndr:"unique"`
    Comment          *ndr.WSTR `ndr:"unique"`
    State            ndr.DWORD
    Timeout          ndr.DWORD
    Guid             guid.GUID
    PropertyFlags    ndr.DWORD
    MetadataSize     ndr.DWORD
    NumberOfStorages ndr.DWORD
    Storage          []DFS_STORAGE_INFO_1 `ndr:"unique,size_is=NumberOfStorages"`
}

type DFS\_INFO\_6\_CONTAINER

DFS_INFO_6_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_6_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_6 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_7

DFS_INFO_7 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_7 struct {
    GenerationGuid guid.GUID
}

type DFS\_INFO\_8

DFS_INFO_8 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_8 struct {
    EntryPath                *ndr.WSTR `ndr:"unique"`
    Comment                  *ndr.WSTR `ndr:"unique"`
    State                    ndr.DWORD
    Timeout                  ndr.DWORD
    Guid                     guid.GUID
    PropertyFlags            ndr.DWORD
    MetadataSize             ndr.DWORD
    SecurityDescriptorLength ndr.DWORD
    PSecurityDescriptor      []uint8 `ndr:"unique,size_is=SecurityDescriptorLength"`
    NumberOfStorages         ndr.DWORD
}

type DFS\_INFO\_8\_CONTAINER

DFS_INFO_8_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_8_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_8 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_9

DFS_INFO_9 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_9 struct {
    EntryPath                *ndr.WSTR `ndr:"unique"`
    Comment                  *ndr.WSTR `ndr:"unique"`
    State                    ndr.DWORD
    Timeout                  ndr.DWORD
    Guid                     guid.GUID
    PropertyFlags            ndr.DWORD
    MetadataSize             ndr.DWORD
    SecurityDescriptorLength ndr.DWORD
    PSecurityDescriptor      []uint8 `ndr:"unique,size_is=SecurityDescriptorLength"`
    NumberOfStorages         ndr.DWORD
    Storage                  []DFS_STORAGE_INFO_1 `ndr:"unique,size_is=NumberOfStorages"`
}

type DFS\_INFO\_9\_CONTAINER

DFS_INFO_9_CONTAINER ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_9_CONTAINER struct {
    EntriesRead ndr.DWORD
    Buffer      []DFS_INFO_9 `ndr:"unique,size_is=EntriesRead"`
}

type DFS\_INFO\_ENUM\_STRUCT

DFS_INFO_ENUM_STRUCT ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_INFO_ENUM_STRUCT struct {
    Level            ndr.DWORD
    DfsInfoContainer DFS_INFO_ENUM_STRUCT_DfsInfoContainer
}

type DFS\_INFO\_ENUM\_STRUCT\_DfsInfoContainer

DFS_INFO_ENUM_STRUCT_DfsInfoContainer is a discriminated union ([MS-DFSNM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DFS_INFO_ENUM_STRUCT_DfsInfoContainer struct {
    Tag                 ndr.DWORD               `ndr:"switch"`
    DfsInfo1Container   *DFS_INFO_1_CONTAINER   `ndr:"case=1,unique"`
    DfsInfo2Container   *DFS_INFO_2_CONTAINER   `ndr:"case=2,unique"`
    DfsInfo3Container   *DFS_INFO_3_CONTAINER   `ndr:"case=3,unique"`
    DfsInfo4Container   *DFS_INFO_4_CONTAINER   `ndr:"case=4,unique"`
    DfsInfo5Container   *DFS_INFO_5_CONTAINER   `ndr:"case=5,unique"`
    DfsInfo6Container   *DFS_INFO_6_CONTAINER   `ndr:"case=6,unique"`
    DfsInfo8Container   *DFS_INFO_8_CONTAINER   `ndr:"case=8,unique"`
    DfsInfo9Container   *DFS_INFO_9_CONTAINER   `ndr:"case=9,unique"`
    DfsInfo200Container *DFS_INFO_200_CONTAINER `ndr:"case=200,unique"`
    DfsInfo300Container *DFS_INFO_300_CONTAINER `ndr:"case=300,unique"`
}

type DFS\_INFO\_STRUCT

DFS_INFO_STRUCT is a discriminated union ([MS-DFSNM]); the discriminant precedes the selected arm ([C706] 14.3.8). Generated by tools/idlgen — verify case values.

type DFS_INFO_STRUCT struct {
    Tag        ndr.DWORD     `ndr:"switch"`
    DfsInfo1   *DFS_INFO_1   `ndr:"case=1,unique"`
    DfsInfo2   *DFS_INFO_2   `ndr:"case=2,unique"`
    DfsInfo3   *DFS_INFO_3   `ndr:"case=3,unique"`
    DfsInfo4   *DFS_INFO_4   `ndr:"case=4,unique"`
    DfsInfo5   *DFS_INFO_5   `ndr:"case=5,unique"`
    DfsInfo6   *DFS_INFO_6   `ndr:"case=6,unique"`
    DfsInfo7   *DFS_INFO_7   `ndr:"case=7,unique"`
    DfsInfo8   *DFS_INFO_8   `ndr:"case=8,unique"`
    DfsInfo9   *DFS_INFO_9   `ndr:"case=9,unique"`
    DfsInfo50  *DFS_INFO_50  `ndr:"case=50,unique"`
    DfsInfo100 *DFS_INFO_100 `ndr:"case=100,unique"`
    DfsInfo101 *DFS_INFO_101 `ndr:"case=101,unique"`
    DfsInfo102 *DFS_INFO_102 `ndr:"case=102,unique"`
    DfsInfo103 *DFS_INFO_103 `ndr:"case=103,unique"`
    DfsInfo104 *DFS_INFO_104 `ndr:"case=104,unique"`
    DfsInfo105 *DFS_INFO_105 `ndr:"case=105,unique"`
    DfsInfo106 *DFS_INFO_106 `ndr:"case=106,unique"`
    DfsInfo107 *DFS_INFO_107 `ndr:"case=107,unique"`
    DfsInfo150 *DFS_INFO_150 `ndr:"case=150,unique"`
}

type DFS\_NAMESPACE\_VERSION\_ORIGIN

DFS_NAMESPACE_VERSION_ORIGIN is an NDR enum, transmitted as a 16-bit value ([C706] 14.3.6, [MS-DFSNM]).

type DFS_NAMESPACE_VERSION_ORIGIN uint16
const (
    DFS_NAMESPACE_VERSION_ORIGIN_COMBINED DFS_NAMESPACE_VERSION_ORIGIN = 0
    DFS_NAMESPACE_VERSION_ORIGIN_SERVER   DFS_NAMESPACE_VERSION_ORIGIN = 1
    DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN   DFS_NAMESPACE_VERSION_ORIGIN = 2
)

type DFS\_STORAGE\_INFO

DFS_STORAGE_INFO ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_STORAGE_INFO struct {
    State      ndr.DWORD
    ServerName *ndr.WSTR `ndr:"unique"`
    ShareName  *ndr.WSTR `ndr:"unique"`
}

type DFS\_STORAGE\_INFO\_1

DFS_STORAGE_INFO_1 ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_STORAGE_INFO_1 struct {
    State          ndr.DWORD
    ServerName     *ndr.WSTR `ndr:"unique"`
    ShareName      *ndr.WSTR `ndr:"unique"`
    TargetPriority DFS_TARGET_PRIORITY
}

type DFS\_SUPPORTED\_NAMESPACE\_VERSION\_INFO

DFS_SUPPORTED_NAMESPACE_VERSION_INFO ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_SUPPORTED_NAMESPACE_VERSION_INFO struct {
    DomainDfsMajorVersion     ndr.DWORD
    DomainDfsMinorVersion     ndr.DWORD
    DomainDfsCapabilities     uint64
    StandaloneDfsMajorVersion ndr.DWORD
    StandaloneDfsMinorVersion ndr.DWORD
    StandaloneDfsCapabilities uint64
}

type DFS\_TARGET\_PRIORITY

DFS_TARGET_PRIORITY ([MS-DFSNM]). Generated by tools/idlgen; verify pointer/array tags.

type DFS_TARGET_PRIORITY struct {
    TargetPriorityClass DFS_TARGET_PRIORITY_CLASS
    TargetPriorityRank  uint16
    Reserved            uint16
}

type DFS\_TARGET\_PRIORITY\_CLASS

DFS_TARGET_PRIORITY_CLASS is a [v1_enum] NDR enum ([MS-DFSNM] 2.2.2.4): [v1_enum] forces a 4-octet transmission (MS-RPCE 2.2.5.1), and the enumeration includes the negative value DfsInvalidPriorityClass (-1), so it is modeled as a signed int32.

type DFS_TARGET_PRIORITY_CLASS int32
const (
    DfsInvalidPriorityClass        DFS_TARGET_PRIORITY_CLASS = -1
    DfsSiteCostNormalPriorityClass DFS_TARGET_PRIORITY_CLASS = 0
    DfsGlobalHighPriorityClass     DFS_TARGET_PRIORITY_CLASS = 1
    DfsSiteCostHighPriorityClass   DFS_TARGET_PRIORITY_CLASS = 2
    DfsSiteCostLowPriorityClass    DFS_TARGET_PRIORITY_CLASS = 3
    DfsGlobalLowPriorityClass      DFS_TARGET_PRIORITY_CLASS = 4
)

type NET\_API\_STATUS

NET_API_STATUS is a scalar typedef ([MS-DFSNM]).

type NET_API_STATUS ndr.DWORD