1 /* autogenerated by pidl */
4 This filter was automatically generated
5 from samr.idl and samr.cnf.
7 Pidl is a perl based IDL compiler for DCE/RPC idl files.
8 It is maintained by the Samba team, not the Wireshark team.
9 Instructions on how to download and install Pidl can be
10 found at http://wiki.wireshark.org/Pidl
16 #ifndef __PACKET_DCERPC_SAMR_H
17 #define __PACKET_DCERPC_SAMR_H
19 #define SAMR_ACCESS_ALL_ACCESS ( 0x0000003F )
21 #define GENERIC_RIGHTS_SAM_ALL_ACCESS ( (STANDARD_RIGHTS_REQUIRED_ACCESS|SAMR_ACCESS_ALL_ACCESS) )
23 #define GENERIC_RIGHTS_SAM_READ ( (STANDARD_RIGHTS_READ_ACCESS|SAMR_ACCESS_ENUM_DOMAINS) )
25 #define GENERIC_RIGHTS_SAM_WRITE ( (STANDARD_RIGHTS_WRITE_ACCESS|SAMR_ACCESS_CREATE_DOMAIN|SAMR_ACCESS_INITIALIZE_SERVER|SAMR_ACCESS_SHUTDOWN_SERVER) )
27 #define GENERIC_RIGHTS_SAM_EXECUTE ( (STANDARD_RIGHTS_EXECUTE_ACCESS|SAMR_ACCESS_LOOKUP_DOMAIN|SAMR_ACCESS_CONNECT_TO_SERVER) )
29 #define SAMR_GROUP_ACCESS_MASK_INVALID ( 0x0000ffe0 )
31 #define SAMR_GROUP_ACCESS_ALL_ACCESS ( 0x000f001f )
33 #define SAMR_GROUP_ACCESS_ALL_READ ( 0x00020010 )
35 #define SAMR_GROUP_ACCESS_ALL_WRITE ( 0x0002000e )
37 #define SAMR_GROUP_ACCESS_ALL_EXECUTE ( 0x00020001 )
39 #define SAMR_ENUM_USERS_MULTIPLIER ( 54 )
41 #define PASS_MUST_CHANGE_AT_NEXT_LOGON ( 0x01 )
43 #define PASS_DONT_CHANGE_AT_NEXT_LOGON ( 0x00 )
45 int samr_dissect_struct_lsa_Strings(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
46 #define SID_NAME_USE_NONE (0)
47 #define SID_NAME_USER (1)
48 #define SID_NAME_DOM_GRP (2)
49 #define SID_NAME_DOMAIN (3)
50 #define SID_NAME_ALIAS (4)
51 #define SID_NAME_WKN_GRP (5)
52 #define SID_NAME_DELETED (6)
53 #define SID_NAME_INVALID (7)
54 #define SID_NAME_UNKNOWN (8)
55 #define SID_NAME_COMPUTER (9)
56 extern const value_string samr_lsa_SidType_vals
[];
57 int samr_dissect_enum_lsa_SidType(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
58 #define SAMR_REJECT_OTHER (0)
59 #define SAMR_REJECT_TOO_SHORT (1)
60 #define SAMR_REJECT_IN_HISTORY (2)
61 #define SAMR_REJECT_COMPLEXITY (5)
62 extern const value_string samr_samr_RejectReason_vals
[];
63 int samr_dissect_enum_RejectReason(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
64 int samr_dissect_bitmap_AcctFlags(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
65 int samr_dissect_bitmap_ConnectAccessMask(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
66 int samr_dissect_bitmap_UserAccessMask(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
67 int samr_dissect_bitmap_DomainAccessMask(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
68 int samr_dissect_bitmap_GroupAccessMask(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
69 int samr_dissect_bitmap_AliasAccessMask(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
70 int samr_dissect_struct_SamEntry(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
71 int samr_dissect_struct_SamArray(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
*di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
72 #define DomainPasswordInformation (1)
73 #define DomainGeneralInformation (2)
74 #define DomainLogoffInformation (3)
75 #define DomainOemInformation (4)
76 #define DomainNameInformation (5)
77 #define DomainReplicationInformation (6)
78 #define DomainServerRoleInformation (7)
79 #define DomainModifiedInformation (8)
80 #define DomainStateInformation (9)
81 #define DomainUasInformation (10)
82 #define DomainGeneralInformation2 (11)
83 #define DomainLockoutInformation (12)
84 #define DomainModifiedInformation2 (13)
85 extern const value_string samr_samr_DomainInfoClass_vals
[];
86 int samr_dissect_enum_DomainInfoClass(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
87 #define SAMR_ROLE_STANDALONE (0)
88 #define SAMR_ROLE_DOMAIN_MEMBER (1)
89 #define SAMR_ROLE_DOMAIN_BDC (2)
90 #define SAMR_ROLE_DOMAIN_PDC (3)
91 extern const value_string samr_samr_Role_vals
[];
92 int samr_dissect_enum_Role(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
93 int samr_dissect_bitmap_PasswordProperties(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
94 #define DOMAIN_SERVER_ENABLED (1)
95 #define DOMAIN_SERVER_DISABLED (2)
96 extern const value_string samr_samr_DomainServerState_vals
[];
97 int samr_dissect_enum_DomainServerState(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
98 int samr_dissect_struct_DomInfo1(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
99 int samr_dissect_struct_DomGeneralInformation(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
100 int samr_dissect_struct_DomInfo3(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
101 int samr_dissect_struct_DomOEMInformation(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
102 int samr_dissect_struct_DomInfo5(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
103 int samr_dissect_struct_DomInfo6(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
104 int samr_dissect_struct_DomInfo7(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
105 int samr_dissect_struct_DomInfo8(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
106 int samr_dissect_struct_DomInfo9(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
107 int samr_dissect_struct_DomGeneralInformation2(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
108 int samr_dissect_struct_DomInfo12(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
109 int samr_dissect_struct_DomInfo13(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
110 int samr_dissect_struct_Ids(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
111 int samr_dissect_bitmap_GroupAttrs(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
112 int samr_dissect_struct_GroupInfoAll(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
113 int samr_dissect_struct_GroupInfoAttributes(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
114 int samr_dissect_struct_GroupInfoDescription(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
115 #define GROUPINFOALL (1)
116 #define GROUPINFONAME (2)
117 #define GROUPINFOATTRIBUTES (3)
118 #define GROUPINFODESCRIPTION (4)
119 #define GROUPINFOALL2 (5)
120 extern const value_string samr_samr_GroupInfoEnum_vals
[];
121 int samr_dissect_enum_GroupInfoEnum(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
122 int samr_dissect_struct_RidTypeArray(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
123 int samr_dissect_struct_AliasInfoAll(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
124 #define ALIASINFOALL (1)
125 #define ALIASINFONAME (2)
126 #define ALIASINFODESCRIPTION (3)
127 extern const value_string samr_samr_AliasInfoEnum_vals
[];
128 int samr_dissect_enum_AliasInfoEnum(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
129 #define UserGeneralInformation (1)
130 #define UserPreferencesInformation (2)
131 #define UserLogonInformation (3)
132 #define UserLogonHoursInformation (4)
133 #define UserAccountInformation (5)
134 #define UserNameInformation (6)
135 #define UserAccountNameInformation (7)
136 #define UserFullNameInformation (8)
137 #define UserPrimaryGroupInformation (9)
138 #define UserHomeInformation (10)
139 #define UserScriptInformation (11)
140 #define UserProfileInformation (12)
141 #define UserAdminCommentInformation (13)
142 #define UserWorkStationsInformation (14)
143 #define UserControlInformation (16)
144 #define UserExpiresInformation (17)
145 #define UserInternal1Information (18)
146 #define UserParametersInformation (20)
147 #define UserAllInformation (21)
148 #define UserInternal4Information (23)
149 #define UserInternal5Information (24)
150 #define UserInternal4InformationNew (25)
151 #define UserInternal5InformationNew (26)
152 extern const value_string samr_samr_UserInfoLevel_vals
[];
153 int samr_dissect_enum_UserInfoLevel(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
154 int samr_dissect_struct_UserInfo1(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
155 int samr_dissect_struct_UserInfo2(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
156 int samr_dissect_struct_LogonHours(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
157 int samr_dissect_struct_UserInfo3(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
158 int samr_dissect_struct_UserInfo4(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
159 int samr_dissect_struct_UserInfo5(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
160 int samr_dissect_struct_UserInfo6(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
161 int samr_dissect_struct_UserInfo7(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
162 int samr_dissect_struct_UserInfo8(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
163 int samr_dissect_struct_UserInfo9(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
164 int samr_dissect_struct_UserInfo10(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
165 int samr_dissect_struct_UserInfo11(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
166 int samr_dissect_struct_UserInfo12(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
167 int samr_dissect_struct_UserInfo13(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
168 int samr_dissect_struct_UserInfo14(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
169 int samr_dissect_struct_UserInfo16(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
170 int samr_dissect_struct_UserInfo17(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
171 int samr_dissect_struct_Password(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
172 int samr_dissect_struct_UserInfo18(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
173 int samr_dissect_struct_UserInfo20(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
174 int samr_dissect_bitmap_FieldsPresent(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
175 int samr_dissect_struct_UserInfo21(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
176 int samr_dissect_struct_CryptPassword(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
177 int samr_dissect_struct_UserInfo23(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
178 int samr_dissect_struct_UserInfo24(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
179 int samr_dissect_struct_CryptPasswordEx(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
180 int samr_dissect_struct_UserInfo25(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
181 int samr_dissect_struct_UserInfo26(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
182 int samr_dissect_struct_RidWithAttribute(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
183 int samr_dissect_struct_RidWithAttributeArray(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
184 int samr_dissect_struct_DispEntryGeneral(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
185 int samr_dissect_struct_DispInfoGeneral(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
186 int samr_dissect_struct_DispEntryFull(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
187 int samr_dissect_struct_DispInfoFull(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
188 int samr_dissect_struct_DispEntryFullGroup(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
189 int samr_dissect_struct_DispInfoFullGroups(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
190 int samr_dissect_struct_DispEntryAscii(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
191 int samr_dissect_struct_DispInfoAscii(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
192 #define SAMR_DOMAIN_DISPLAY_USER (1)
193 #define SAMR_DOMAIN_DISPLAY_MACHINE (2)
194 #define SAMR_DOMAIN_DISPLAY_GROUP (3)
195 #define SAMR_DOMAIN_DISPLAY_OEM_USER (4)
196 #define SAMR_DOMAIN_DISPLAY_OEM_GROUP (5)
197 extern const value_string samr_samr_DomainDisplayInformation_vals
[];
198 int samr_dissect_enum_DomainDisplayInformation(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
199 int samr_dissect_struct_PwInfo(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
200 #define SAMR_CONNECT_PRE_W2K (1)
201 #define SAMR_CONNECT_W2K (2)
202 #define SAMR_CONNECT_AFTER_W2K (3)
203 extern const value_string samr_samr_ConnectVersion_vals
[];
204 int samr_dissect_enum_ConnectVersion(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
205 int samr_dissect_struct_ChangeReject(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
206 int samr_dissect_struct_ConnectInfo1(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
207 int samr_dissect_bitmap_ValidateFieldsPresent(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
208 #define NetValidateAuthentication (1)
209 #define NetValidatePasswordChange (2)
210 #define NetValidatePasswordReset (3)
211 extern const value_string samr_samr_ValidatePasswordLevel_vals
[];
212 int samr_dissect_enum_ValidatePasswordLevel(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
213 #define SAMR_VALIDATION_STATUS_SUCCESS (0)
214 #define SAMR_VALIDATION_STATUS_PASSWORD_MUST_CHANGE (1)
215 #define SAMR_VALIDATION_STATUS_ACCOUNT_LOCKED_OUT (2)
216 #define SAMR_VALIDATION_STATUS_PASSWORD_EXPIRED (3)
217 #define SAMR_VALIDATION_STATUS_BAD_PASSWORD (4)
218 #define SAMR_VALIDATION_STATUS_PWD_HISTORY_CONFLICT (5)
219 #define SAMR_VALIDATION_STATUS_PWD_TOO_SHORT (6)
220 #define SAMR_VALIDATION_STATUS_PWD_TOO_LONG (7)
221 #define SAMR_VALIDATION_STATUS_NOT_COMPLEX_ENOUGH (8)
222 #define SAMR_VALIDATION_STATUS_PASSWORD_TOO_RECENT (9)
223 #define SAMR_VALIDATION_STATUS_PASSWORD_FILTER_ERROR (10)
224 extern const value_string samr_samr_ValidationStatus_vals
[];
225 int samr_dissect_enum_ValidationStatus(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32
*param _U_
);
226 int samr_dissect_struct_ValidationBlob(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
227 int samr_dissect_struct_ValidatePasswordInfo(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
228 int samr_dissect_struct_ValidatePasswordRepCtr(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
229 int samr_dissect_struct_ValidatePasswordReq3(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
230 int samr_dissect_struct_ValidatePasswordReq2(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
231 int samr_dissect_struct_ValidatePasswordReq1(tvbuff_t
*tvb _U_
, int offset _U_
, packet_info
*pinfo _U_
, proto_tree
*parent_tree _U_
, dcerpc_info
* di _U_
, guint8
*drep _U_
, int hf_index _U_
, guint32 param _U_
);
232 #endif /* __PACKET_DCERPC_SAMR_H */