Make sure some variables are initialized.
[metze/wireshark/wip.git] / epan / dissectors / packet-dcerpc-drsuapi.c
1 /* DO NOT EDIT
2  * This dissector is autogenerated
3  * (XXX - Is this true?)
4  */
5
6 /* packet-dcerpc-drsuapi.c
7  * Routines for DRSUAPI packet disassembly
8  *   ronnie sahlberg 2005
9  *
10  * $Id$
11  *
12  * Wireshark - Network traffic analyzer
13  * By Gerald Combs <gerald@wireshark.org>
14  * Copyright 1998 Gerald Combs
15  *
16  * This program is free software; you can redistribute it and/or
17  * modify it under the terms of the GNU General Public License
18  * as published by the Free Software Foundation; either version 2
19  * of the License, or (at your option) any later version.
20  *
21  * This program is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24  * GNU General Public License for more details.
25  *
26  * You should have received a copy of the GNU General Public License
27  * along with this program; if not, write to the Free Software
28  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
29  */
30
31 #ifdef HAVE_CONFIG_H
32 #include "config.h"
33 #endif
34
35 #include <glib.h>
36 #include <string.h>
37
38 #include <epan/packet.h>
39 #include "packet-dcerpc.h"
40 #include "packet-dcerpc-nt.h"
41 #include "packet-windows-common.h"
42 #include "packet-dcerpc-drsuapi.h"
43
44 static int proto_drsuapi = -1;
45 static int hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn = -1;
46
47
48 /* INCLUDED FILE : ETH_HF */
49 static int hf_drsuapi_opnum = -1;
50 static int hf_drsuapi_rc = -1;
51 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE = -1;
52 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION = -1;
53 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI = -1;
54 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 = -1;
55 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS = -1;
56 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 = -1;
57 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION = -1;
58 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080 = -1;
59 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE = -1;
60 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 = -1;
61 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION = -1;
62 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 = -1;
63 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD = -1;
64 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND = -1;
65 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO = -1;
66 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION = -1;
67 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 = -1;
68 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP = -1;
69 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY = -1;
70 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 = -1;
71 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000 = -1;
72 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 = -1;
73 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 = -1;
74 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS = -1;
75 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 = -1;
76 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 = -1;
77 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 = -1;
78 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 = -1;
79 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 = -1;
80 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT = -1;
81 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS = -1;
82 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000 = -1;
83 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000 = -1;
84 static int hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000 = -1;
85 static int hf_drsuapi_DsBindInfo24_supported_extensions = -1;
86 static int hf_drsuapi_DsBindInfo24_site_guid = -1;
87 static int hf_drsuapi_DsBindInfo24_u1 = -1;
88 static int hf_drsuapi_DsBindInfo28_supported_extensions = -1;
89 static int hf_drsuapi_DsBindInfo28_site_guid = -1;
90 static int hf_drsuapi_DsBindInfo28_u1 = -1;
91 static int hf_drsuapi_DsBindInfo28_repl_epoch = -1;
92 static int hf_drsuapi_DsBindInfo_24_info24 = -1;
93 static int hf_drsuapi_DsBindInfo_28_info28 = -1;
94 static int hf_drsuapi_DsBindInfoCtr_length = -1;
95 static int hf_drsuapi_DsBindInfoCtr_info = -1;
96 static int hf_drsuapi_DsBind_bind_guid = -1;
97 static int hf_drsuapi_DsBind_bind_info = -1;
98 static int hf_drsuapi_DsBind_bind_handle = -1;
99 static int hf_drsuapi_DsUnbind_bind_handle = -1;
100 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown1 = -1;
101 static int hf_drsuapi_DsReplicaSyncRequest1Info_unknown2 = -1;
102 static int hf_drsuapi_DsReplicaSyncRequest1Info_guid1 = -1;
103 static int hf_drsuapi_DsReplicaSyncRequest1Info_byte_array = -1;
104 static int hf_drsuapi_DsReplicaSyncRequest1Info_str_len = -1;
105 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION = -1;
106 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE = -1;
107 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC = -1;
108 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING = -1;
109 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES = -1;
110 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL = -1;
111 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT = -1;
112 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD = -1;
113 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE = -1;
114 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE = -1;
115 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED = -1;
116 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY = -1;
117 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY = -1;
118 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL = -1;
119 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION = -1;
120 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED = -1;
121 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS = -1;
122 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET = -1;
123 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE = -1;
124 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION = -1;
125 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA = -1;
126 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL = -1;
127 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS = -1;
128 static int hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED = -1;
129 static int hf_drsuapi_DsReplicaSyncRequest1_info = -1;
130 static int hf_drsuapi_DsReplicaSyncRequest1_guid1 = -1;
131 static int hf_drsuapi_DsReplicaSyncRequest1_string1 = -1;
132 static int hf_drsuapi_DsReplicaSyncRequest1_options = -1;
133 static int hf_drsuapi_DsReplicaSyncRequest_1_req1 = -1;
134 static int hf_drsuapi_DsReplicaSync_bind_handle = -1;
135 static int hf_drsuapi_DsReplicaSync_level = -1;
136 static int hf_drsuapi_DsReplicaSync_req = -1;
137 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn1 = -1;
138 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn2 = -1;
139 static int hf_drsuapi_DsGetNCChangesUsnTriple_usn3 = -1;
140 static int hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id = -1;
141 static int hf_drsuapi_DsReplicaCoursor_highest_usn = -1;
142 static int hf_drsuapi_DsReplicaCoursor05Ctr_u1 = -1;
143 static int hf_drsuapi_DsReplicaCoursor05Ctr_u2 = -1;
144 static int hf_drsuapi_DsReplicaCoursor05Ctr_count = -1;
145 static int hf_drsuapi_DsReplicaCoursor05Ctr_u3 = -1;
146 static int hf_drsuapi_DsReplicaCoursor05Ctr_array = -1;
147 static int hf_drsuapi_DsGetNCChangesRequest5_guid1 = -1;
148 static int hf_drsuapi_DsGetNCChangesRequest5_guid2 = -1;
149 static int hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1 = -1;
150 static int hf_drsuapi_DsGetNCChangesRequest5_usn1 = -1;
151 static int hf_drsuapi_DsGetNCChangesRequest5_coursor = -1;
152 static int hf_drsuapi_DsGetNCChangesRequest5_unknown1 = -1;
153 static int hf_drsuapi_DsGetNCChangesRequest5_unknown2 = -1;
154 static int hf_drsuapi_DsGetNCChangesRequest5_unknown3 = -1;
155 static int hf_drsuapi_DsGetNCChangesRequest5_unknown4 = -1;
156 static int hf_drsuapi_DsGetNCChangesRequest5_h1 = -1;
157 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_length = -1;
158 static int hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array = -1;
159 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1 = -1;
160 static int hf_drsuapi_DsGetNCChangesRequest_Ctr13_data = -1;
161 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_count = -1;
162 static int hf_drsuapi_DsGetNCChangesRequest_Ctr12_array = -1;
163 static int hf_drsuapi_DsGetNCChangesRequest8_guid1 = -1;
164 static int hf_drsuapi_DsGetNCChangesRequest8_guid2 = -1;
165 static int hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1 = -1;
166 static int hf_drsuapi_DsGetNCChangesRequest8_usn1 = -1;
167 static int hf_drsuapi_DsGetNCChangesRequest8_coursor = -1;
168 static int hf_drsuapi_DsGetNCChangesRequest8_unknown1 = -1;
169 static int hf_drsuapi_DsGetNCChangesRequest8_unknown2 = -1;
170 static int hf_drsuapi_DsGetNCChangesRequest8_unknown3 = -1;
171 static int hf_drsuapi_DsGetNCChangesRequest8_unknown4 = -1;
172 static int hf_drsuapi_DsGetNCChangesRequest8_h1 = -1;
173 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1 = -1;
174 static int hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2 = -1;
175 static int hf_drsuapi_DsGetNCChangesRequest8_ctr12 = -1;
176 static int hf_drsuapi_DsGetNCChangesRequest_5_req5 = -1;
177 static int hf_drsuapi_DsGetNCChangesRequest_8_req8 = -1;
178 static int hf_drsuapi_DsReplicaCoursorEx_coursor = -1;
179 static int hf_drsuapi_DsReplicaCoursorEx_time1 = -1;
180 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u1 = -1;
181 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u2 = -1;
182 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_count = -1;
183 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_u3 = -1;
184 static int hf_drsuapi_DsReplicaCoursorEx05Ctr_array = -1;
185 static int hf_drsuapi_DsGetNCChangesCtr6_guid1 = -1;
186 static int hf_drsuapi_DsGetNCChangesCtr6_guid2 = -1;
187 static int hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1 = -1;
188 static int hf_drsuapi_DsGetNCChangesCtr6_usn1 = -1;
189 static int hf_drsuapi_DsGetNCChangesCtr6_usn2 = -1;
190 static int hf_drsuapi_DsGetNCChangesCtr6_coursor_ex = -1;
191 static int hf_drsuapi_DsGetNCChangesCtr6_ctr12 = -1;
192 static int hf_drsuapi_DsGetNCChangesCtr6_u1 = -1;
193 static int hf_drsuapi_DsGetNCChangesCtr6_ptr1 = -1;
194 static int hf_drsuapi_DsGetNCChangesCtr6_u2 = -1;
195 static int hf_drsuapi_DsGetNCChangesCtr6_len1 = -1;
196 static int hf_drsuapi_DsGetNCChangesCtr6_array_ptr1 = -1;
197 static int hf_drsuapi_DsGetNCChangesCtr6_u3 = -1;
198 static int hf_drsuapi_DsGetNCChangesCtr_6_ctr6 = -1;
199 static int hf_drsuapi_DsGetNCChangesCtr_7_ctr7 = -1;
200 static int hf_drsuapi_DsGetNCChanges_bind_handle = -1;
201 static int hf_drsuapi_DsGetNCChanges_level = -1;
202 static int hf_drsuapi_DsGetNCChanges_req = -1;
203 static int hf_drsuapi_DsGetNCChanges_ctr = -1;
204 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION = -1;
205 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE = -1;
206 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE = -1;
207 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE = -1;
208 static int hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010 = -1;
209 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1 = -1;
210 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2 = -1;
211 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid = -1;
212 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_options = -1;
213 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1 = -1;
214 static int hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name = -1;
215 static int hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1 = -1;
216 static int hf_drsuapi_DsReplicaUpdateRefs_bind_handle = -1;
217 static int hf_drsuapi_DsReplicaUpdateRefs_level = -1;
218 static int hf_drsuapi_DsReplicaUpdateRefs_req = -1;
219 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION = -1;
220 static int hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE = -1;
221 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION = -1;
222 static int hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE = -1;
223 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION = -1;
224 static int hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE = -1;
225 static int hf_drsuapi_DsNameString_str = -1;
226 static int hf_drsuapi_DsNameRequest1_unknown1 = -1;
227 static int hf_drsuapi_DsNameRequest1_unknown2 = -1;
228 static int hf_drsuapi_DsNameRequest1_format_flags = -1;
229 static int hf_drsuapi_DsNameRequest1_format_offered = -1;
230 static int hf_drsuapi_DsNameRequest1_format_desired = -1;
231 static int hf_drsuapi_DsNameRequest1_count = -1;
232 static int hf_drsuapi_DsNameRequest1_names = -1;
233 static int hf_drsuapi_DsNameRequest_1_req1 = -1;
234 static int hf_drsuapi_DsNameInfo1_status = -1;
235 static int hf_drsuapi_DsNameInfo1_dns_domain_name = -1;
236 static int hf_drsuapi_DsNameInfo1_result_name = -1;
237 static int hf_drsuapi_DsNameCtr1_count = -1;
238 static int hf_drsuapi_DsNameCtr1_array = -1;
239 static int hf_drsuapi_DsNameCtr_1_ctr1 = -1;
240 static int hf_drsuapi_DsCrackNames_bind_handle = -1;
241 static int hf_drsuapi_DsCrackNames_level = -1;
242 static int hf_drsuapi_DsCrackNames_req = -1;
243 static int hf_drsuapi_DsCrackNames_ctr = -1;
244 static int hf_drsuapi_DsWriteAccountSpnRequest1_operation = -1;
245 static int hf_drsuapi_DsWriteAccountSpnRequest1_unknown1 = -1;
246 static int hf_drsuapi_DsWriteAccountSpnRequest1_object_dn = -1;
247 static int hf_drsuapi_DsWriteAccountSpnRequest1_count = -1;
248 static int hf_drsuapi_DsWriteAccountSpnRequest1_spn_names = -1;
249 static int hf_drsuapi_DsWriteAccountSpnRequest_1_req1 = -1;
250 static int hf_drsuapi_DsWriteAccountSpnResult1_status = -1;
251 static int hf_drsuapi_DsWriteAccountSpnResult_1_res1 = -1;
252 static int hf_drsuapi_DsWriteAccountSpn_bind_handle = -1;
253 static int hf_drsuapi_DsWriteAccountSpn_level = -1;
254 static int hf_drsuapi_DsWriteAccountSpn_req = -1;
255 static int hf_drsuapi_DsWriteAccountSpn_res = -1;
256 static int hf_drsuapi_DsGetDCInfoRequest1_domain_name = -1;
257 static int hf_drsuapi_DsGetDCInfoRequest1_level = -1;
258 static int hf_drsuapi_DsGetDCInfoRequest_1_req1 = -1;
259 static int hf_drsuapi_DsGetDCInfo1_netbios_name = -1;
260 static int hf_drsuapi_DsGetDCInfo1_dns_name = -1;
261 static int hf_drsuapi_DsGetDCInfo1_site_name = -1;
262 static int hf_drsuapi_DsGetDCInfo1_computer_dn = -1;
263 static int hf_drsuapi_DsGetDCInfo1_server_dn = -1;
264 static int hf_drsuapi_DsGetDCInfo1_is_pdc = -1;
265 static int hf_drsuapi_DsGetDCInfo1_is_enabled = -1;
266 static int hf_drsuapi_DsGetDCInfoCtr1_count = -1;
267 static int hf_drsuapi_DsGetDCInfoCtr1_array = -1;
268 static int hf_drsuapi_DsGetDCInfo2_netbios_name = -1;
269 static int hf_drsuapi_DsGetDCInfo2_dns_name = -1;
270 static int hf_drsuapi_DsGetDCInfo2_site_name = -1;
271 static int hf_drsuapi_DsGetDCInfo2_site_dn = -1;
272 static int hf_drsuapi_DsGetDCInfo2_computer_dn = -1;
273 static int hf_drsuapi_DsGetDCInfo2_server_dn = -1;
274 static int hf_drsuapi_DsGetDCInfo2_ntds_dn = -1;
275 static int hf_drsuapi_DsGetDCInfo2_is_pdc = -1;
276 static int hf_drsuapi_DsGetDCInfo2_is_enabled = -1;
277 static int hf_drsuapi_DsGetDCInfo2_is_gc = -1;
278 static int hf_drsuapi_DsGetDCInfo2_site_guid = -1;
279 static int hf_drsuapi_DsGetDCInfo2_computer_guid = -1;
280 static int hf_drsuapi_DsGetDCInfo2_server_guid = -1;
281 static int hf_drsuapi_DsGetDCInfo2_ntds_guid = -1;
282 static int hf_drsuapi_DsGetDCInfoCtr2_count = -1;
283 static int hf_drsuapi_DsGetDCInfoCtr2_array = -1;
284 static int hf_drsuapi_DsGetDCInfo01_unknown1 = -1;
285 static int hf_drsuapi_DsGetDCInfo01_unknown2 = -1;
286 static int hf_drsuapi_DsGetDCInfo01_unknown3 = -1;
287 static int hf_drsuapi_DsGetDCInfo01_unknown4 = -1;
288 static int hf_drsuapi_DsGetDCInfo01_unknown5 = -1;
289 static int hf_drsuapi_DsGetDCInfo01_unknown6 = -1;
290 static int hf_drsuapi_DsGetDCInfo01_server_nt4_account = -1;
291 static int hf_drsuapi_DsGetDCInfoCtr01_count = -1;
292 static int hf_drsuapi_DsGetDCInfoCtr01_array = -1;
293 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1 = -1;
294 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2 = -1;
295 static int hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01 = -1;
296 static int hf_drsuapi_DsGetDomainControllerInfo_bind_handle = -1;
297 static int hf_drsuapi_DsGetDomainControllerInfo_level = -1;
298 static int hf_drsuapi_DsGetDomainControllerInfo_req = -1;
299 static int hf_drsuapi_DsGetDomainControllerInfo_ctr = -1;
300 static int hf_drsuapi_DsReplicaGetInfoRequest1_info_type = -1;
301 static int hf_drsuapi_DsReplicaGetInfoRequest1_object_dn = -1;
302 static int hf_drsuapi_DsReplicaGetInfoRequest1_guid1 = -1;
303 static int hf_drsuapi_DsReplicaGetInfoRequest2_info_type = -1;
304 static int hf_drsuapi_DsReplicaGetInfoRequest2_object_dn = -1;
305 static int hf_drsuapi_DsReplicaGetInfoRequest2_guid1 = -1;
306 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown1 = -1;
307 static int hf_drsuapi_DsReplicaGetInfoRequest2_string1 = -1;
308 static int hf_drsuapi_DsReplicaGetInfoRequest2_string2 = -1;
309 static int hf_drsuapi_DsReplicaGetInfoRequest2_unknown2 = -1;
310 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1 = -1;
311 static int hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2 = -1;
312 static int hf_drsuapi_DsReplicaNeighbour_naming_context_dn = -1;
313 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn = -1;
314 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_address = -1;
315 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_dn = -1;
316 static int hf_drsuapi_DsReplicaNeighbour_replica_flags = -1;
317 static int hf_drsuapi_DsReplicaNeighbour_reserved = -1;
318 static int hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid = -1;
319 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid = -1;
320 static int hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id = -1;
321 static int hf_drsuapi_DsReplicaNeighbour_transport_obj_guid = -1;
322 static int hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn = -1;
323 static int hf_drsuapi_DsReplicaNeighbour_highest_usn = -1;
324 static int hf_drsuapi_DsReplicaNeighbour_last_success = -1;
325 static int hf_drsuapi_DsReplicaNeighbour_last_attempt = -1;
326 static int hf_drsuapi_DsReplicaNeighbour_result_last_attempt = -1;
327 static int hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures = -1;
328 static int hf_drsuapi_DsReplicaNeighbourCtr_count = -1;
329 static int hf_drsuapi_DsReplicaNeighbourCtr_reserved = -1;
330 static int hf_drsuapi_DsReplicaNeighbourCtr_array = -1;
331 static int hf_drsuapi_DsReplicaCoursorCtr_count = -1;
332 static int hf_drsuapi_DsReplicaCoursorCtr_reserved = -1;
333 static int hf_drsuapi_DsReplicaCoursorCtr_array = -1;
334 static int hf_drsuapi_DsReplicaObjMetaData_attribute_name = -1;
335 static int hf_drsuapi_DsReplicaObjMetaData_version = -1;
336 static int hf_drsuapi_DsReplicaObjMetaData_originating_last_changed = -1;
337 static int hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id = -1;
338 static int hf_drsuapi_DsReplicaObjMetaData_originating_usn = -1;
339 static int hf_drsuapi_DsReplicaObjMetaData_local_usn = -1;
340 static int hf_drsuapi_DsReplicaObjMetaDataCtr_count = -1;
341 static int hf_drsuapi_DsReplicaObjMetaDataCtr_reserved = -1;
342 static int hf_drsuapi_DsReplicaObjMetaDataCtr_array = -1;
343 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn = -1;
344 static int hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid = -1;
345 static int hf_drsuapi_DsReplicaKccDsaFailure_first_failure = -1;
346 static int hf_drsuapi_DsReplicaKccDsaFailure_num_failures = -1;
347 static int hf_drsuapi_DsReplicaKccDsaFailure_last_result = -1;
348 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_count = -1;
349 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved = -1;
350 static int hf_drsuapi_DsReplicaKccDsaFailuresCtr_array = -1;
351 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync = -1;
352 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add = -1;
353 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete = -1;
354 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify = -1;
355 static int hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs = -1;
356 static int hf_drsuapi_DsRplicaOpOptions_default_unknown = -1;
357 static int hf_drsuapi_DsReplicaOp_operation_start = -1;
358 static int hf_drsuapi_DsReplicaOp_serial_num = -1;
359 static int hf_drsuapi_DsReplicaOp_priority = -1;
360 static int hf_drsuapi_DsReplicaOp_operation_type = -1;
361 static int hf_drsuapi_DsReplicaOp_options = -1;
362 static int hf_drsuapi_DsReplicaOp_nc_dn = -1;
363 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn = -1;
364 static int hf_drsuapi_DsReplicaOp_remote_dsa_address = -1;
365 static int hf_drsuapi_DsReplicaOp_nc_obj_guid = -1;
366 static int hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid = -1;
367 static int hf_drsuapi_DsReplicaOpCtr_time = -1;
368 static int hf_drsuapi_DsReplicaOpCtr_count = -1;
369 static int hf_drsuapi_DsReplicaOpCtr_array = -1;
370 static int hf_drsuapi_DsReplicaAttrValMetaData_attribute_name = -1;
371 static int hf_drsuapi_DsReplicaAttrValMetaData_object_dn = -1;
372 static int hf_drsuapi_DsReplicaAttrValMetaData_value_length = -1;
373 static int hf_drsuapi_DsReplicaAttrValMetaData_value = -1;
374 static int hf_drsuapi_DsReplicaAttrValMetaData_deleted = -1;
375 static int hf_drsuapi_DsReplicaAttrValMetaData_created = -1;
376 static int hf_drsuapi_DsReplicaAttrValMetaData_version = -1;
377 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed = -1;
378 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id = -1;
379 static int hf_drsuapi_DsReplicaAttrValMetaData_originating_usn = -1;
380 static int hf_drsuapi_DsReplicaAttrValMetaData_local_usn = -1;
381 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_count = -1;
382 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context = -1;
383 static int hf_drsuapi_DsReplicaAttrValMetaDataCtr_array = -1;
384 static int hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id = -1;
385 static int hf_drsuapi_DsReplicaCoursor2_highest_usn = -1;
386 static int hf_drsuapi_DsReplicaCoursor2_last_sync_success = -1;
387 static int hf_drsuapi_DsReplicaCoursor2Ctr_count = -1;
388 static int hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context = -1;
389 static int hf_drsuapi_DsReplicaCoursor2Ctr_array = -1;
390 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id = -1;
391 static int hf_drsuapi_DsReplicaCoursor3_highest_usn = -1;
392 static int hf_drsuapi_DsReplicaCoursor3_last_sync_success = -1;
393 static int hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn = -1;
394 static int hf_drsuapi_DsReplicaCoursor3Ctr_count = -1;
395 static int hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context = -1;
396 static int hf_drsuapi_DsReplicaCoursor3Ctr_array = -1;
397 static int hf_drsuapi_DsReplicaObjMetaData2_attribute_name = -1;
398 static int hf_drsuapi_DsReplicaObjMetaData2_version = -1;
399 static int hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed = -1;
400 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id = -1;
401 static int hf_drsuapi_DsReplicaObjMetaData2_originating_usn = -1;
402 static int hf_drsuapi_DsReplicaObjMetaData2_local_usn = -1;
403 static int hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn = -1;
404 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_count = -1;
405 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context = -1;
406 static int hf_drsuapi_DsReplicaObjMetaData2Ctr_array = -1;
407 static int hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name = -1;
408 static int hf_drsuapi_DsReplicaAttrValMetaData2_object_dn = -1;
409 static int hf_drsuapi_DsReplicaAttrValMetaData2_value_length = -1;
410 static int hf_drsuapi_DsReplicaAttrValMetaData2_value = -1;
411 static int hf_drsuapi_DsReplicaAttrValMetaData2_deleted = -1;
412 static int hf_drsuapi_DsReplicaAttrValMetaData2_created = -1;
413 static int hf_drsuapi_DsReplicaAttrValMetaData2_version = -1;
414 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed = -1;
415 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id = -1;
416 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn = -1;
417 static int hf_drsuapi_DsReplicaAttrValMetaData2_local_usn = -1;
418 static int hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn = -1;
419 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count = -1;
420 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context = -1;
421 static int hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array = -1;
422 static int hf_drsuapi_DsReplicaConnection04_u1 = -1;
423 static int hf_drsuapi_DsReplicaConnection04_u2 = -1;
424 static int hf_drsuapi_DsReplicaConnection04_u3 = -1;
425 static int hf_drsuapi_DsReplicaConnection04_bind_guid = -1;
426 static int hf_drsuapi_DsReplicaConnection04_bind_time = -1;
427 static int hf_drsuapi_DsReplicaConnection04_u4 = -1;
428 static int hf_drsuapi_DsReplicaConnection04_u5 = -1;
429 static int hf_drsuapi_DsReplicaConnection04Ctr_count = -1;
430 static int hf_drsuapi_DsReplicaConnection04Ctr_reserved = -1;
431 static int hf_drsuapi_DsReplicaConnection04Ctr_array = -1;
432 static int hf_drsuapi_DsReplica06_str1 = -1;
433 static int hf_drsuapi_DsReplica06_u1 = -1;
434 static int hf_drsuapi_DsReplica06_u2 = -1;
435 static int hf_drsuapi_DsReplica06_u3 = -1;
436 static int hf_drsuapi_DsReplica06_u4 = -1;
437 static int hf_drsuapi_DsReplica06_u5 = -1;
438 static int hf_drsuapi_DsReplica06_u6 = -1;
439 static int hf_drsuapi_DsReplica06_u7 = -1;
440 static int hf_drsuapi_DsReplica06Ctr_count = -1;
441 static int hf_drsuapi_DsReplica06Ctr_reserved = -1;
442 static int hf_drsuapi_DsReplica06Ctr_array = -1;
443 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours = -1;
444 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors = -1;
445 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata = -1;
446 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures = -1;
447 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures = -1;
448 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops = -1;
449 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata = -1;
450 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2 = -1;
451 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3 = -1;
452 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2 = -1;
453 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2 = -1;
454 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02 = -1;
455 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04 = -1;
456 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05 = -1;
457 static int hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06 = -1;
458 static int hf_drsuapi_DsReplicaGetInfo_bind_handle = -1;
459 static int hf_drsuapi_DsReplicaGetInfo_level = -1;
460 static int hf_drsuapi_DsReplicaGetInfo_req = -1;
461 static int hf_drsuapi_DsReplicaGetInfo_info_type = -1;
462 static int hf_drsuapi_DsReplicaGetInfo_info = -1;
463 /* END OF INCLUDED FILE : ETH_HF */
464
465
466
467
468
469 /* INCLUDED FILE : ETH_ETT */
470 static gint ett_drsuapi = -1;
471 static gint ett_drsuapi_SupportedExtensions = -1;
472 static gint ett_drsuapi_DsBindInfo24 = -1;
473 static gint ett_drsuapi_DsBindInfo28 = -1;
474 static gint ett_drsuapi_DsBindInfo = -1;
475 static gint ett_drsuapi_DsBindInfoCtr = -1;
476 static gint ett_drsuapi_DsReplicaSyncRequest1Info = -1;
477 static gint ett_drsuapi_DsReplicaSyncOptions = -1;
478 static gint ett_drsuapi_DsReplicaSyncRequest1 = -1;
479 static gint ett_drsuapi_DsReplicaSyncRequest = -1;
480 static gint ett_drsuapi_DsGetNCChangesUsnTriple = -1;
481 static gint ett_drsuapi_DsReplicaCoursor = -1;
482 static gint ett_drsuapi_DsReplicaCoursor05Ctr = -1;
483 static gint ett_drsuapi_DsGetNCChangesRequest5 = -1;
484 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr14 = -1;
485 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr13 = -1;
486 static gint ett_drsuapi_DsGetNCChangesRequest_Ctr12 = -1;
487 static gint ett_drsuapi_DsGetNCChangesRequest8 = -1;
488 static gint ett_drsuapi_DsGetNCChangesRequest = -1;
489 static gint ett_drsuapi_DsReplicaCoursorEx = -1;
490 static gint ett_drsuapi_DsReplicaCoursorEx05Ctr = -1;
491 static gint ett_drsuapi_DsGetNCChangesCtr6 = -1;
492 static gint ett_drsuapi_DsGetNCChangesCtr7 = -1;
493 static gint ett_drsuapi_DsGetNCChangesCtr = -1;
494 static gint ett_drsuapi_DsReplicaUpdateRefsOptions = -1;
495 static gint ett_drsuapi_DsReplicaUpdateRefsRequest1 = -1;
496 static gint ett_drsuapi_DsReplicaUpdateRefsRequest = -1;
497 static gint ett_drsuapi_DsReplicaAddOptions = -1;
498 static gint ett_drsuapi_DsReplicaDeleteOptions = -1;
499 static gint ett_drsuapi_DsReplicaModifyOptions = -1;
500 static gint ett_drsuapi_DsNameString = -1;
501 static gint ett_drsuapi_DsNameRequest1 = -1;
502 static gint ett_drsuapi_DsNameRequest = -1;
503 static gint ett_drsuapi_DsNameInfo1 = -1;
504 static gint ett_drsuapi_DsNameCtr1 = -1;
505 static gint ett_drsuapi_DsNameCtr = -1;
506 static gint ett_drsuapi_DsWriteAccountSpnRequest1 = -1;
507 static gint ett_drsuapi_DsWriteAccountSpnRequest = -1;
508 static gint ett_drsuapi_DsWriteAccountSpnResult1 = -1;
509 static gint ett_drsuapi_DsWriteAccountSpnResult = -1;
510 static gint ett_drsuapi_DsGetDCInfoRequest1 = -1;
511 static gint ett_drsuapi_DsGetDCInfoRequest = -1;
512 static gint ett_drsuapi_DsGetDCInfo1 = -1;
513 static gint ett_drsuapi_DsGetDCInfoCtr1 = -1;
514 static gint ett_drsuapi_DsGetDCInfo2 = -1;
515 static gint ett_drsuapi_DsGetDCInfoCtr2 = -1;
516 static gint ett_drsuapi_DsGetDCInfo01 = -1;
517 static gint ett_drsuapi_DsGetDCInfoCtr01 = -1;
518 static gint ett_drsuapi_DsGetDCInfoCtr = -1;
519 static gint ett_drsuapi_DsReplicaGetInfoRequest1 = -1;
520 static gint ett_drsuapi_DsReplicaGetInfoRequest2 = -1;
521 static gint ett_drsuapi_DsReplicaGetInfoRequest = -1;
522 static gint ett_drsuapi_DsReplicaNeighbour = -1;
523 static gint ett_drsuapi_DsReplicaNeighbourCtr = -1;
524 static gint ett_drsuapi_DsReplicaCoursorCtr = -1;
525 static gint ett_drsuapi_DsReplicaObjMetaData = -1;
526 static gint ett_drsuapi_DsReplicaObjMetaDataCtr = -1;
527 static gint ett_drsuapi_DsReplicaKccDsaFailure = -1;
528 static gint ett_drsuapi_DsReplicaKccDsaFailuresCtr = -1;
529 static gint ett_drsuapi_DsRplicaOpOptions = -1;
530 static gint ett_drsuapi_DsReplicaOp = -1;
531 static gint ett_drsuapi_DsReplicaOpCtr = -1;
532 static gint ett_drsuapi_DsReplicaAttrValMetaData = -1;
533 static gint ett_drsuapi_DsReplicaAttrValMetaDataCtr = -1;
534 static gint ett_drsuapi_DsReplicaCoursor2 = -1;
535 static gint ett_drsuapi_DsReplicaCoursor2Ctr = -1;
536 static gint ett_drsuapi_DsReplicaCoursor3 = -1;
537 static gint ett_drsuapi_DsReplicaCoursor3Ctr = -1;
538 static gint ett_drsuapi_DsReplicaObjMetaData2 = -1;
539 static gint ett_drsuapi_DsReplicaObjMetaData2Ctr = -1;
540 static gint ett_drsuapi_DsReplicaAttrValMetaData2 = -1;
541 static gint ett_drsuapi_DsReplicaAttrValMetaData2Ctr = -1;
542 static gint ett_drsuapi_DsReplicaConnection04 = -1;
543 static gint ett_drsuapi_DsReplicaConnection04Ctr = -1;
544 static gint ett_drsuapi_DsReplica06 = -1;
545 static gint ett_drsuapi_DsReplica06Ctr = -1;
546 static gint ett_drsuapi_DsReplicaInfo = -1;
547 /* END OF INCLUDED FILE : ETH_ETT */
548
549
550
551 static int
552 ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
553 {
554         header_field_info *hfinfo;
555         static guint32 len;
556         dcerpc_info *di;
557         char *s;
558         int old_offset;
559
560         di=pinfo->private_data;
561         if(di->conformant_run){
562                 /*just a run to handle conformant arrays, nothing to dissect 
563                   but we need to remember how long this array was.
564                   see packet-dcerpc.c for examples of conformant_run
565                   and what it is.
566                 */
567                 old_offset=offset;
568                 offset=dissect_dcerpc_uint32(tvb, offset, pinfo, NULL, drep, -1, &len);
569                 di->array_max_count_offset=offset-4;
570                 di->conformant_run=1;
571                 di->conformant_eaten=offset-old_offset;
572                 return offset;
573         }
574
575         ALIGN_TO_2_BYTES;
576
577         s = tvb_fake_unicode(tvb, offset, len, TRUE);
578         if (tree && len) {
579             hfinfo = proto_registrar_get_nth(hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn);
580             if (hfinfo->type == FT_STRING) {
581                 proto_tree_add_string(tree, hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn, tvb, offset,
582                                       len, s);
583             } else {
584                 proto_tree_add_item(tree, hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn, tvb, offset,
585                                     len, drep[0] & 0x10);
586             }
587         }
588
589         offset+=2*len;
590         return offset;
591 }
592
593 static int
594 drsuapi_dissect_a_string(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
595 {
596     offset=dissect_ndr_vstring(tvb, offset, pinfo, tree, drep, 1, hf_index, FALSE, NULL);
597     return offset;
598 }
599
600
601
602 /* INCLUDED FILE : ETH_CODE */
603 static e_uuid_t uuid_dcerpc_drsuapi = {
604     0xe3514235, 0x4b06, 0x11d1,
605     { 0xab, 0x04, 0x00, 0xc0, 0x4f, 0xc2, 0xdc, 0xd2}
606 };
607
608 static guint16 ver_drsuapi = 4;
609
610 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs = {
611     "DRSUAPI_SUPPORTED_EXTENSION_BASE is SET",
612     "DRSUAPI_SUPPORTED_EXTENSION_BASE is NOT set"
613 };
614
615 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs = {
616     "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is SET",
617     "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION is NOT set"
618 };
619
620 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs = {
621     "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is SET",
622     "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI is NOT set"
623 };
624
625 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs = {
626     "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is SET",
627     "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2 is NOT set"
628 };
629
630 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs = {
631     "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is SET",
632     "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS is NOT set"
633 };
634
635 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs = {
636     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is SET",
637     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1 is NOT set"
638 };
639
640 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs = {
641     "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is SET",
642     "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION is NOT set"
643 };
644
645 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs = {
646     "DRSUAPI_SUPPORTED_EXTENSION_00000080 is SET",
647     "DRSUAPI_SUPPORTED_EXTENSION_00000080 is NOT set"
648 };
649
650 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs = {
651     "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is SET",
652     "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE is NOT set"
653 };
654
655 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs = {
656     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is SET",
657     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2 is NOT set"
658 };
659
660 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs = {
661     "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is SET",
662     "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION is NOT set"
663 };
664
665 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs = {
666     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is SET",
667     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2 is NOT set"
668 };
669
670 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs = {
671     "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is SET",
672     "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD is NOT set"
673 };
674
675 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs = {
676     "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is SET",
677     "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND is NOT set"
678 };
679
680 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs = {
681     "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is SET",
682     "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO is NOT set"
683 };
684
685 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs = {
686     "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is SET",
687     "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION is NOT set"
688 };
689
690 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs = {
691     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is SET",
692     "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01 is NOT set"
693 };
694
695 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs = {
696     "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is SET",
697     "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP is NOT set"
698 };
699
700 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs = {
701     "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is SET",
702     "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY is NOT set"
703 };
704
705 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs = {
706     "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is SET",
707     "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3 is NOT set"
708 };
709
710 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs = {
711     "DRSUAPI_SUPPORTED_EXTENSION_00100000 is SET",
712     "DRSUAPI_SUPPORTED_EXTENSION_00100000 is NOT set"
713 };
714
715 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs = {
716     "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is SET",
717     "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2 is NOT set"
718 };
719
720 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs = {
721     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is SET",
722     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6 is NOT set"
723 };
724
725 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs = {
726     "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is SET",
727     "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS is NOT set"
728 };
729
730 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs = {
731     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is SET",
732     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8 is NOT set"
733 };
734
735 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs = {
736     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is SET",
737     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5 is NOT set"
738 };
739
740 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs = {
741     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is SET",
742     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6 is NOT set"
743 };
744
745 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs = {
746     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is SET",
747     "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3 is NOT set"
748 };
749
750 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs = {
751     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is SET",
752     "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7 is NOT set"
753 };
754
755 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs = {
756     "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is SET",
757     "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT is NOT set"
758 };
759
760 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs = {
761     "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is SET",
762     "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS is NOT set"
763 };
764
765 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs = {
766     "DRSUAPI_SUPPORTED_EXTENSION_20000000 is SET",
767     "DRSUAPI_SUPPORTED_EXTENSION_20000000 is NOT set"
768 };
769
770 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs = {
771     "DRSUAPI_SUPPORTED_EXTENSION_40000000 is SET",
772     "DRSUAPI_SUPPORTED_EXTENSION_40000000 is NOT set"
773 };
774
775 static const true_false_string DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs = {
776     "DRSUAPI_SUPPORTED_EXTENSION_80000000 is SET",
777     "DRSUAPI_SUPPORTED_EXTENSION_80000000 is NOT set"
778 };
779
780
781 int
782 drsuapi_dissect_SupportedExtensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
783 {
784     proto_item *item=NULL;
785     proto_tree *tree=NULL;
786     guint32 flags;
787
788     ALIGN_TO_4_BYTES;
789
790     if(parent_tree){
791         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
792         tree=proto_item_add_subtree(item, ett_drsuapi_SupportedExtensions);
793     }
794
795     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
796
797
798     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE, tvb, offset-4, 4, flags);
799     if(flags&0x00000001){
800         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_BASE");
801     }
802     flags&=(~0x00000001);
803
804     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION, tvb, offset-4, 4, flags);
805     if(flags&0x00000002){
806         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION");
807     }
808     flags&=(~0x00000002);
809
810     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI, tvb, offset-4, 4, flags);
811     if(flags&0x00000004){
812         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI");
813     }
814     flags&=(~0x00000004);
815
816     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2, tvb, offset-4, 4, flags);
817     if(flags&0x00000008){
818         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2");
819     }
820     flags&=(~0x00000008);
821
822     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS, tvb, offset-4, 4, flags);
823     if(flags&0x00000010){
824         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS");
825     }
826     flags&=(~0x00000010);
827
828     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1, tvb, offset-4, 4, flags);
829     if(flags&0x00000020){
830         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1");
831     }
832     flags&=(~0x00000020);
833
834     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION, tvb, offset-4, 4, flags);
835     if(flags&0x00000040){
836         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION");
837     }
838     flags&=(~0x00000040);
839
840     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080, tvb, offset-4, 4, flags);
841     if(flags&0x00000080){
842         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00000080");
843     }
844     flags&=(~0x00000080);
845
846     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE, tvb, offset-4, 4, flags);
847     if(flags&0x00000100){
848         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE");
849     }
850     flags&=(~0x00000100);
851
852     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2, tvb, offset-4, 4, flags);
853     if(flags&0x00000200){
854         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2");
855     }
856     flags&=(~0x00000200);
857
858     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION, tvb, offset-4, 4, flags);
859     if(flags&0x00000400){
860         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION");
861     }
862     flags&=(~0x00000400);
863
864     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2, tvb, offset-4, 4, flags);
865     if(flags&0x00000800){
866         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2");
867     }
868     flags&=(~0x00000800);
869
870     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD, tvb, offset-4, 4, flags);
871     if(flags&0x00001000){
872         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD");
873     }
874     flags&=(~0x00001000);
875
876     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND, tvb, offset-4, 4, flags);
877     if(flags&0x00002000){
878         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND");
879     }
880     flags&=(~0x00002000);
881
882     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO, tvb, offset-4, 4, flags);
883     if(flags&0x00004000){
884         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO");
885     }
886     flags&=(~0x00004000);
887
888     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION, tvb, offset-4, 4, flags);
889     if(flags&0x00008000){
890         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION");
891     }
892     flags&=(~0x00008000);
893
894     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01, tvb, offset-4, 4, flags);
895     if(flags&0x00010000){
896         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01");
897     }
898     flags&=(~0x00010000);
899
900     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP, tvb, offset-4, 4, flags);
901     if(flags&0x00020000){
902         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP");
903     }
904     flags&=(~0x00020000);
905
906     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY, tvb, offset-4, 4, flags);
907     if(flags&0x00040000){
908         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY");
909     }
910     flags&=(~0x00040000);
911
912     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3, tvb, offset-4, 4, flags);
913     if(flags&0x00080000){
914         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3");
915     }
916     flags&=(~0x00080000);
917
918     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000, tvb, offset-4, 4, flags);
919     if(flags&0x00100000){
920         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_00100000");
921     }
922     flags&=(~0x00100000);
923
924     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2, tvb, offset-4, 4, flags);
925     if(flags&0x00200000){
926         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2");
927     }
928     flags&=(~0x00200000);
929
930     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6, tvb, offset-4, 4, flags);
931     if(flags&0x00400000){
932         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6");
933     }
934     flags&=(~0x00400000);
935
936     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS, tvb, offset-4, 4, flags);
937     if(flags&0x00800000){
938         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS");
939     }
940     flags&=(~0x00800000);
941
942     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8, tvb, offset-4, 4, flags);
943     if(flags&0x01000000){
944         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8");
945     }
946     flags&=(~0x01000000);
947
948     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5, tvb, offset-4, 4, flags);
949     if(flags&0x02000000){
950         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5");
951     }
952     flags&=(~0x02000000);
953
954     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6, tvb, offset-4, 4, flags);
955     if(flags&0x04000000){
956         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6");
957     }
958     flags&=(~0x04000000);
959
960     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3, tvb, offset-4, 4, flags);
961     if(flags&0x08000000){
962         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3");
963     }
964     flags&=(~0x08000000);
965
966     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7, tvb, offset-4, 4, flags);
967     if(flags&0x08000000){
968         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7");
969     }
970     flags&=(~0x08000000);
971
972     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT, tvb, offset-4, 4, flags);
973     if(flags&0x08000000){
974         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT");
975     }
976     flags&=(~0x08000000);
977
978     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS, tvb, offset-4, 4, flags);
979     if(flags&0x10000000){
980         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS");
981     }
982     flags&=(~0x10000000);
983
984     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000, tvb, offset-4, 4, flags);
985     if(flags&0x20000000){
986         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_20000000");
987     }
988     flags&=(~0x20000000);
989
990     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000, tvb, offset-4, 4, flags);
991     if(flags&0x40000000){
992         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_40000000");
993     }
994     flags&=(~0x40000000);
995
996     proto_tree_add_boolean(tree, hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000, tvb, offset-4, 4, flags);
997     if(flags&0x80000000){
998         proto_item_append_text(item, " DRSUAPI_SUPPORTED_EXTENSION_80000000");
999     }
1000     flags&=(~0x80000000);
1001
1002     if(flags){
1003         proto_item_append_text(item, "UNKNOWN-FLAGS");
1004     }
1005
1006     return offset;
1007 }
1008 static int
1009 drsuapi_dissect_DsBindInfo24_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1010 {
1011     guint32 param=0;
1012     offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_supported_extensions, param);
1013     return offset;
1014 }
1015
1016
1017 static int
1018 drsuapi_dissect_GUID(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1019 {
1020     offset=dissect_ndr_uuid_t(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1021     return offset;
1022 }
1023
1024 static int
1025 drsuapi_dissect_DsBindInfo24_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1026 {
1027     guint32 param=0;
1028     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_site_guid, param);
1029     return offset;
1030 }
1031
1032
1033 static int
1034 drsuapi_dissect_uint32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1035 {
1036     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1037     return offset;
1038 }
1039
1040 static int
1041 drsuapi_dissect_DsBindInfo24_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1042 {
1043     guint32 param=0;
1044     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo24_u1, param);
1045     return offset;
1046 }
1047
1048
1049 int
1050 drsuapi_dissect_DsBindInfo24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1051 {
1052     proto_item *item=NULL;
1053     proto_tree *tree=NULL;
1054     int old_offset;
1055
1056     ALIGN_TO_4_BYTES;
1057
1058     old_offset=offset;
1059     if(parent_tree){
1060         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1061         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo24);
1062     }
1063
1064     offset=drsuapi_dissect_DsBindInfo24_supported_extensions(tvb, offset, pinfo, tree, drep);
1065
1066     offset=drsuapi_dissect_DsBindInfo24_site_guid(tvb, offset, pinfo, tree, drep);
1067
1068     offset=drsuapi_dissect_DsBindInfo24_u1(tvb, offset, pinfo, tree, drep);
1069
1070     proto_item_set_len(item, offset-old_offset);
1071
1072     return offset;
1073 }
1074 static int
1075 drsuapi_dissect_DsBindInfo28_supported_extensions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1076 {
1077     guint32 param=0;
1078     offset=drsuapi_dissect_SupportedExtensions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_supported_extensions, param);
1079     return offset;
1080 }
1081
1082 static int
1083 drsuapi_dissect_DsBindInfo28_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1084 {
1085     guint32 param=0;
1086     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_site_guid, param);
1087     return offset;
1088 }
1089
1090 static int
1091 drsuapi_dissect_DsBindInfo28_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1092 {
1093     guint32 param=0;
1094     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_u1, param);
1095     return offset;
1096 }
1097
1098 static int
1099 drsuapi_dissect_DsBindInfo28_repl_epoch(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1100 {
1101     guint32 param=0;
1102     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo28_repl_epoch, param);
1103     return offset;
1104 }
1105
1106
1107 int
1108 drsuapi_dissect_DsBindInfo28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1109 {
1110     proto_item *item=NULL;
1111     proto_tree *tree=NULL;
1112     int old_offset;
1113
1114     ALIGN_TO_4_BYTES;
1115
1116     old_offset=offset;
1117     if(parent_tree){
1118         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1119         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo28);
1120     }
1121
1122     offset=drsuapi_dissect_DsBindInfo28_supported_extensions(tvb, offset, pinfo, tree, drep);
1123
1124     offset=drsuapi_dissect_DsBindInfo28_site_guid(tvb, offset, pinfo, tree, drep);
1125
1126     offset=drsuapi_dissect_DsBindInfo28_u1(tvb, offset, pinfo, tree, drep);
1127
1128     offset=drsuapi_dissect_DsBindInfo28_repl_epoch(tvb, offset, pinfo, tree, drep);
1129
1130     proto_item_set_len(item, offset-old_offset);
1131
1132     return offset;
1133 }
1134 static int
1135 drsuapi_dissect_union_DsBindInfo_24_info24(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1136 {
1137     guint32 param=0;
1138     offset=drsuapi_dissect_DsBindInfo24(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo_24_info24, param);
1139     return offset;
1140 }
1141
1142 static int
1143 drsuapi_dissect_union_DsBindInfo_28_info28(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1144 {
1145     guint32 param=0;
1146     offset=drsuapi_dissect_DsBindInfo28(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfo_28_info28, param);
1147     return offset;
1148 }
1149
1150
1151 static int
1152 drsuapi_dissect_union_DsBindInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1153 {
1154     proto_item *item=NULL;
1155     proto_tree *tree=NULL;
1156     int old_offset;
1157     guint32 level = 0;
1158
1159     ALIGN_TO_4_BYTES;
1160
1161     old_offset=offset;
1162     if(parent_tree){
1163         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsBindInfo");
1164         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfo);
1165     }
1166
1167     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1168                               drep, hf_index, &level);
1169
1170     switch(level){
1171     case 24:
1172         ALIGN_TO_4_BYTES;
1173         offset=drsuapi_dissect_union_DsBindInfo_24_info24(tvb, offset, pinfo, tree, drep);
1174         break;
1175
1176     case 28:
1177         ALIGN_TO_4_BYTES;
1178         offset=drsuapi_dissect_union_DsBindInfo_28_info28(tvb, offset, pinfo, tree, drep);
1179         break;
1180
1181     }
1182
1183     proto_item_set_len(item, offset-old_offset);
1184
1185    return offset;
1186 }
1187 static int
1188 drsuapi_dissect_DsBindInfoCtr_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1189 {
1190     guint32 param=0;
1191     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfoCtr_length, param);
1192     return offset;
1193 }
1194
1195 static int
1196 drsuapi_dissect_DsBindInfoCtr_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1197 {
1198     guint32 param=0;
1199     offset=drsuapi_dissect_union_DsBindInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBindInfoCtr_info, param);
1200     return offset;
1201 }
1202
1203
1204 int
1205 drsuapi_dissect_DsBindInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1206 {
1207     proto_item *item=NULL;
1208     proto_tree *tree=NULL;
1209     int old_offset;
1210
1211     ALIGN_TO_4_BYTES;
1212
1213     old_offset=offset;
1214     if(parent_tree){
1215         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1216         tree=proto_item_add_subtree(item, ett_drsuapi_DsBindInfoCtr);
1217     }
1218
1219     offset=drsuapi_dissect_DsBindInfoCtr_length(tvb, offset, pinfo, tree, drep);
1220
1221     offset=drsuapi_dissect_DsBindInfoCtr_info(tvb, offset, pinfo, tree, drep);
1222
1223     proto_item_set_len(item, offset-old_offset);
1224
1225     return offset;
1226 }
1227 static int
1228 drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1229 {
1230     guint32 param=0;
1231     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_guid, param);
1232     return offset;
1233 }
1234
1235 static int
1236 unique_drsuapi_dissect_DsBind_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1237 {
1238     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_guid, NDR_POINTER_UNIQUE, "bind_guid", -1);
1239     return offset;
1240 }
1241
1242 static int
1243 drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1244 {
1245     guint32 param=0;
1246     offset=drsuapi_dissect_DsBindInfoCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_info, param);
1247     return offset;
1248 }
1249
1250 static int
1251 unique_drsuapi_dissect_DsBind_bind_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1252 {
1253     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_info, NDR_POINTER_UNIQUE, "bind_info", -1);
1254     return offset;
1255 }
1256
1257
1258 static e_ctx_hnd policy_hnd;
1259 static proto_item *hnd_item;
1260
1261 static int
1262 drsuapi_dissect_policy_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param)
1263 {
1264     offset = dissect_nt_policy_hnd(tvb, offset, pinfo, tree, drep,
1265                    hf_index, &policy_hnd, &hnd_item,
1266                    param&0x01, param&0x02);
1267     return offset;
1268 }
1269
1270 static int
1271 drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1272 {
1273     guint32 param=0;
1274     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsBind_bind_handle, param);
1275     return offset;
1276 }
1277
1278 static int
1279 ref_drsuapi_dissect_DsBind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1280 {
1281     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsBind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1282     return offset;
1283 }
1284
1285
1286 static int
1287 drsuapi_dissect_DsBind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1288 {
1289         offset=unique_drsuapi_dissect_DsBind_bind_guid(tvb, offset, pinfo, tree, drep);
1290         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1291
1292         offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
1293         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1294
1295
1296    return offset;
1297 }
1298
1299 static int
1300 drsuapi_dissect_DsBind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1301 {
1302         offset=unique_drsuapi_dissect_DsBind_bind_info(tvb, offset, pinfo, tree, drep);
1303         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1304
1305         offset=ref_drsuapi_dissect_DsBind_bind_handle(tvb, offset, pinfo, tree, drep);
1306         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1307
1308    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1309
1310
1311    return offset;
1312 }
1313 static int
1314 drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1315 {
1316     guint32 param=0;
1317     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsUnbind_bind_handle, param);
1318     return offset;
1319 }
1320
1321 static int
1322 ref_drsuapi_dissect_DsUnbind_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1323 {
1324     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsUnbind_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1325     return offset;
1326 }
1327
1328
1329 static int
1330 drsuapi_dissect_DsUnbind_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1331 {
1332         offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
1333         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1334
1335
1336    return offset;
1337 }
1338
1339 static int
1340 drsuapi_dissect_DsUnbind_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1341 {
1342         offset=ref_drsuapi_dissect_DsUnbind_bind_handle(tvb, offset, pinfo, tree, drep);
1343         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1344
1345    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1346
1347
1348    return offset;
1349 }
1350 static int
1351 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1352 {
1353     guint32 param=0;
1354     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown1, param);
1355     return offset;
1356 }
1357
1358 static int
1359 drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1360 {
1361     guint32 param=0;
1362     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_unknown2, param);
1363     return offset;
1364 }
1365
1366 static int
1367 drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1368 {
1369     guint32 param=0;
1370     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_guid1, param);
1371     return offset;
1372 }
1373
1374
1375 static int
1376 drsuapi_dissect_uint8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1377 {
1378     offset=dissect_ndr_uint8(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1379     return offset;
1380 }
1381
1382 static int
1383 drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1384 {
1385     guint32 param=0;
1386     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_byte_array, param);
1387     return offset;
1388 }
1389
1390 static int
1391 fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1392 {
1393     int count=28;
1394     while(count--){
1395         offset=drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, drep);
1396     }
1397
1398     return offset;
1399 }
1400
1401 static int
1402 drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1403 {
1404     guint32 param=0;
1405     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1Info_str_len, param);
1406     return offset;
1407 }
1408
1409
1410 #if 0
1411 static int
1412 drsuapi_dissect_uint16(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1413 {
1414     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1415     return offset;
1416 }
1417 #endif
1418
1419
1420 int
1421 drsuapi_dissect_DsReplicaSyncRequest1Info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1422 {
1423     proto_item *item=NULL;
1424     proto_tree *tree=NULL;
1425     int old_offset;
1426
1427     ALIGN_TO_4_BYTES;
1428
1429     old_offset=offset;
1430     if(parent_tree){
1431         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1432         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1Info);
1433     }
1434
1435     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown1(tvb, offset, pinfo, tree, drep);
1436
1437     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_unknown2(tvb, offset, pinfo, tree, drep);
1438
1439     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_guid1(tvb, offset, pinfo, tree, drep);
1440
1441     offset=fixedarray_drsuapi_dissect_DsReplicaSyncRequest1Info_byte_array(tvb, offset, pinfo, tree, drep);
1442
1443     offset=drsuapi_dissect_DsReplicaSyncRequest1Info_str_len(tvb, offset, pinfo, tree, drep);
1444
1445     offset=ucarray_drsuapi_dissect_DsReplicaSyncRequest1Info_nc_dn(tvb, offset, pinfo, tree, drep);
1446
1447     proto_item_set_len(item, offset-old_offset);
1448
1449     return offset;
1450 }
1451 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs = {
1452     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is SET",
1453     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION is NOT set"
1454 };
1455
1456 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs = {
1457     "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is SET",
1458     "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE is NOT set"
1459 };
1460
1461 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs = {
1462     "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is SET",
1463     "DRSUAPI_DS_REPLICA_SYNC_PERIODIC is NOT set"
1464 };
1465
1466 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs = {
1467     "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is SET",
1468     "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING is NOT set"
1469 };
1470
1471 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs = {
1472     "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is SET",
1473     "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES is NOT set"
1474 };
1475
1476 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_tfs = {
1477     "DRSUAPI_DS_REPLICA_SYNC_FULL is SET",
1478     "DRSUAPI_DS_REPLICA_SYNC_FULL is NOT set"
1479 };
1480
1481 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs = {
1482     "DRSUAPI_DS_REPLICA_SYNC_URGENT is SET",
1483     "DRSUAPI_DS_REPLICA_SYNC_URGENT is NOT set"
1484 };
1485
1486 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs = {
1487     "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is SET",
1488     "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD is NOT set"
1489 };
1490
1491 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs = {
1492     "DRSUAPI_DS_REPLICA_SYNC_FORCE is SET",
1493     "DRSUAPI_DS_REPLICA_SYNC_FORCE is NOT set"
1494 };
1495
1496 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs = {
1497     "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is SET",
1498     "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE is NOT set"
1499 };
1500
1501 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs = {
1502     "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is SET",
1503     "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED is NOT set"
1504 };
1505
1506 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs = {
1507     "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is SET",
1508     "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY is NOT set"
1509 };
1510
1511 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs = {
1512     "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is SET",
1513     "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY is NOT set"
1514 };
1515
1516 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs = {
1517     "DRSUAPI_DS_REPLICA_SYNC_INITIAL is SET",
1518     "DRSUAPI_DS_REPLICA_SYNC_INITIAL is NOT set"
1519 };
1520
1521 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs = {
1522     "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is SET",
1523     "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION is NOT set"
1524 };
1525
1526 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs = {
1527     "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is SET",
1528     "DRSUAPI_DS_REPLICA_SYNC_ABANDONED is NOT set"
1529 };
1530
1531 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs = {
1532     "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is SET",
1533     "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS is NOT set"
1534 };
1535
1536 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs = {
1537     "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is SET",
1538     "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET is NOT set"
1539 };
1540
1541 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs = {
1542     "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is SET",
1543     "DRSUAPI_DS_REPLICA_SYNC_REQUEUE is NOT set"
1544 };
1545
1546 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs = {
1547     "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is SET",
1548     "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION is NOT set"
1549 };
1550
1551 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs = {
1552     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is SET",
1553     "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA is NOT set"
1554 };
1555
1556 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs = {
1557     "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is SET",
1558     "DRSUAPI_DS_REPLICA_SYNC_CRITICAL is NOT set"
1559 };
1560
1561 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs = {
1562     "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is SET",
1563     "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS is NOT set"
1564 };
1565
1566 static const true_false_string DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs = {
1567     "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is SET",
1568     "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED is NOT set"
1569 };
1570
1571
1572 int
1573 drsuapi_dissect_DsReplicaSyncOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1574 {
1575     proto_item *item=NULL;
1576     proto_tree *tree=NULL;
1577     guint32 flags;
1578
1579     ALIGN_TO_4_BYTES;
1580
1581     if(parent_tree){
1582         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
1583         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncOptions);
1584     }
1585
1586     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
1587
1588
1589     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
1590     if(flags&0x00000001){
1591         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION");
1592     }
1593     flags&=(~0x00000001);
1594
1595     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE, tvb, offset-4, 4, flags);
1596     if(flags&0x00000002){
1597         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_WRITEABLE");
1598     }
1599     flags&=(~0x00000002);
1600
1601     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC, tvb, offset-4, 4, flags);
1602     if(flags&0x00000004){
1603         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PERIODIC");
1604     }
1605     flags&=(~0x00000004);
1606
1607     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING, tvb, offset-4, 4, flags);
1608     if(flags&0x00000008){
1609         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING");
1610     }
1611     flags&=(~0x00000008);
1612
1613     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES, tvb, offset-4, 4, flags);
1614     if(flags&0x00000010){
1615         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES");
1616     }
1617     flags&=(~0x00000010);
1618
1619     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL, tvb, offset-4, 4, flags);
1620     if(flags&0x00000020){
1621         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL");
1622     }
1623     flags&=(~0x00000020);
1624
1625     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT, tvb, offset-4, 4, flags);
1626     if(flags&0x00000040){
1627         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_URGENT");
1628     }
1629     flags&=(~0x00000040);
1630
1631     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD, tvb, offset-4, 4, flags);
1632     if(flags&0x00000080){
1633         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD");
1634     }
1635     flags&=(~0x00000080);
1636
1637     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE, tvb, offset-4, 4, flags);
1638     if(flags&0x00000100){
1639         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FORCE");
1640     }
1641     flags&=(~0x00000100);
1642
1643     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE, tvb, offset-4, 4, flags);
1644     if(flags&0x00000200){
1645         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE");
1646     }
1647     flags&=(~0x00000200);
1648
1649     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED, tvb, offset-4, 4, flags);
1650     if(flags&0x00000400){
1651         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED");
1652     }
1653     flags&=(~0x00000400);
1654
1655     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY, tvb, offset-4, 4, flags);
1656     if(flags&0x00000800){
1657         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_TWO_WAY");
1658     }
1659     flags&=(~0x00000800);
1660
1661     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY, tvb, offset-4, 4, flags);
1662     if(flags&0x00001000){
1663         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY");
1664     }
1665     flags&=(~0x00001000);
1666
1667     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL, tvb, offset-4, 4, flags);
1668     if(flags&0x00002000){
1669         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL");
1670     }
1671     flags&=(~0x00002000);
1672
1673     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION, tvb, offset-4, 4, flags);
1674     if(flags&0x00004000){
1675         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION");
1676     }
1677     flags&=(~0x00004000);
1678
1679     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED, tvb, offset-4, 4, flags);
1680     if(flags&0x00008000){
1681         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ABANDONED");
1682     }
1683     flags&=(~0x00008000);
1684
1685     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS, tvb, offset-4, 4, flags);
1686     if(flags&0x00010000){
1687         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS");
1688     }
1689     flags&=(~0x00010000);
1690
1691     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET, tvb, offset-4, 4, flags);
1692     if(flags&0x00020000){
1693         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET");
1694     }
1695     flags&=(~0x00020000);
1696
1697     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE, tvb, offset-4, 4, flags);
1698     if(flags&0x00040000){
1699         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_REQUEUE");
1700     }
1701     flags&=(~0x00040000);
1702
1703     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION, tvb, offset-4, 4, flags);
1704     if(flags&0x00080000){
1705         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION");
1706     }
1707     flags&=(~0x00080000);
1708
1709     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA, tvb, offset-4, 4, flags);
1710     if(flags&0x00100000){
1711         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA");
1712     }
1713     flags&=(~0x00100000);
1714
1715     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL, tvb, offset-4, 4, flags);
1716     if(flags&0x00200000){
1717         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_CRITICAL");
1718     }
1719     flags&=(~0x00200000);
1720
1721     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS, tvb, offset-4, 4, flags);
1722     if(flags&0x00400000){
1723         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS");
1724     }
1725     flags&=(~0x00400000);
1726
1727     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED, tvb, offset-4, 4, flags);
1728     if(flags&0x00800000){
1729         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_SYNC_PREEMPTED");
1730     }
1731     flags&=(~0x00800000);
1732
1733     if(flags){
1734         proto_item_append_text(item, "UNKNOWN-FLAGS");
1735     }
1736
1737     return offset;
1738 }
1739 static int
1740 drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1741 {
1742     guint32 param=0;
1743     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_info, param);
1744     return offset;
1745 }
1746
1747 static int
1748 ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1749 {
1750     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSyncRequest1_info, NDR_POINTER_REF, "info", -1);
1751     return offset;
1752 }
1753
1754 static int
1755 drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1756 {
1757     guint32 param=0;
1758     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_guid1, param);
1759     return offset;
1760 }
1761
1762 static int
1763 drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1764 {
1765     guint32 param=0;
1766     offset=drsuapi_dissect_a_string(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_string1, param);
1767     return offset;
1768 }
1769
1770 static int
1771 unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1772 {
1773     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSyncRequest1_string1, NDR_POINTER_UNIQUE, "string1", -1);
1774     return offset;
1775 }
1776
1777 static int
1778 drsuapi_dissect_DsReplicaSyncRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1779 {
1780     guint32 param=0;
1781     offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest1_options, param);
1782     return offset;
1783 }
1784
1785
1786 int
1787 drsuapi_dissect_DsReplicaSyncRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1788 {
1789     proto_item *item=NULL;
1790     proto_tree *tree=NULL;
1791     int old_offset;
1792
1793     ALIGN_TO_4_BYTES;
1794
1795     old_offset=offset;
1796     if(parent_tree){
1797         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1798         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest1);
1799     }
1800
1801     offset=ref_drsuapi_dissect_DsReplicaSyncRequest1_info(tvb, offset, pinfo, tree, drep);
1802
1803     offset=drsuapi_dissect_DsReplicaSyncRequest1_guid1(tvb, offset, pinfo, tree, drep);
1804
1805     offset=unique_drsuapi_dissect_DsReplicaSyncRequest1_string1(tvb, offset, pinfo, tree, drep);
1806
1807     offset=drsuapi_dissect_DsReplicaSyncRequest1_options(tvb, offset, pinfo, tree, drep);
1808
1809     proto_item_set_len(item, offset-old_offset);
1810
1811     return offset;
1812 }
1813
1814 static int
1815 drsuapi_dissect_int32(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1816 {
1817     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1818     return offset;
1819 }
1820
1821 static int
1822 drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1823 {
1824     guint32 param=0;
1825     offset=drsuapi_dissect_DsReplicaSyncRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSyncRequest_1_req1, param);
1826     return offset;
1827 }
1828
1829
1830 static int
1831 drsuapi_dissect_union_DsReplicaSyncRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1832 {
1833     proto_item *item=NULL;
1834     proto_tree *tree=NULL;
1835     int old_offset;
1836     guint32 level = 0;
1837
1838     ALIGN_TO_4_BYTES;
1839
1840     old_offset=offset;
1841     if(parent_tree){
1842         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaSyncRequest");
1843         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaSyncRequest);
1844     }
1845
1846     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
1847                               drep, hf_index, &level);
1848
1849     switch(level){
1850     case 1:
1851         ALIGN_TO_4_BYTES;
1852         offset=drsuapi_dissect_union_DsReplicaSyncRequest_1_req1(tvb, offset, pinfo, tree, drep);
1853         break;
1854
1855     }
1856
1857     proto_item_set_len(item, offset-old_offset);
1858
1859    return offset;
1860 }
1861 static int
1862 drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1863 {
1864     guint32 param=0;
1865     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_bind_handle, param);
1866     return offset;
1867 }
1868
1869 static int
1870 ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1871 {
1872     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSync_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
1873     return offset;
1874 }
1875
1876 static int
1877 drsuapi_dissect_DsReplicaSync_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1878 {
1879     guint32 param=0;
1880     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_level, param);
1881     return offset;
1882 }
1883
1884 static int
1885 drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1886 {
1887     guint32 param=0;
1888     offset=drsuapi_dissect_union_DsReplicaSyncRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaSync_req, param);
1889     return offset;
1890 }
1891
1892 static int
1893 ref_drsuapi_dissect_DsReplicaSync_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1894 {
1895     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaSync_req, NDR_POINTER_REF, "req", -1);
1896     return offset;
1897 }
1898
1899
1900 static int
1901 drsuapi_dissect_DsReplicaSync_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1902 {
1903         offset=ref_drsuapi_dissect_DsReplicaSync_bind_handle(tvb, offset, pinfo, tree, drep);
1904         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1905
1906         offset=drsuapi_dissect_DsReplicaSync_level(tvb, offset, pinfo, tree, drep);
1907         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1908
1909         offset=ref_drsuapi_dissect_DsReplicaSync_req(tvb, offset, pinfo, tree, drep);
1910         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
1911
1912
1913    return offset;
1914 }
1915
1916 static int
1917 drsuapi_dissect_DsReplicaSync_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
1918 {
1919    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
1920
1921
1922    return offset;
1923 }
1924
1925 static int
1926 drsuapi_dissect_uint64(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
1927 {
1928     
1929     ALIGN_TO_8_BYTES;
1930     offset=dissect_ndr_uint64(tvb, offset, pinfo, tree, drep, hf_index, NULL);
1931
1932     return offset;
1933 }
1934
1935 static int
1936 drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1937 {
1938     guint32 param=0;
1939     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn1, param);
1940     return offset;
1941 }
1942
1943 static int
1944 drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1945 {
1946     guint32 param=0;
1947     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn2, param);
1948     return offset;
1949 }
1950
1951 static int
1952 drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1953 {
1954     guint32 param=0;
1955     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesUsnTriple_usn3, param);
1956     return offset;
1957 }
1958
1959
1960 int
1961 drsuapi_dissect_DsGetNCChangesUsnTriple(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
1962 {
1963     proto_item *item=NULL;
1964     proto_tree *tree=NULL;
1965     int old_offset;
1966
1967     ALIGN_TO_8_BYTES;
1968
1969     old_offset=offset;
1970     if(parent_tree){
1971         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
1972         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesUsnTriple);
1973     }
1974
1975     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn1(tvb, offset, pinfo, tree, drep);
1976
1977     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn2(tvb, offset, pinfo, tree, drep);
1978
1979     offset=drsuapi_dissect_DsGetNCChangesUsnTriple_usn3(tvb, offset, pinfo, tree, drep);
1980
1981     proto_item_set_len(item, offset-old_offset);
1982
1983     return offset;
1984 }
1985 static int
1986 drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1987 {
1988     guint32 param=0;
1989     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id, param);
1990     return offset;
1991 }
1992
1993 static int
1994 drsuapi_dissect_DsReplicaCoursor_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
1995 {
1996     guint32 param=0;
1997     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor_highest_usn, param);
1998     return offset;
1999 }
2000
2001
2002 int
2003 drsuapi_dissect_DsReplicaCoursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2004 {
2005     proto_item *item=NULL;
2006     proto_tree *tree=NULL;
2007     int old_offset;
2008
2009     ALIGN_TO_8_BYTES;
2010
2011     old_offset=offset;
2012     if(parent_tree){
2013         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2014         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor);
2015     }
2016
2017     offset=drsuapi_dissect_DsReplicaCoursor_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
2018
2019     offset=drsuapi_dissect_DsReplicaCoursor_highest_usn(tvb, offset, pinfo, tree, drep);
2020
2021     proto_item_set_len(item, offset-old_offset);
2022
2023     return offset;
2024 }
2025 static int
2026 drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2027 {
2028     guint32 param=0;
2029     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u1, param);
2030     return offset;
2031 }
2032
2033 static int
2034 drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2035 {
2036     guint32 param=0;
2037     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u2, param);
2038     return offset;
2039 }
2040
2041 static int
2042 drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2043 {
2044     guint32 param=0;
2045     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_count, param);
2046     return offset;
2047 }
2048
2049 static int
2050 drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2051 {
2052     guint32 param=0;
2053     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_u3, param);
2054     return offset;
2055 }
2056
2057 static int
2058 drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2059 {
2060     guint32 param=0;
2061     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor05Ctr_array, param);
2062     return offset;
2063 }
2064
2065 static int
2066 ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2067 {
2068     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor05Ctr_array);
2069     return offset;
2070 }
2071
2072
2073 int
2074 drsuapi_dissect_DsReplicaCoursor05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2075 {
2076     proto_item *item=NULL;
2077     proto_tree *tree=NULL;
2078     int old_offset;
2079
2080     ALIGN_TO_8_BYTES;
2081
2082     old_offset=offset;
2083     if(parent_tree){
2084         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2085         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor05Ctr);
2086     }
2087
2088     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u1(tvb, offset, pinfo, tree, drep);
2089
2090     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u2(tvb, offset, pinfo, tree, drep);
2091
2092     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_count(tvb, offset, pinfo, tree, drep);
2093
2094     offset=drsuapi_dissect_DsReplicaCoursor05Ctr_u3(tvb, offset, pinfo, tree, drep);
2095
2096     offset=ucarray_drsuapi_dissect_DsReplicaCoursor05Ctr_array(tvb, offset, pinfo, tree, drep);
2097
2098     proto_item_set_len(item, offset-old_offset);
2099
2100     return offset;
2101 }
2102 static int
2103 drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2104 {
2105     guint32 param=0;
2106     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_guid1, param);
2107     return offset;
2108 }
2109
2110 static int
2111 drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2112 {
2113     guint32 param=0;
2114     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_guid2, param);
2115     return offset;
2116 }
2117
2118 static int
2119 drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2120 {
2121     guint32 param=0;
2122     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1, param);
2123     return offset;
2124 }
2125
2126 static int
2127 ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2128 {
2129     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2130     return offset;
2131 }
2132
2133 static int
2134 drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2135 {
2136     guint32 param=0;
2137     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_usn1, param);
2138     return offset;
2139 }
2140
2141 static int
2142 drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2143 {
2144     guint32 param=0;
2145     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_coursor, param);
2146     return offset;
2147 }
2148
2149 static int
2150 unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2151 {
2152     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest5_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2153     return offset;
2154 }
2155
2156 static int
2157 drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2158 {
2159     guint32 param=0;
2160     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown1, param);
2161     return offset;
2162 }
2163
2164 static int
2165 drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2166 {
2167     guint32 param=0;
2168     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown2, param);
2169     return offset;
2170 }
2171
2172 static int
2173 drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2174 {
2175     guint32 param=0;
2176     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown3, param);
2177     return offset;
2178 }
2179
2180 static int
2181 drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2182 {
2183     guint32 param=0;
2184     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_unknown4, param);
2185     return offset;
2186 }
2187
2188 static int
2189 drsuapi_dissect_DsGetNCChangesRequest5_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2190 {
2191     guint32 param=0;
2192     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest5_h1, param);
2193     return offset;
2194 }
2195
2196
2197 int
2198 drsuapi_dissect_DsGetNCChangesRequest5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2199 {
2200     proto_item *item=NULL;
2201     proto_tree *tree=NULL;
2202     int old_offset;
2203
2204     ALIGN_TO_8_BYTES;
2205
2206     old_offset=offset;
2207     if(parent_tree){
2208         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2209         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest5);
2210     }
2211
2212     offset=drsuapi_dissect_DsGetNCChangesRequest5_guid1(tvb, offset, pinfo, tree, drep);
2213
2214     offset=drsuapi_dissect_DsGetNCChangesRequest5_guid2(tvb, offset, pinfo, tree, drep);
2215
2216     offset=ref_drsuapi_dissect_DsGetNCChangesRequest5_sync_req_info1(tvb, offset, pinfo, tree, drep);
2217
2218     offset=drsuapi_dissect_DsGetNCChangesRequest5_usn1(tvb, offset, pinfo, tree, drep);
2219
2220     offset=unique_drsuapi_dissect_DsGetNCChangesRequest5_coursor(tvb, offset, pinfo, tree, drep);
2221
2222     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown1(tvb, offset, pinfo, tree, drep);
2223
2224     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown2(tvb, offset, pinfo, tree, drep);
2225
2226     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown3(tvb, offset, pinfo, tree, drep);
2227
2228     offset=drsuapi_dissect_DsGetNCChangesRequest5_unknown4(tvb, offset, pinfo, tree, drep);
2229
2230     offset=drsuapi_dissect_DsGetNCChangesRequest5_h1(tvb, offset, pinfo, tree, drep);
2231
2232     proto_item_set_len(item, offset-old_offset);
2233
2234     return offset;
2235 }
2236 static int
2237 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2238 {
2239     guint32 param=0;
2240     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_length, param);
2241     return offset;
2242 }
2243
2244 static int
2245 drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2246 {
2247     guint32 param=0;
2248     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array, param);
2249     return offset;
2250 }
2251
2252 static int
2253 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2254 {
2255     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array);
2256     return offset;
2257 }
2258
2259 static int
2260 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2261 {
2262     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array, NDR_POINTER_UNIQUE, "byte_array", -1);
2263     return offset;
2264 }
2265
2266
2267 int
2268 drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2269 {
2270     proto_item *item=NULL;
2271     proto_tree *tree=NULL;
2272     int old_offset;
2273
2274     ALIGN_TO_4_BYTES;
2275
2276     old_offset=offset;
2277     if(parent_tree){
2278         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2279         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr14);
2280     }
2281
2282     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14_length(tvb, offset, pinfo, tree, drep);
2283
2284     offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr14_byte_array(tvb, offset, pinfo, tree, drep);
2285
2286     proto_item_set_len(item, offset-old_offset);
2287
2288     return offset;
2289 }
2290 static int
2291 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2292 {
2293     guint32 param=0;
2294     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1, param);
2295     return offset;
2296 }
2297
2298 static int
2299 drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2300 {
2301     guint32 param=0;
2302     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr14(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr13_data, param);
2303     return offset;
2304 }
2305
2306
2307 int
2308 drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2309 {
2310     proto_item *item=NULL;
2311     proto_tree *tree=NULL;
2312     int old_offset;
2313
2314     ALIGN_TO_4_BYTES;
2315
2316     old_offset=offset;
2317     if(parent_tree){
2318         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2319         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr13);
2320     }
2321
2322     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_unknown1(tvb, offset, pinfo, tree, drep);
2323
2324     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13_data(tvb, offset, pinfo, tree, drep);
2325
2326     proto_item_set_len(item, offset-old_offset);
2327
2328     return offset;
2329 }
2330 static int
2331 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2332 {
2333     guint32 param=0;
2334     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_count, param);
2335     return offset;
2336 }
2337
2338 static int
2339 drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2340 {
2341     guint32 param=0;
2342     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr13(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_Ctr12_array, param);
2343     return offset;
2344 }
2345
2346 static int
2347 ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2348 {
2349     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array);
2350     return offset;
2351 }
2352
2353 static int
2354 unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2355 {
2356     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array, NDR_POINTER_UNIQUE, "array", -1);
2357     return offset;
2358 }
2359
2360
2361 int
2362 drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2363 {
2364     proto_item *item=NULL;
2365     proto_tree *tree=NULL;
2366     int old_offset;
2367
2368     ALIGN_TO_4_BYTES;
2369
2370     old_offset=offset;
2371     if(parent_tree){
2372         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2373         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest_Ctr12);
2374     }
2375
2376     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12_count(tvb, offset, pinfo, tree, drep);
2377
2378     offset=unique_ucarray_drsuapi_dissect_DsGetNCChangesRequest_Ctr12_array(tvb, offset, pinfo, tree, drep);
2379
2380     proto_item_set_len(item, offset-old_offset);
2381
2382     return offset;
2383 }
2384 static int
2385 drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2386 {
2387     guint32 param=0;
2388     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_guid1, param);
2389     return offset;
2390 }
2391
2392 static int
2393 drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2394 {
2395     guint32 param=0;
2396     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_guid2, param);
2397     return offset;
2398 }
2399
2400 static int
2401 drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2402 {
2403     guint32 param=0;
2404     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1, param);
2405     return offset;
2406 }
2407
2408 static int
2409 ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2410 {
2411     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1, NDR_POINTER_REF, "sync_req_info1", -1);
2412     return offset;
2413 }
2414
2415 static int
2416 drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2417 {
2418     guint32 param=0;
2419     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_usn1, param);
2420     return offset;
2421 }
2422
2423 static int
2424 drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2425 {
2426     guint32 param=0;
2427     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_coursor, param);
2428     return offset;
2429 }
2430
2431 static int
2432 unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2433 {
2434     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesRequest8_coursor, NDR_POINTER_UNIQUE, "coursor", -1);
2435     return offset;
2436 }
2437
2438 static int
2439 drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2440 {
2441     guint32 param=0;
2442     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown1, param);
2443     return offset;
2444 }
2445
2446 static int
2447 drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2448 {
2449     guint32 param=0;
2450     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown2, param);
2451     return offset;
2452 }
2453
2454 static int
2455 drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2456 {
2457     guint32 param=0;
2458     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown3, param);
2459     return offset;
2460 }
2461
2462 static int
2463 drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2464 {
2465     guint32 param=0;
2466     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unknown4, param);
2467     return offset;
2468 }
2469
2470 static int
2471 drsuapi_dissect_DsGetNCChangesRequest8_h1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2472 {
2473     guint32 param=0;
2474     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_h1, param);
2475     return offset;
2476 }
2477
2478 static int
2479 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2480 {
2481     guint32 param=0;
2482     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1, param);
2483     return offset;
2484 }
2485
2486 static int
2487 drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2488 {
2489     guint32 param=0;
2490     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2, param);
2491     return offset;
2492 }
2493
2494 static int
2495 drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2496 {
2497     guint32 param=0;
2498     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest8_ctr12, param);
2499     return offset;
2500 }
2501
2502
2503 int
2504 drsuapi_dissect_DsGetNCChangesRequest8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2505 {
2506     proto_item *item=NULL;
2507     proto_tree *tree=NULL;
2508     int old_offset;
2509
2510     ALIGN_TO_8_BYTES;
2511
2512     old_offset=offset;
2513     if(parent_tree){
2514         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2515         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest8);
2516     }
2517
2518     offset=drsuapi_dissect_DsGetNCChangesRequest8_guid1(tvb, offset, pinfo, tree, drep);
2519
2520     offset=drsuapi_dissect_DsGetNCChangesRequest8_guid2(tvb, offset, pinfo, tree, drep);
2521
2522     offset=ref_drsuapi_dissect_DsGetNCChangesRequest8_sync_req_info1(tvb, offset, pinfo, tree, drep);
2523
2524     offset=drsuapi_dissect_DsGetNCChangesRequest8_usn1(tvb, offset, pinfo, tree, drep);
2525
2526     offset=unique_drsuapi_dissect_DsGetNCChangesRequest8_coursor(tvb, offset, pinfo, tree, drep);
2527
2528     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown1(tvb, offset, pinfo, tree, drep);
2529
2530     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown2(tvb, offset, pinfo, tree, drep);
2531
2532     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown3(tvb, offset, pinfo, tree, drep);
2533
2534     offset=drsuapi_dissect_DsGetNCChangesRequest8_unknown4(tvb, offset, pinfo, tree, drep);
2535
2536     offset=drsuapi_dissect_DsGetNCChangesRequest8_h1(tvb, offset, pinfo, tree, drep);
2537
2538     offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr1(tvb, offset, pinfo, tree, drep);
2539
2540     offset=drsuapi_dissect_DsGetNCChangesRequest8_unique_ptr2(tvb, offset, pinfo, tree, drep);
2541
2542     offset=drsuapi_dissect_DsGetNCChangesRequest8_ctr12(tvb, offset, pinfo, tree, drep);
2543
2544     proto_item_set_len(item, offset-old_offset);
2545
2546     return offset;
2547 }
2548 static int
2549 drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2550 {
2551     guint32 param=0;
2552     offset=drsuapi_dissect_DsGetNCChangesRequest5(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_5_req5, param);
2553     return offset;
2554 }
2555
2556 static int
2557 drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2558 {
2559     guint32 param=0;
2560     offset=drsuapi_dissect_DsGetNCChangesRequest8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesRequest_8_req8, param);
2561     return offset;
2562 }
2563
2564
2565 static int
2566 drsuapi_dissect_union_DsGetNCChangesRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2567 {
2568     proto_item *item=NULL;
2569     proto_tree *tree=NULL;
2570     int old_offset;
2571     guint32 level = 0;
2572
2573     ALIGN_TO_4_BYTES;
2574
2575     old_offset=offset;
2576     if(parent_tree){
2577         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesRequest");
2578         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesRequest);
2579     }
2580
2581     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2582                               drep, hf_index, &level);
2583
2584     switch(level){
2585     case 5:
2586         ALIGN_TO_8_BYTES;
2587         offset=drsuapi_dissect_union_DsGetNCChangesRequest_5_req5(tvb, offset, pinfo, tree, drep);
2588         break;
2589
2590     case 8:
2591         ALIGN_TO_8_BYTES;
2592         offset=drsuapi_dissect_union_DsGetNCChangesRequest_8_req8(tvb, offset, pinfo, tree, drep);
2593         break;
2594
2595     }
2596
2597     proto_item_set_len(item, offset-old_offset);
2598
2599    return offset;
2600 }
2601 static int
2602 drsuapi_dissect_DsReplicaCoursorEx_coursor(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2603 {
2604     guint32 param=0;
2605     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx_coursor, param);
2606     return offset;
2607 }
2608
2609
2610 static int
2611 drsuapi_dissect_NTTIME_1sec(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
2612 {
2613     ALIGN_TO_8_BYTES;
2614     offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_index);
2615
2616     return offset;
2617 }
2618
2619 static int
2620 drsuapi_dissect_DsReplicaCoursorEx_time1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2621 {
2622     guint32 param=0;
2623     offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx_time1, param);
2624     return offset;
2625 }
2626
2627
2628 int
2629 drsuapi_dissect_DsReplicaCoursorEx(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2630 {
2631     proto_item *item=NULL;
2632     proto_tree *tree=NULL;
2633     int old_offset;
2634
2635     ALIGN_TO_8_BYTES;
2636
2637     old_offset=offset;
2638     if(parent_tree){
2639         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2640         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx);
2641     }
2642
2643     offset=drsuapi_dissect_DsReplicaCoursorEx_coursor(tvb, offset, pinfo, tree, drep);
2644
2645     offset=drsuapi_dissect_DsReplicaCoursorEx_time1(tvb, offset, pinfo, tree, drep);
2646
2647     proto_item_set_len(item, offset-old_offset);
2648
2649     return offset;
2650 }
2651 static int
2652 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2653 {
2654     guint32 param=0;
2655     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u1, param);
2656     return offset;
2657 }
2658
2659 static int
2660 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2661 {
2662     guint32 param=0;
2663     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u2, param);
2664     return offset;
2665 }
2666
2667 static int
2668 drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2669 {
2670     guint32 param=0;
2671     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_count, param);
2672     return offset;
2673 }
2674
2675 static int
2676 drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2677 {
2678     guint32 param=0;
2679     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_u3, param);
2680     return offset;
2681 }
2682
2683 static int
2684 drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2685 {
2686     guint32 param=0;
2687     offset=drsuapi_dissect_DsReplicaCoursorEx(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorEx05Ctr_array, param);
2688     return offset;
2689 }
2690
2691 static int
2692 ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2693 {
2694     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursorEx05Ctr_array);
2695     return offset;
2696 }
2697
2698
2699 int
2700 drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2701 {
2702     proto_item *item=NULL;
2703     proto_tree *tree=NULL;
2704     int old_offset;
2705
2706     ALIGN_TO_8_BYTES;
2707
2708     old_offset=offset;
2709     if(parent_tree){
2710         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2711         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorEx05Ctr);
2712     }
2713
2714     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u1(tvb, offset, pinfo, tree, drep);
2715
2716     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u2(tvb, offset, pinfo, tree, drep);
2717
2718     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_count(tvb, offset, pinfo, tree, drep);
2719
2720     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr_u3(tvb, offset, pinfo, tree, drep);
2721
2722     offset=ucarray_drsuapi_dissect_DsReplicaCoursorEx05Ctr_array(tvb, offset, pinfo, tree, drep);
2723
2724     proto_item_set_len(item, offset-old_offset);
2725
2726     return offset;
2727 }
2728 static int
2729 drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2730 {
2731     guint32 param=0;
2732     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_guid1, param);
2733     return offset;
2734 }
2735
2736 static int
2737 drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2738 {
2739     guint32 param=0;
2740     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_guid2, param);
2741     return offset;
2742 }
2743
2744 static int
2745 drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2746 {
2747     guint32 param=0;
2748     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1, param);
2749     return offset;
2750 }
2751
2752 static int
2753 unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2754 {
2755     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1, NDR_POINTER_UNIQUE, "sync_req_info1", -1);
2756     return offset;
2757 }
2758
2759 static int
2760 drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2761 {
2762     guint32 param=0;
2763     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_usn1, param);
2764     return offset;
2765 }
2766
2767 static int
2768 drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2769 {
2770     guint32 param=0;
2771     offset=drsuapi_dissect_DsGetNCChangesUsnTriple(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_usn2, param);
2772     return offset;
2773 }
2774
2775 static int
2776 drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2777 {
2778     guint32 param=0;
2779     offset=drsuapi_dissect_DsReplicaCoursorEx05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_coursor_ex, param);
2780     return offset;
2781 }
2782
2783 static int
2784 unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2785 {
2786     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex, NDR_POINTER_UNIQUE, "coursor_ex", -1);
2787     return offset;
2788 }
2789
2790 static int
2791 drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2792 {
2793     guint32 param=0;
2794     offset=drsuapi_dissect_DsGetNCChangesRequest_Ctr12(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_ctr12, param);
2795     return offset;
2796 }
2797
2798 static int
2799 drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2800 {
2801     guint32 param=0;
2802     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u1, param);
2803     return offset;
2804 }
2805
2806 static int
2807 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2808 {
2809     int count=3;
2810     while(count--){
2811         offset=drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, drep);
2812     }
2813
2814     return offset;
2815 }
2816
2817 static int
2818 drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2819 {
2820     guint32 param=0;
2821     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_ptr1, param);
2822     return offset;
2823 }
2824
2825 static int
2826 drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2827 {
2828     guint32 param=0;
2829     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u2, param);
2830     return offset;
2831 }
2832
2833 static int
2834 fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2835 {
2836     int count=3;
2837     while(count--){
2838         offset=drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, drep);
2839     }
2840
2841     return offset;
2842 }
2843
2844 static int
2845 drsuapi_dissect_DsGetNCChangesCtr6_len1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2846 {
2847     guint32 param=0;
2848     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_len1, param);
2849     return offset;
2850 }
2851
2852 static int
2853 drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2854 {
2855     guint32 param=0;
2856     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_array_ptr1, param);
2857     return offset;
2858 }
2859
2860 static int
2861 drsuapi_dissect_DsGetNCChangesCtr6_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2862 {
2863     guint32 param=0;
2864     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr6_u3, param);
2865     return offset;
2866 }
2867
2868
2869 int
2870 drsuapi_dissect_DsGetNCChangesCtr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2871 {
2872     proto_item *item=NULL;
2873     proto_tree *tree=NULL;
2874     int old_offset;
2875
2876     ALIGN_TO_8_BYTES;
2877
2878     old_offset=offset;
2879     if(parent_tree){
2880         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2881         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr6);
2882     }
2883
2884     offset=drsuapi_dissect_DsGetNCChangesCtr6_guid1(tvb, offset, pinfo, tree, drep);
2885
2886     offset=drsuapi_dissect_DsGetNCChangesCtr6_guid2(tvb, offset, pinfo, tree, drep);
2887
2888     offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_sync_req_info1(tvb, offset, pinfo, tree, drep);
2889
2890     offset=drsuapi_dissect_DsGetNCChangesCtr6_usn1(tvb, offset, pinfo, tree, drep);
2891
2892     offset=drsuapi_dissect_DsGetNCChangesCtr6_usn2(tvb, offset, pinfo, tree, drep);
2893
2894     offset=unique_drsuapi_dissect_DsGetNCChangesCtr6_coursor_ex(tvb, offset, pinfo, tree, drep);
2895
2896     offset=drsuapi_dissect_DsGetNCChangesCtr6_ctr12(tvb, offset, pinfo, tree, drep);
2897
2898     offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u1(tvb, offset, pinfo, tree, drep);
2899
2900     offset=drsuapi_dissect_DsGetNCChangesCtr6_ptr1(tvb, offset, pinfo, tree, drep);
2901
2902     offset=fixedarray_drsuapi_dissect_DsGetNCChangesCtr6_u2(tvb, offset, pinfo, tree, drep);
2903
2904     offset=drsuapi_dissect_DsGetNCChangesCtr6_len1(tvb, offset, pinfo, tree, drep);
2905
2906     offset=drsuapi_dissect_DsGetNCChangesCtr6_array_ptr1(tvb, offset, pinfo, tree, drep);
2907
2908     offset=drsuapi_dissect_DsGetNCChangesCtr6_u3(tvb, offset, pinfo, tree, drep);
2909
2910     proto_item_set_len(item, offset-old_offset);
2911
2912     return offset;
2913 }
2914
2915 int
2916 drsuapi_dissect_DsGetNCChangesCtr7(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *parent_tree, guint8 *drep _U_, int hf_index, guint32 param _U_)
2917 {
2918     proto_item *item=NULL;
2919     proto_tree *tree=NULL;
2920     int old_offset;
2921
2922     old_offset=offset;
2923     if(parent_tree){
2924         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
2925         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr7);
2926     }
2927
2928     proto_item_set_len(item, offset-old_offset);
2929
2930     return offset;
2931 }
2932 static int
2933 drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2934 {
2935     guint32 param=0;
2936     offset=drsuapi_dissect_DsGetNCChangesCtr6(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr_6_ctr6, param);
2937     return offset;
2938 }
2939
2940 static int
2941 drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2942 {
2943     guint32 param=0;
2944     offset=drsuapi_dissect_DsGetNCChangesCtr7(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChangesCtr_7_ctr7, param);
2945     return offset;
2946 }
2947
2948
2949 static int
2950 drsuapi_dissect_union_DsGetNCChangesCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
2951 {
2952     proto_item *item=NULL;
2953     proto_tree *tree=NULL;
2954     int old_offset;
2955     guint32 level = 0;
2956
2957     ALIGN_TO_4_BYTES;
2958
2959     old_offset=offset;
2960     if(parent_tree){
2961         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetNCChangesCtr");
2962         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetNCChangesCtr);
2963     }
2964
2965     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
2966                               drep, hf_index, &level);
2967
2968     switch(level){
2969     case 6:
2970         ALIGN_TO_8_BYTES;
2971         offset=drsuapi_dissect_union_DsGetNCChangesCtr_6_ctr6(tvb, offset, pinfo, tree, drep);
2972         break;
2973
2974     case 7:
2975         offset=drsuapi_dissect_union_DsGetNCChangesCtr_7_ctr7(tvb, offset, pinfo, tree, drep);
2976         break;
2977
2978     }
2979
2980     proto_item_set_len(item, offset-old_offset);
2981
2982    return offset;
2983 }
2984 static int
2985 drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2986 {
2987     guint32 param=0;
2988     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_bind_handle, param);
2989     return offset;
2990 }
2991
2992 static int
2993 ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
2994 {
2995     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetNCChanges_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
2996     return offset;
2997 }
2998
2999 static int
3000 drsuapi_dissect_DsGetNCChanges_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3001 {
3002     guint32 param=0;
3003     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_level, param);
3004     return offset;
3005 }
3006
3007 static int
3008 drsuapi_dissect_DsGetNCChanges_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3009 {
3010     guint32 param=0;
3011     offset=drsuapi_dissect_union_DsGetNCChangesRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_req, param);
3012     return offset;
3013 }
3014
3015 static int
3016 drsuapi_dissect_DsGetNCChanges_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3017 {
3018     guint32 param=0;
3019     offset=drsuapi_dissect_union_DsGetNCChangesCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetNCChanges_ctr, param);
3020     return offset;
3021 }
3022
3023
3024 static int
3025 drsuapi_dissect_DsGetNCChanges_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3026 {
3027         offset=ref_drsuapi_dissect_DsGetNCChanges_bind_handle(tvb, offset, pinfo, tree, drep);
3028         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3029
3030         offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, drep);
3031         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3032
3033         offset=drsuapi_dissect_DsGetNCChanges_req(tvb, offset, pinfo, tree, drep);
3034         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3035
3036
3037    return offset;
3038 }
3039
3040 static int
3041 drsuapi_dissect_DsGetNCChanges_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3042 {
3043         offset=drsuapi_dissect_DsGetNCChanges_level(tvb, offset, pinfo, tree, drep);
3044         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3045
3046         offset=drsuapi_dissect_DsGetNCChanges_ctr(tvb, offset, pinfo, tree, drep);
3047         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3048
3049    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3050
3051
3052    return offset;
3053 }
3054 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs = {
3055     "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is SET",
3056     "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION is NOT set"
3057 };
3058
3059 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs = {
3060     "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is SET",
3061     "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE is NOT set"
3062 };
3063
3064 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs = {
3065     "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is SET",
3066     "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE is NOT set"
3067 };
3068
3069 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs = {
3070     "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is SET",
3071     "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE is NOT set"
3072 };
3073
3074 static const true_false_string DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs = {
3075     "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is SET",
3076     "DRSUAPI_DS_REPLICA_UPDATE_0x00000010 is NOT set"
3077 };
3078
3079
3080 int
3081 drsuapi_dissect_DsReplicaUpdateRefsOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3082 {
3083     proto_item *item=NULL;
3084     proto_tree *tree=NULL;
3085     guint32 flags;
3086
3087     ALIGN_TO_4_BYTES;
3088
3089     if(parent_tree){
3090         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3091         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsOptions);
3092     }
3093
3094     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3095
3096
3097     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3098     if(flags&0x00000001){
3099         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION");
3100     }
3101     flags&=(~0x00000001);
3102
3103     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE, tvb, offset-4, 4, flags);
3104     if(flags&0x00000002){
3105         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE");
3106     }
3107     flags&=(~0x00000002);
3108
3109     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE, tvb, offset-4, 4, flags);
3110     if(flags&0x00000004){
3111         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE");
3112     }
3113     flags&=(~0x00000004);
3114
3115     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE, tvb, offset-4, 4, flags);
3116     if(flags&0x00000008){
3117         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE");
3118     }
3119     flags&=(~0x00000008);
3120
3121     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010, tvb, offset-4, 4, flags);
3122     if(flags&0x00000010){
3123         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_UPDATE_0x00000010");
3124     }
3125     flags&=(~0x00000010);
3126
3127     if(flags){
3128         proto_item_append_text(item, "UNKNOWN-FLAGS");
3129     }
3130
3131     return offset;
3132 }
3133 static int
3134 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3135 {
3136     guint32 param=0;
3137     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1, param);
3138     return offset;
3139 }
3140
3141 static int
3142 drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3143 {
3144     guint32 param=0;
3145     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2, param);
3146     return offset;
3147 }
3148
3149 static int
3150 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3151 {
3152     guint32 param=0;
3153     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid, param);
3154     return offset;
3155 }
3156
3157 static int
3158 drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3159 {
3160     guint32 param=0;
3161     offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_options, param);
3162     return offset;
3163 }
3164
3165 static int
3166 drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3167 {
3168     guint32 param=0;
3169     offset=drsuapi_dissect_DsReplicaSyncRequest1Info(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1, param);
3170     return offset;
3171 }
3172
3173
3174 static int
3175 drsuapi_dissect_ascstr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3176 {
3177     offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, 1, hf_index, FALSE, NULL);
3178     return offset;
3179 }
3180
3181 static int
3182 drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3183 {
3184     guint32 param=0;
3185     offset=drsuapi_dissect_ascstr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name, param);
3186     return offset;
3187 }
3188
3189
3190 int
3191 drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3192 {
3193     proto_item *item=NULL;
3194     proto_tree *tree=NULL;
3195     int old_offset;
3196
3197     ALIGN_TO_4_BYTES;
3198
3199     old_offset=offset;
3200     if(parent_tree){
3201         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3202         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest1);
3203     }
3204
3205     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown1(tvb, offset, pinfo, tree, drep);
3206
3207     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_unknown2(tvb, offset, pinfo, tree, drep);
3208
3209     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_guid(tvb, offset, pinfo, tree, drep);
3210
3211     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_options(tvb, offset, pinfo, tree, drep);
3212
3213     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_sync_req_info1(tvb, offset, pinfo, tree, drep);
3214
3215     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name(tvb, offset, pinfo, tree, drep);
3216
3217     proto_item_set_len(item, offset-old_offset);
3218
3219     return offset;
3220 }
3221 static int
3222 drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3223 {
3224     guint32 param=0;
3225     offset=drsuapi_dissect_DsReplicaUpdateRefsRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1, param);
3226     return offset;
3227 }
3228
3229
3230 static int
3231 drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3232 {
3233     proto_item *item=NULL;
3234     proto_tree *tree=NULL;
3235     int old_offset;
3236     guint32 level = 0;
3237
3238     ALIGN_TO_4_BYTES;
3239
3240     old_offset=offset;
3241     if(parent_tree){
3242         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaUpdateRefsRequest");
3243         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaUpdateRefsRequest);
3244     }
3245
3246     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3247                               drep, hf_index, &level);
3248
3249     switch(level){
3250     case 1:
3251         ALIGN_TO_4_BYTES;
3252         offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest_1_req1(tvb, offset, pinfo, tree, drep);
3253         break;
3254
3255     }
3256
3257     proto_item_set_len(item, offset-old_offset);
3258
3259    return offset;
3260 }
3261 static int
3262 drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3263 {
3264     guint32 param=0;
3265     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_bind_handle, param);
3266     return offset;
3267 }
3268
3269 static int
3270 ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3271 {
3272     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaUpdateRefs_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3273     return offset;
3274 }
3275
3276 static int
3277 drsuapi_dissect_DsReplicaUpdateRefs_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3278 {
3279     guint32 param=0;
3280     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_level, param);
3281     return offset;
3282 }
3283
3284 static int
3285 drsuapi_dissect_DsReplicaUpdateRefs_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3286 {
3287     guint32 param=0;
3288     offset=drsuapi_dissect_union_DsReplicaUpdateRefsRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaUpdateRefs_req, param);
3289     return offset;
3290 }
3291
3292
3293 static int
3294 drsuapi_dissect_DsReplicaUpdateRefs_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3295 {
3296         offset=ref_drsuapi_dissect_DsReplicaUpdateRefs_bind_handle(tvb, offset, pinfo, tree, drep);
3297         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3298
3299         offset=drsuapi_dissect_DsReplicaUpdateRefs_level(tvb, offset, pinfo, tree, drep);
3300         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3301
3302         offset=drsuapi_dissect_DsReplicaUpdateRefs_req(tvb, offset, pinfo, tree, drep);
3303         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
3304
3305
3306    return offset;
3307 }
3308
3309 static int
3310 drsuapi_dissect_DsReplicaUpdateRefs_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3311 {
3312    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3313
3314
3315    return offset;
3316 }
3317 static const true_false_string DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs = {
3318     "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is SET",
3319     "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION is NOT set"
3320 };
3321
3322 static const true_false_string DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs = {
3323     "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is SET",
3324     "DRSUAPI_DS_REPLICA_ADD_WRITEABLE is NOT set"
3325 };
3326
3327
3328 int
3329 drsuapi_dissect_DsReplicaAddOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3330 {
3331     proto_item *item=NULL;
3332     proto_tree *tree=NULL;
3333     guint32 flags;
3334
3335     ALIGN_TO_4_BYTES;
3336
3337     if(parent_tree){
3338         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3339         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAddOptions);
3340     }
3341
3342     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3343
3344
3345     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3346     if(flags&0x00000001){
3347         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION");
3348     }
3349     flags&=(~0x00000001);
3350
3351     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE, tvb, offset-4, 4, flags);
3352     if(flags&0x00000002){
3353         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_ADD_WRITEABLE");
3354     }
3355     flags&=(~0x00000002);
3356
3357     if(flags){
3358         proto_item_append_text(item, "UNKNOWN-FLAGS");
3359     }
3360
3361     return offset;
3362 }
3363
3364 static int
3365 drsuapi_dissect_DRSUAPI_REPLICA_ADD_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3366 {
3367
3368    return offset;
3369 }
3370
3371 static int
3372 drsuapi_dissect_DRSUAPI_REPLICA_ADD_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3373 {
3374    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3375
3376
3377    return offset;
3378 }
3379 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs = {
3380     "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is SET",
3381     "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION is NOT set"
3382 };
3383
3384 static const true_false_string DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs = {
3385     "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is SET",
3386     "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE is NOT set"
3387 };
3388
3389
3390 int
3391 drsuapi_dissect_DsReplicaDeleteOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3392 {
3393     proto_item *item=NULL;
3394     proto_tree *tree=NULL;
3395     guint32 flags;
3396
3397     ALIGN_TO_4_BYTES;
3398
3399     if(parent_tree){
3400         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3401         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaDeleteOptions);
3402     }
3403
3404     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3405
3406
3407     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3408     if(flags&0x00000001){
3409         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION");
3410     }
3411     flags&=(~0x00000001);
3412
3413     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE, tvb, offset-4, 4, flags);
3414     if(flags&0x00000002){
3415         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_DELETE_WRITEABLE");
3416     }
3417     flags&=(~0x00000002);
3418
3419     if(flags){
3420         proto_item_append_text(item, "UNKNOWN-FLAGS");
3421     }
3422
3423     return offset;
3424 }
3425
3426 static int
3427 drsuapi_dissect_DRSUAPI_REPLICA_DEL_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3428 {
3429
3430    return offset;
3431 }
3432
3433 static int
3434 drsuapi_dissect_DRSUAPI_REPLICA_DEL_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3435 {
3436    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3437
3438
3439    return offset;
3440 }
3441 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs = {
3442     "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is SET",
3443     "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION is NOT set"
3444 };
3445
3446 static const true_false_string DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs = {
3447     "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is SET",
3448     "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE is NOT set"
3449 };
3450
3451
3452 int
3453 drsuapi_dissect_DsReplicaModifyOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3454 {
3455     proto_item *item=NULL;
3456     proto_tree *tree=NULL;
3457     guint32 flags;
3458
3459     ALIGN_TO_4_BYTES;
3460
3461     if(parent_tree){
3462         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, 4, TRUE);
3463         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaModifyOptions);
3464     }
3465
3466     offset=dissect_ndr_uint32(tvb, offset, pinfo, NULL, drep, -1, &flags);
3467
3468
3469     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION, tvb, offset-4, 4, flags);
3470     if(flags&0x00000001){
3471         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION");
3472     }
3473     flags&=(~0x00000001);
3474
3475     proto_tree_add_boolean(tree, hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE, tvb, offset-4, 4, flags);
3476     if(flags&0x00000002){
3477         proto_item_append_text(item, " DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE");
3478     }
3479     flags&=(~0x00000002);
3480
3481     if(flags){
3482         proto_item_append_text(item, "UNKNOWN-FLAGS");
3483     }
3484
3485     return offset;
3486 }
3487
3488 static int
3489 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3490 {
3491
3492    return offset;
3493 }
3494
3495 static int
3496 drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3497 {
3498    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3499
3500
3501    return offset;
3502 }
3503
3504 static int
3505 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3506 {
3507
3508    return offset;
3509 }
3510
3511 static int
3512 drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3513 {
3514    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3515
3516
3517    return offset;
3518 }
3519
3520 static int
3521 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3522 {
3523
3524    return offset;
3525 }
3526
3527 static int
3528 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3529 {
3530    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3531
3532
3533    return offset;
3534 }
3535
3536 static int
3537 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3538 {
3539
3540    return offset;
3541 }
3542
3543 static int
3544 drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3545 {
3546    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3547
3548
3549    return offset;
3550 }
3551
3552 static int
3553 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3554 {
3555
3556    return offset;
3557 }
3558
3559 static int
3560 drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
3561 {
3562    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
3563
3564
3565    return offset;
3566 }
3567
3568 const value_string drsuapi_DsNameStatus_vals[] = {
3569     { 0 , "DRSUAPI_DS_NAME_STATUS_OK" },
3570     { 1 , "DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR" },
3571     { 2 , "DRSUAPI_DS_NAME_STATUS_NOT_FOUND" },
3572     { 3 , "DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE" },
3573     { 4 , "DRSUAPI_DS_NAME_STATUS_NO_MAPPING" },
3574     { 5 , "DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY" },
3575     { 6 , "DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING" },
3576     { 7 , "DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL" },
3577     { 0 , NULL }
3578 };
3579
3580 int
3581 drsuapi_dissect_DsNameStatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3582 {
3583     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3584     return offset;
3585 }
3586
3587
3588 const value_string drsuapi_DsNameFlags_vals[] = {
3589     { 0 , "DRSUAPI_DS_NAME_FLAG_NO_FLAGS" },
3590     { 0 , "DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY" },
3591     { 0 , "DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC" },
3592     { 0 , "DRSUAPI_DS_NAME_FLAG_GCVERIFY" },
3593     { 0 , "DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL" },
3594     { 0 , NULL }
3595 };
3596
3597 int
3598 drsuapi_dissect_DsNameFlags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3599 {
3600     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3601     return offset;
3602 }
3603
3604
3605 const value_string drsuapi_DsNameFormat_vals[] = {
3606     { 0 , "DRSUAPI_DS_NAME_FORMAT_UKNOWN" },
3607     { 1 , "DRSUAPI_DS_NAME_FORMAT_FQDN_1779" },
3608     { 2 , "DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT" },
3609     { 3 , "DRSUAPI_DS_NAME_FORMAT_DISPLAY" },
3610     { 6 , "DRSUAPI_DS_NAME_FORMAT_GUID" },
3611     { 7 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL" },
3612     { 8 , "DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL" },
3613     { 9 , "DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX" },
3614     { 10        , "DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL" },
3615     { 11        , "DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY" },
3616     { 12        , "DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN" },
3617     { 0 , NULL }
3618 };
3619
3620 int
3621 drsuapi_dissect_DsNameFormat(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3622 {
3623     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
3624     return offset;
3625 }
3626
3627
3628 static int
3629 drsuapi_dissect_unistr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
3630 {
3631     offset=dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, 2, hf_index, FALSE, NULL);
3632     return offset;
3633 }
3634
3635 static int
3636 drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3637 {
3638     guint32 param=0;
3639     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameString_str, param);
3640     return offset;
3641 }
3642
3643 static int
3644 unique_drsuapi_dissect_DsNameString_str(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3645 {
3646     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameString_str, NDR_POINTER_UNIQUE, "str", -1);
3647     return offset;
3648 }
3649
3650
3651 int
3652 drsuapi_dissect_DsNameString(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3653 {
3654     proto_item *item=NULL;
3655     proto_tree *tree=NULL;
3656     int old_offset;
3657
3658     ALIGN_TO_4_BYTES;
3659
3660     old_offset=offset;
3661     if(parent_tree){
3662         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3663         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameString);
3664     }
3665
3666     offset=unique_drsuapi_dissect_DsNameString_str(tvb, offset, pinfo, tree, drep);
3667
3668     proto_item_set_len(item, offset-old_offset);
3669
3670     return offset;
3671 }
3672 static int
3673 drsuapi_dissect_DsNameRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3674 {
3675     guint32 param=0;
3676     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_unknown1, param);
3677     return offset;
3678 }
3679
3680 static int
3681 drsuapi_dissect_DsNameRequest1_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3682 {
3683     guint32 param=0;
3684     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_unknown2, param);
3685     return offset;
3686 }
3687
3688 static int
3689 drsuapi_dissect_DsNameRequest1_format_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3690 {
3691     guint32 param=0;
3692     offset=drsuapi_dissect_DsNameFlags(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_flags, param);
3693     return offset;
3694 }
3695
3696 static int
3697 drsuapi_dissect_DsNameRequest1_format_offered(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3698 {
3699     guint32 param=0;
3700     offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_offered, param);
3701     return offset;
3702 }
3703
3704 static int
3705 drsuapi_dissect_DsNameRequest1_format_desired(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3706 {
3707     guint32 param=0;
3708     offset=drsuapi_dissect_DsNameFormat(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_format_desired, param);
3709     return offset;
3710 }
3711
3712 static int
3713 drsuapi_dissect_DsNameRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3714 {
3715     guint32 param=0;
3716     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_count, param);
3717     return offset;
3718 }
3719
3720 static int
3721 drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3722 {
3723     guint32 param=0;
3724     offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest1_names, param);
3725     return offset;
3726 }
3727
3728 static int
3729 ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3730 {
3731     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameRequest1_names);
3732     return offset;
3733 }
3734
3735 static int
3736 unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3737 {
3738     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsNameRequest1_names, NDR_POINTER_UNIQUE, "names", -1);
3739     return offset;
3740 }
3741
3742
3743 int
3744 drsuapi_dissect_DsNameRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3745 {
3746     proto_item *item=NULL;
3747     proto_tree *tree=NULL;
3748     int old_offset;
3749
3750     ALIGN_TO_4_BYTES;
3751
3752     old_offset=offset;
3753     if(parent_tree){
3754         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3755         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest1);
3756     }
3757
3758     offset=drsuapi_dissect_DsNameRequest1_unknown1(tvb, offset, pinfo, tree, drep);
3759
3760     offset=drsuapi_dissect_DsNameRequest1_unknown2(tvb, offset, pinfo, tree, drep);
3761
3762     offset=drsuapi_dissect_DsNameRequest1_format_flags(tvb, offset, pinfo, tree, drep);
3763
3764     offset=drsuapi_dissect_DsNameRequest1_format_offered(tvb, offset, pinfo, tree, drep);
3765
3766     offset=drsuapi_dissect_DsNameRequest1_format_desired(tvb, offset, pinfo, tree, drep);
3767
3768     offset=drsuapi_dissect_DsNameRequest1_count(tvb, offset, pinfo, tree, drep);
3769
3770     offset=unique_ucarray_drsuapi_dissect_DsNameRequest1_names(tvb, offset, pinfo, tree, drep);
3771
3772     proto_item_set_len(item, offset-old_offset);
3773
3774     return offset;
3775 }
3776 static int
3777 drsuapi_dissect_union_DsNameRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3778 {
3779     guint32 param=0;
3780     offset=drsuapi_dissect_DsNameRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameRequest_1_req1, param);
3781     return offset;
3782 }
3783
3784
3785 static int
3786 drsuapi_dissect_union_DsNameRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3787 {
3788     proto_item *item=NULL;
3789     proto_tree *tree=NULL;
3790     int old_offset;
3791     guint32 level = 0;
3792
3793     ALIGN_TO_4_BYTES;
3794
3795     old_offset=offset;
3796     if(parent_tree){
3797         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameRequest");
3798         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameRequest);
3799     }
3800
3801     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3802                               drep, hf_index, &level);
3803
3804     switch(level){
3805     case 1:
3806         ALIGN_TO_4_BYTES;
3807         offset=drsuapi_dissect_union_DsNameRequest_1_req1(tvb, offset, pinfo, tree, drep);
3808         break;
3809
3810     }
3811
3812     proto_item_set_len(item, offset-old_offset);
3813
3814    return offset;
3815 }
3816 static int
3817 drsuapi_dissect_DsNameInfo1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3818 {
3819     guint32 param=0;
3820     offset=drsuapi_dissect_DsNameStatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_status, param);
3821     return offset;
3822 }
3823
3824 static int
3825 drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3826 {
3827     guint32 param=0;
3828     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_dns_domain_name, param);
3829     return offset;
3830 }
3831
3832 static int
3833 unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3834 {
3835     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameInfo1_dns_domain_name, NDR_POINTER_UNIQUE, "dns_domain_name", -1);
3836     return offset;
3837 }
3838
3839 static int
3840 drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3841 {
3842     guint32 param=0;
3843     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameInfo1_result_name, param);
3844     return offset;
3845 }
3846
3847 static int
3848 unique_drsuapi_dissect_DsNameInfo1_result_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3849 {
3850     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameInfo1_result_name, NDR_POINTER_UNIQUE, "result_name", -1);
3851     return offset;
3852 }
3853
3854
3855 int
3856 drsuapi_dissect_DsNameInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3857 {
3858     proto_item *item=NULL;
3859     proto_tree *tree=NULL;
3860     int old_offset;
3861
3862     ALIGN_TO_4_BYTES;
3863
3864     old_offset=offset;
3865     if(parent_tree){
3866         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3867         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameInfo1);
3868     }
3869
3870     offset=drsuapi_dissect_DsNameInfo1_status(tvb, offset, pinfo, tree, drep);
3871
3872     offset=unique_drsuapi_dissect_DsNameInfo1_dns_domain_name(tvb, offset, pinfo, tree, drep);
3873
3874     offset=unique_drsuapi_dissect_DsNameInfo1_result_name(tvb, offset, pinfo, tree, drep);
3875
3876     proto_item_set_len(item, offset-old_offset);
3877
3878     return offset;
3879 }
3880 static int
3881 drsuapi_dissect_DsNameCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3882 {
3883     guint32 param=0;
3884     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr1_count, param);
3885     return offset;
3886 }
3887
3888 static int
3889 drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3890 {
3891     guint32 param=0;
3892     offset=drsuapi_dissect_DsNameInfo1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr1_array, param);
3893     return offset;
3894 }
3895
3896 static int
3897 ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3898 {
3899     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsNameCtr1_array);
3900     return offset;
3901 }
3902
3903 static int
3904 unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3905 {
3906     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsNameCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
3907     return offset;
3908 }
3909
3910
3911 int
3912 drsuapi_dissect_DsNameCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3913 {
3914     proto_item *item=NULL;
3915     proto_tree *tree=NULL;
3916     int old_offset;
3917
3918     ALIGN_TO_4_BYTES;
3919
3920     old_offset=offset;
3921     if(parent_tree){
3922         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
3923         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr1);
3924     }
3925
3926     offset=drsuapi_dissect_DsNameCtr1_count(tvb, offset, pinfo, tree, drep);
3927
3928     offset=unique_ucarray_drsuapi_dissect_DsNameCtr1_array(tvb, offset, pinfo, tree, drep);
3929
3930     proto_item_set_len(item, offset-old_offset);
3931
3932     return offset;
3933 }
3934 static int
3935 drsuapi_dissect_union_DsNameCtr_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3936 {
3937     guint32 param=0;
3938     offset=drsuapi_dissect_DsNameCtr1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsNameCtr_1_ctr1, param);
3939     return offset;
3940 }
3941
3942 static int
3943 drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3944 {
3945     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsNameCtr_1_ctr1, NDR_POINTER_UNIQUE, "ctr1", -1);
3946     return offset;
3947 }
3948
3949
3950 static int
3951 drsuapi_dissect_union_DsNameCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
3952 {
3953     proto_item *item=NULL;
3954     proto_tree *tree=NULL;
3955     int old_offset;
3956     guint32 level = 0;
3957
3958     ALIGN_TO_4_BYTES;
3959
3960     old_offset=offset;
3961     if(parent_tree){
3962         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsNameCtr");
3963         tree=proto_item_add_subtree(item, ett_drsuapi_DsNameCtr);
3964     }
3965
3966     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
3967                               drep, hf_index, &level);
3968
3969     switch(level){
3970     case 1:
3971         ALIGN_TO_4_BYTES;
3972         offset=drsuapi_dissect_union_DsNameCtr_1_ctr1_unique(tvb, offset, pinfo, tree, drep);
3973         break;
3974
3975     }
3976
3977     proto_item_set_len(item, offset-old_offset);
3978
3979    return offset;
3980 }
3981 static int
3982 drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3983 {
3984     guint32 param=0;
3985     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_bind_handle, param);
3986     return offset;
3987 }
3988
3989 static int
3990 ref_drsuapi_dissect_DsCrackNames_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3991 {
3992     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsCrackNames_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
3993     return offset;
3994 }
3995
3996 static int
3997 drsuapi_dissect_DsCrackNames_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
3998 {
3999     guint32 param=0;
4000     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_level, param);
4001     return offset;
4002 }
4003
4004 static int
4005 drsuapi_dissect_DsCrackNames_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4006 {
4007     guint32 param=0;
4008     offset=drsuapi_dissect_union_DsNameRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_req, param);
4009     return offset;
4010 }
4011
4012 static int
4013 drsuapi_dissect_DsCrackNames_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4014 {
4015     guint32 param=0;
4016     offset=drsuapi_dissect_union_DsNameCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsCrackNames_ctr, param);
4017     return offset;
4018 }
4019
4020
4021 static int
4022 drsuapi_dissect_DsCrackNames_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4023 {
4024         offset=ref_drsuapi_dissect_DsCrackNames_bind_handle(tvb, offset, pinfo, tree, drep);
4025         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4026
4027         offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, drep);
4028         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4029
4030         offset=drsuapi_dissect_DsCrackNames_req(tvb, offset, pinfo, tree, drep);
4031         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4032
4033
4034    return offset;
4035 }
4036
4037 static int
4038 drsuapi_dissect_DsCrackNames_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4039 {
4040         offset=drsuapi_dissect_DsCrackNames_level(tvb, offset, pinfo, tree, drep);
4041         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4042
4043         offset=drsuapi_dissect_DsCrackNames_ctr(tvb, offset, pinfo, tree, drep);
4044         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4045
4046    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4047
4048
4049    return offset;
4050 }
4051
4052 const value_string drsuapi_DsSpnOperation_vals[] = {
4053     { 0 , "DRSUAPI_DS_SPN_OPERATION_ADD" },
4054     { 1 , "DRSUAPI_DS_SPN_OPERATION_REPLACE" },
4055     { 2 , "DRSUAPI_DS_SPN_OPERATION_DELETE" },
4056     { 0 , NULL }
4057 };
4058
4059 int
4060 drsuapi_dissect_DsSpnOperation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
4061 {
4062     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
4063     return offset;
4064 }
4065
4066 static int
4067 drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4068 {
4069     guint32 param=0;
4070     offset=drsuapi_dissect_DsSpnOperation(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_operation, param);
4071     return offset;
4072 }
4073
4074 static int
4075 drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4076 {
4077     guint32 param=0;
4078     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_unknown1, param);
4079     return offset;
4080 }
4081
4082 static int
4083 drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4084 {
4085     guint32 param=0;
4086     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_object_dn, param);
4087     return offset;
4088 }
4089
4090 static int
4091 unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4092 {
4093     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
4094     return offset;
4095 }
4096
4097 static int
4098 drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4099 {
4100     guint32 param=0;
4101     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_count, param);
4102     return offset;
4103 }
4104
4105 static int
4106 drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4107 {
4108     guint32 param=0;
4109     offset=drsuapi_dissect_DsNameString(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest1_spn_names, param);
4110     return offset;
4111 }
4112
4113 static int
4114 ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4115 {
4116     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names);
4117     return offset;
4118 }
4119
4120 static int
4121 unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4122 {
4123     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names, NDR_POINTER_UNIQUE, "spn_names", -1);
4124     return offset;
4125 }
4126
4127
4128 int
4129 drsuapi_dissect_DsWriteAccountSpnRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4130 {
4131     proto_item *item=NULL;
4132     proto_tree *tree=NULL;
4133     int old_offset;
4134
4135     ALIGN_TO_4_BYTES;
4136
4137     old_offset=offset;
4138     if(parent_tree){
4139         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4140         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest1);
4141     }
4142
4143     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_operation(tvb, offset, pinfo, tree, drep);
4144
4145     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_unknown1(tvb, offset, pinfo, tree, drep);
4146
4147     offset=unique_drsuapi_dissect_DsWriteAccountSpnRequest1_object_dn(tvb, offset, pinfo, tree, drep);
4148
4149     offset=drsuapi_dissect_DsWriteAccountSpnRequest1_count(tvb, offset, pinfo, tree, drep);
4150
4151     offset=unique_ucarray_drsuapi_dissect_DsWriteAccountSpnRequest1_spn_names(tvb, offset, pinfo, tree, drep);
4152
4153     proto_item_set_len(item, offset-old_offset);
4154
4155     return offset;
4156 }
4157 static int
4158 drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4159 {
4160     guint32 param=0;
4161     offset=drsuapi_dissect_DsWriteAccountSpnRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnRequest_1_req1, param);
4162     return offset;
4163 }
4164
4165
4166 static int
4167 drsuapi_dissect_union_DsWriteAccountSpnRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4168 {
4169     proto_item *item=NULL;
4170     proto_tree *tree=NULL;
4171     int old_offset;
4172     guint32 level = 0;
4173
4174     ALIGN_TO_4_BYTES;
4175
4176     old_offset=offset;
4177     if(parent_tree){
4178         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnRequest");
4179         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnRequest);
4180     }
4181
4182     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4183                               drep, hf_index, &level);
4184
4185     switch(level){
4186     case 1:
4187         ALIGN_TO_4_BYTES;
4188         offset=drsuapi_dissect_union_DsWriteAccountSpnRequest_1_req1(tvb, offset, pinfo, tree, drep);
4189         break;
4190
4191     }
4192
4193     proto_item_set_len(item, offset-old_offset);
4194
4195    return offset;
4196 }
4197
4198 static int
4199 drsuapi_dissect_WERROR(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
4200 {
4201     
4202     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
4203
4204     return offset;
4205 }
4206
4207 static int
4208 drsuapi_dissect_DsWriteAccountSpnResult1_status(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4209 {
4210     guint32 param=0;
4211     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnResult1_status, param);
4212     return offset;
4213 }
4214
4215
4216 int
4217 drsuapi_dissect_DsWriteAccountSpnResult1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4218 {
4219     proto_item *item=NULL;
4220     proto_tree *tree=NULL;
4221     int old_offset;
4222
4223     ALIGN_TO_4_BYTES;
4224
4225     old_offset=offset;
4226     if(parent_tree){
4227         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4228         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult1);
4229     }
4230
4231     offset=drsuapi_dissect_DsWriteAccountSpnResult1_status(tvb, offset, pinfo, tree, drep);
4232
4233     proto_item_set_len(item, offset-old_offset);
4234
4235     return offset;
4236 }
4237 static int
4238 drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4239 {
4240     guint32 param=0;
4241     offset=drsuapi_dissect_DsWriteAccountSpnResult1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpnResult_1_res1, param);
4242     return offset;
4243 }
4244
4245
4246 static int
4247 drsuapi_dissect_union_DsWriteAccountSpnResult(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4248 {
4249     proto_item *item=NULL;
4250     proto_tree *tree=NULL;
4251     int old_offset;
4252     guint32 level = 0;
4253
4254     ALIGN_TO_4_BYTES;
4255
4256     old_offset=offset;
4257     if(parent_tree){
4258         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsWriteAccountSpnResult");
4259         tree=proto_item_add_subtree(item, ett_drsuapi_DsWriteAccountSpnResult);
4260     }
4261
4262     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4263                               drep, hf_index, &level);
4264
4265     switch(level){
4266     case 1:
4267         ALIGN_TO_4_BYTES;
4268         offset=drsuapi_dissect_union_DsWriteAccountSpnResult_1_res1(tvb, offset, pinfo, tree, drep);
4269         break;
4270
4271     }
4272
4273     proto_item_set_len(item, offset-old_offset);
4274
4275    return offset;
4276 }
4277 static int
4278 drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4279 {
4280     guint32 param=0;
4281     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_bind_handle, param);
4282     return offset;
4283 }
4284
4285 static int
4286 ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4287 {
4288     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsWriteAccountSpn_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
4289     return offset;
4290 }
4291
4292 static int
4293 drsuapi_dissect_DsWriteAccountSpn_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4294 {
4295     guint32 param=0;
4296     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_level, param);
4297     return offset;
4298 }
4299
4300 static int
4301 drsuapi_dissect_DsWriteAccountSpn_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4302 {
4303     guint32 param=0;
4304     offset=drsuapi_dissect_union_DsWriteAccountSpnRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_req, param);
4305     return offset;
4306 }
4307
4308 static int
4309 drsuapi_dissect_DsWriteAccountSpn_res(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4310 {
4311     guint32 param=0;
4312     offset=drsuapi_dissect_union_DsWriteAccountSpnResult(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsWriteAccountSpn_res, param);
4313     return offset;
4314 }
4315
4316
4317 static int
4318 drsuapi_dissect_DsWriteAccountSpn_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4319 {
4320         offset=ref_drsuapi_dissect_DsWriteAccountSpn_bind_handle(tvb, offset, pinfo, tree, drep);
4321         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4322
4323         offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, drep);
4324         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4325
4326         offset=drsuapi_dissect_DsWriteAccountSpn_req(tvb, offset, pinfo, tree, drep);
4327         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4328
4329
4330    return offset;
4331 }
4332
4333 static int
4334 drsuapi_dissect_DsWriteAccountSpn_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4335 {
4336         offset=drsuapi_dissect_DsWriteAccountSpn_level(tvb, offset, pinfo, tree, drep);
4337         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4338
4339         offset=drsuapi_dissect_DsWriteAccountSpn_res(tvb, offset, pinfo, tree, drep);
4340         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
4341
4342    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4343
4344
4345    return offset;
4346 }
4347
4348 static int
4349 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4350 {
4351
4352    return offset;
4353 }
4354
4355 static int
4356 drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4357 {
4358    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4359
4360
4361    return offset;
4362 }
4363
4364 static int
4365 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4366 {
4367
4368    return offset;
4369 }
4370
4371 static int
4372 drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
4373 {
4374    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
4375
4376
4377    return offset;
4378 }
4379 static int
4380 drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4381 {
4382     guint32 param=0;
4383     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest1_domain_name, param);
4384     return offset;
4385 }
4386
4387 static int
4388 unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4389 {
4390     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoRequest1_domain_name, NDR_POINTER_UNIQUE, "domain_name", -1);
4391     return offset;
4392 }
4393
4394 static int
4395 drsuapi_dissect_DsGetDCInfoRequest1_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4396 {
4397     guint32 param=0;
4398     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest1_level, param);
4399     return offset;
4400 }
4401
4402
4403 int
4404 drsuapi_dissect_DsGetDCInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4405 {
4406     proto_item *item=NULL;
4407     proto_tree *tree=NULL;
4408     int old_offset;
4409
4410     ALIGN_TO_4_BYTES;
4411
4412     old_offset=offset;
4413     if(parent_tree){
4414         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4415         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest1);
4416     }
4417
4418     offset=unique_drsuapi_dissect_DsGetDCInfoRequest1_domain_name(tvb, offset, pinfo, tree, drep);
4419
4420     offset=drsuapi_dissect_DsGetDCInfoRequest1_level(tvb, offset, pinfo, tree, drep);
4421
4422     proto_item_set_len(item, offset-old_offset);
4423
4424     return offset;
4425 }
4426 static int
4427 drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4428 {
4429     guint32 param=0;
4430     offset=drsuapi_dissect_DsGetDCInfoRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoRequest_1_req1, param);
4431     return offset;
4432 }
4433
4434
4435 static int
4436 drsuapi_dissect_union_DsGetDCInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4437 {
4438     proto_item *item=NULL;
4439     proto_tree *tree=NULL;
4440     int old_offset;
4441     guint32 level = 0;
4442
4443     ALIGN_TO_4_BYTES;
4444
4445     old_offset=offset;
4446     if(parent_tree){
4447         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoRequest");
4448         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoRequest);
4449     }
4450
4451     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
4452                               drep, hf_index, &level);
4453
4454     switch(level){
4455     case 1:
4456         ALIGN_TO_4_BYTES;
4457         offset=drsuapi_dissect_union_DsGetDCInfoRequest_1_req1(tvb, offset, pinfo, tree, drep);
4458         break;
4459
4460     }
4461
4462     proto_item_set_len(item, offset-old_offset);
4463
4464    return offset;
4465 }
4466 static int
4467 drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4468 {
4469     guint32 param=0;
4470     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_netbios_name, param);
4471     return offset;
4472 }
4473
4474 static int
4475 unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4476 {
4477     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4478     return offset;
4479 }
4480
4481 static int
4482 drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4483 {
4484     guint32 param=0;
4485     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_dns_name, param);
4486     return offset;
4487 }
4488
4489 static int
4490 unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4491 {
4492     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4493     return offset;
4494 }
4495
4496 static int
4497 drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4498 {
4499     guint32 param=0;
4500     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_site_name, param);
4501     return offset;
4502 }
4503
4504 static int
4505 unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4506 {
4507     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4508     return offset;
4509 }
4510
4511 static int
4512 drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4513 {
4514     guint32 param=0;
4515     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_computer_dn, param);
4516     return offset;
4517 }
4518
4519 static int
4520 unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4521 {
4522     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4523     return offset;
4524 }
4525
4526 static int
4527 drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4528 {
4529     guint32 param=0;
4530     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_server_dn, param);
4531     return offset;
4532 }
4533
4534 static int
4535 unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4536 {
4537     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo1_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4538     return offset;
4539 }
4540
4541 static int
4542 drsuapi_dissect_DsGetDCInfo1_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4543 {
4544     guint32 param=0;
4545     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_is_pdc, param);
4546     return offset;
4547 }
4548
4549 static int
4550 drsuapi_dissect_DsGetDCInfo1_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4551 {
4552     guint32 param=0;
4553     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo1_is_enabled, param);
4554     return offset;
4555 }
4556
4557
4558 int
4559 drsuapi_dissect_DsGetDCInfo1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4560 {
4561     proto_item *item=NULL;
4562     proto_tree *tree=NULL;
4563     int old_offset;
4564
4565     ALIGN_TO_4_BYTES;
4566
4567     old_offset=offset;
4568     if(parent_tree){
4569         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4570         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo1);
4571     }
4572
4573     offset=unique_drsuapi_dissect_DsGetDCInfo1_netbios_name(tvb, offset, pinfo, tree, drep);
4574
4575     offset=unique_drsuapi_dissect_DsGetDCInfo1_dns_name(tvb, offset, pinfo, tree, drep);
4576
4577     offset=unique_drsuapi_dissect_DsGetDCInfo1_site_name(tvb, offset, pinfo, tree, drep);
4578
4579     offset=unique_drsuapi_dissect_DsGetDCInfo1_computer_dn(tvb, offset, pinfo, tree, drep);
4580
4581     offset=unique_drsuapi_dissect_DsGetDCInfo1_server_dn(tvb, offset, pinfo, tree, drep);
4582
4583     offset=drsuapi_dissect_DsGetDCInfo1_is_pdc(tvb, offset, pinfo, tree, drep);
4584
4585     offset=drsuapi_dissect_DsGetDCInfo1_is_enabled(tvb, offset, pinfo, tree, drep);
4586
4587     proto_item_set_len(item, offset-old_offset);
4588
4589     return offset;
4590 }
4591 static int
4592 drsuapi_dissect_DsGetDCInfoCtr1_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4593 {
4594     guint32 param=0;
4595     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr1_count, param);
4596     return offset;
4597 }
4598
4599 static int
4600 drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4601 {
4602     guint32 param=0;
4603     offset=drsuapi_dissect_DsGetDCInfo1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr1_array, param);
4604     return offset;
4605 }
4606
4607 static int
4608 ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4609 {
4610     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr1_array);
4611     return offset;
4612 }
4613
4614 static int
4615 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4616 {
4617     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array, NDR_POINTER_UNIQUE, "array", -1);
4618     return offset;
4619 }
4620
4621
4622 int
4623 drsuapi_dissect_DsGetDCInfoCtr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4624 {
4625     proto_item *item=NULL;
4626     proto_tree *tree=NULL;
4627     int old_offset;
4628
4629     ALIGN_TO_4_BYTES;
4630
4631     old_offset=offset;
4632     if(parent_tree){
4633         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4634         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr1);
4635     }
4636
4637     offset=drsuapi_dissect_DsGetDCInfoCtr1_count(tvb, offset, pinfo, tree, drep);
4638
4639     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr1_array(tvb, offset, pinfo, tree, drep);
4640
4641     proto_item_set_len(item, offset-old_offset);
4642
4643     return offset;
4644 }
4645 static int
4646 drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4647 {
4648     guint32 param=0;
4649     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_netbios_name, param);
4650     return offset;
4651 }
4652
4653 static int
4654 unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4655 {
4656     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_netbios_name, NDR_POINTER_UNIQUE, "netbios_name", -1);
4657     return offset;
4658 }
4659
4660 static int
4661 drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4662 {
4663     guint32 param=0;
4664     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_dns_name, param);
4665     return offset;
4666 }
4667
4668 static int
4669 unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4670 {
4671     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_dns_name, NDR_POINTER_UNIQUE, "dns_name", -1);
4672     return offset;
4673 }
4674
4675 static int
4676 drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4677 {
4678     guint32 param=0;
4679     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_name, param);
4680     return offset;
4681 }
4682
4683 static int
4684 unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4685 {
4686     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_site_name, NDR_POINTER_UNIQUE, "site_name", -1);
4687     return offset;
4688 }
4689
4690 static int
4691 drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4692 {
4693     guint32 param=0;
4694     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_dn, param);
4695     return offset;
4696 }
4697
4698 static int
4699 unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4700 {
4701     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_site_dn, NDR_POINTER_UNIQUE, "site_dn", -1);
4702     return offset;
4703 }
4704
4705 static int
4706 drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4707 {
4708     guint32 param=0;
4709     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_computer_dn, param);
4710     return offset;
4711 }
4712
4713 static int
4714 unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4715 {
4716     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_computer_dn, NDR_POINTER_UNIQUE, "computer_dn", -1);
4717     return offset;
4718 }
4719
4720 static int
4721 drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4722 {
4723     guint32 param=0;
4724     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_server_dn, param);
4725     return offset;
4726 }
4727
4728 static int
4729 unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4730 {
4731     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_server_dn, NDR_POINTER_UNIQUE, "server_dn", -1);
4732     return offset;
4733 }
4734
4735 static int
4736 drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4737 {
4738     guint32 param=0;
4739     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_ntds_dn, param);
4740     return offset;
4741 }
4742
4743 static int
4744 unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4745 {
4746     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo2_ntds_dn, NDR_POINTER_UNIQUE, "ntds_dn", -1);
4747     return offset;
4748 }
4749
4750 static int
4751 drsuapi_dissect_DsGetDCInfo2_is_pdc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4752 {
4753     guint32 param=0;
4754     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_pdc, param);
4755     return offset;
4756 }
4757
4758 static int
4759 drsuapi_dissect_DsGetDCInfo2_is_enabled(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4760 {
4761     guint32 param=0;
4762     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_enabled, param);
4763     return offset;
4764 }
4765
4766 static int
4767 drsuapi_dissect_DsGetDCInfo2_is_gc(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4768 {
4769     guint32 param=0;
4770     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_is_gc, param);
4771     return offset;
4772 }
4773
4774 static int
4775 drsuapi_dissect_DsGetDCInfo2_site_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4776 {
4777     guint32 param=0;
4778     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_site_guid, param);
4779     return offset;
4780 }
4781
4782 static int
4783 drsuapi_dissect_DsGetDCInfo2_computer_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4784 {
4785     guint32 param=0;
4786     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_computer_guid, param);
4787     return offset;
4788 }
4789
4790 static int
4791 drsuapi_dissect_DsGetDCInfo2_server_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4792 {
4793     guint32 param=0;
4794     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_server_guid, param);
4795     return offset;
4796 }
4797
4798 static int
4799 drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4800 {
4801     guint32 param=0;
4802     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo2_ntds_guid, param);
4803     return offset;
4804 }
4805
4806
4807 int
4808 drsuapi_dissect_DsGetDCInfo2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4809 {
4810     proto_item *item=NULL;
4811     proto_tree *tree=NULL;
4812     int old_offset;
4813
4814     ALIGN_TO_4_BYTES;
4815
4816     old_offset=offset;
4817     if(parent_tree){
4818         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4819         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo2);
4820     }
4821
4822     offset=unique_drsuapi_dissect_DsGetDCInfo2_netbios_name(tvb, offset, pinfo, tree, drep);
4823
4824     offset=unique_drsuapi_dissect_DsGetDCInfo2_dns_name(tvb, offset, pinfo, tree, drep);
4825
4826     offset=unique_drsuapi_dissect_DsGetDCInfo2_site_name(tvb, offset, pinfo, tree, drep);
4827
4828     offset=unique_drsuapi_dissect_DsGetDCInfo2_site_dn(tvb, offset, pinfo, tree, drep);
4829
4830     offset=unique_drsuapi_dissect_DsGetDCInfo2_computer_dn(tvb, offset, pinfo, tree, drep);
4831
4832     offset=unique_drsuapi_dissect_DsGetDCInfo2_server_dn(tvb, offset, pinfo, tree, drep);
4833
4834     offset=unique_drsuapi_dissect_DsGetDCInfo2_ntds_dn(tvb, offset, pinfo, tree, drep);
4835
4836     offset=drsuapi_dissect_DsGetDCInfo2_is_pdc(tvb, offset, pinfo, tree, drep);
4837
4838     offset=drsuapi_dissect_DsGetDCInfo2_is_enabled(tvb, offset, pinfo, tree, drep);
4839
4840     offset=drsuapi_dissect_DsGetDCInfo2_is_gc(tvb, offset, pinfo, tree, drep);
4841
4842     offset=drsuapi_dissect_DsGetDCInfo2_site_guid(tvb, offset, pinfo, tree, drep);
4843
4844     offset=drsuapi_dissect_DsGetDCInfo2_computer_guid(tvb, offset, pinfo, tree, drep);
4845
4846     offset=drsuapi_dissect_DsGetDCInfo2_server_guid(tvb, offset, pinfo, tree, drep);
4847
4848     offset=drsuapi_dissect_DsGetDCInfo2_ntds_guid(tvb, offset, pinfo, tree, drep);
4849
4850     proto_item_set_len(item, offset-old_offset);
4851
4852     return offset;
4853 }
4854 static int
4855 drsuapi_dissect_DsGetDCInfoCtr2_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4856 {
4857     guint32 param=0;
4858     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr2_count, param);
4859     return offset;
4860 }
4861
4862 static int
4863 drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4864 {
4865     guint32 param=0;
4866     offset=drsuapi_dissect_DsGetDCInfo2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr2_array, param);
4867     return offset;
4868 }
4869
4870 static int
4871 ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4872 {
4873     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr2_array);
4874     return offset;
4875 }
4876
4877 static int
4878 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4879 {
4880     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array, NDR_POINTER_UNIQUE, "array", -1);
4881     return offset;
4882 }
4883
4884
4885 int
4886 drsuapi_dissect_DsGetDCInfoCtr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4887 {
4888     proto_item *item=NULL;
4889     proto_tree *tree=NULL;
4890     int old_offset;
4891
4892     ALIGN_TO_4_BYTES;
4893
4894     old_offset=offset;
4895     if(parent_tree){
4896         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4897         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr2);
4898     }
4899
4900     offset=drsuapi_dissect_DsGetDCInfoCtr2_count(tvb, offset, pinfo, tree, drep);
4901
4902     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr2_array(tvb, offset, pinfo, tree, drep);
4903
4904     proto_item_set_len(item, offset-old_offset);
4905
4906     return offset;
4907 }
4908 static int
4909 drsuapi_dissect_DsGetDCInfo01_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4910 {
4911     guint32 param=0;
4912     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown1, param);
4913     return offset;
4914 }
4915
4916 static int
4917 drsuapi_dissect_DsGetDCInfo01_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4918 {
4919     guint32 param=0;
4920     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown2, param);
4921     return offset;
4922 }
4923
4924 static int
4925 drsuapi_dissect_DsGetDCInfo01_unknown3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4926 {
4927     guint32 param=0;
4928     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown3, param);
4929     return offset;
4930 }
4931
4932 static int
4933 drsuapi_dissect_DsGetDCInfo01_unknown4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4934 {
4935     guint32 param=0;
4936     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown4, param);
4937     return offset;
4938 }
4939
4940 static int
4941 drsuapi_dissect_DsGetDCInfo01_unknown5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4942 {
4943     guint32 param=0;
4944     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown5, param);
4945     return offset;
4946 }
4947
4948 static int
4949 drsuapi_dissect_DsGetDCInfo01_unknown6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4950 {
4951     guint32 param=0;
4952     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_unknown6, param);
4953     return offset;
4954 }
4955
4956 static int
4957 drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4958 {
4959     guint32 param=0;
4960     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfo01_server_nt4_account, param);
4961     return offset;
4962 }
4963
4964 static int
4965 unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
4966 {
4967     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfo01_server_nt4_account, NDR_POINTER_UNIQUE, "server_nt4_account", -1);
4968     return offset;
4969 }
4970
4971
4972 int
4973 drsuapi_dissect_DsGetDCInfo01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
4974 {
4975     proto_item *item=NULL;
4976     proto_tree *tree=NULL;
4977     int old_offset;
4978
4979     ALIGN_TO_4_BYTES;
4980
4981     old_offset=offset;
4982     if(parent_tree){
4983         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
4984         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfo01);
4985     }
4986
4987     offset=drsuapi_dissect_DsGetDCInfo01_unknown1(tvb, offset, pinfo, tree, drep);
4988
4989     offset=drsuapi_dissect_DsGetDCInfo01_unknown2(tvb, offset, pinfo, tree, drep);
4990
4991     offset=drsuapi_dissect_DsGetDCInfo01_unknown3(tvb, offset, pinfo, tree, drep);
4992
4993     offset=drsuapi_dissect_DsGetDCInfo01_unknown4(tvb, offset, pinfo, tree, drep);
4994
4995     offset=drsuapi_dissect_DsGetDCInfo01_unknown5(tvb, offset, pinfo, tree, drep);
4996
4997     offset=drsuapi_dissect_DsGetDCInfo01_unknown6(tvb, offset, pinfo, tree, drep);
4998
4999     offset=unique_drsuapi_dissect_DsGetDCInfo01_server_nt4_account(tvb, offset, pinfo, tree, drep);
5000
5001     proto_item_set_len(item, offset-old_offset);
5002
5003     return offset;
5004 }
5005 static int
5006 drsuapi_dissect_DsGetDCInfoCtr01_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5007 {
5008     guint32 param=0;
5009     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr01_count, param);
5010     return offset;
5011 }
5012
5013 static int
5014 drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5015 {
5016     guint32 param=0;
5017     offset=drsuapi_dissect_DsGetDCInfo01(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr01_array, param);
5018     return offset;
5019 }
5020
5021 static int
5022 ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5023 {
5024     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDCInfoCtr01_array);
5025     return offset;
5026 }
5027
5028 static int
5029 unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5030 {
5031     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array, NDR_POINTER_UNIQUE, "array", -1);
5032     return offset;
5033 }
5034
5035
5036 int
5037 drsuapi_dissect_DsGetDCInfoCtr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5038 {
5039     proto_item *item=NULL;
5040     proto_tree *tree=NULL;
5041     int old_offset;
5042
5043     ALIGN_TO_4_BYTES;
5044
5045     old_offset=offset;
5046     if(parent_tree){
5047         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5048         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr01);
5049     }
5050
5051     offset=drsuapi_dissect_DsGetDCInfoCtr01_count(tvb, offset, pinfo, tree, drep);
5052
5053     offset=unique_ucarray_drsuapi_dissect_DsGetDCInfoCtr01_array(tvb, offset, pinfo, tree, drep);
5054
5055     proto_item_set_len(item, offset-old_offset);
5056
5057     return offset;
5058 }
5059
5060 const value_string drsuapi_DsGetDCInfoCtrLevels_vals[] = {
5061     { 1 , "DRSUAPI_DC_INFO_CTR_1" },
5062     { 2 , "DRSUAPI_DC_INFO_CTR_2" },
5063     { -1        , "DRSUAPI_DC_INFO_CTR_01" },
5064     { 0 , NULL }
5065 };
5066
5067 int
5068 drsuapi_dissect_DsGetDCInfoCtrLevels(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5069 {
5070     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5071     return offset;
5072 }
5073
5074 static int
5075 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5076 {
5077     guint32 param=0;
5078     offset=drsuapi_dissect_DsGetDCInfoCtr1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1, param);
5079     return offset;
5080 }
5081
5082 static int
5083 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5084 {
5085     guint32 param=0;
5086     offset=drsuapi_dissect_DsGetDCInfoCtr2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2, param);
5087     return offset;
5088 }
5089
5090 static int
5091 drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5092 {
5093     guint32 param=0;
5094     offset=drsuapi_dissect_DsGetDCInfoCtr01(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01, param);
5095     return offset;
5096 }
5097
5098
5099 static int
5100 drsuapi_dissect_union_DsGetDCInfoCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5101 {
5102     proto_item *item=NULL;
5103     proto_tree *tree=NULL;
5104     int old_offset;
5105     guint32 level = 0;
5106
5107     ALIGN_TO_4_BYTES;
5108
5109     old_offset=offset;
5110     if(parent_tree){
5111         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsGetDCInfoCtr");
5112         tree=proto_item_add_subtree(item, ett_drsuapi_DsGetDCInfoCtr);
5113     }
5114
5115     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5116                               drep, hf_index, &level);
5117
5118     switch(level){
5119     case DRSUAPI_DC_INFO_CTR_1:
5120         ALIGN_TO_4_BYTES;
5121         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1(tvb, offset, pinfo, tree, drep);
5122         break;
5123
5124     case DRSUAPI_DC_INFO_CTR_2:
5125         ALIGN_TO_4_BYTES;
5126         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2(tvb, offset, pinfo, tree, drep);
5127         break;
5128
5129     case DRSUAPI_DC_INFO_CTR_01:
5130         ALIGN_TO_4_BYTES;
5131         offset=drsuapi_dissect_union_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01(tvb, offset, pinfo, tree, drep);
5132         break;
5133
5134     }
5135
5136     proto_item_set_len(item, offset-old_offset);
5137
5138    return offset;
5139 }
5140 static int
5141 drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5142 {
5143     guint32 param=0;
5144     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_bind_handle, param);
5145     return offset;
5146 }
5147
5148 static int
5149 ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5150 {
5151     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsGetDomainControllerInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
5152     return offset;
5153 }
5154
5155 static int
5156 drsuapi_dissect_DsGetDomainControllerInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5157 {
5158     guint32 param=0;
5159     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_level, param);
5160     return offset;
5161 }
5162
5163 static int
5164 drsuapi_dissect_DsGetDomainControllerInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5165 {
5166     guint32 param=0;
5167     offset=drsuapi_dissect_union_DsGetDCInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_req, param);
5168     return offset;
5169 }
5170
5171 static int
5172 drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5173 {
5174     guint32 param=0;
5175     offset=drsuapi_dissect_union_DsGetDCInfoCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsGetDomainControllerInfo_ctr, param);
5176     return offset;
5177 }
5178
5179
5180 static int
5181 drsuapi_dissect_DsGetDomainControllerInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5182 {
5183         offset=ref_drsuapi_dissect_DsGetDomainControllerInfo_bind_handle(tvb, offset, pinfo, tree, drep);
5184         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5185
5186         offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, drep);
5187         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5188
5189         offset=drsuapi_dissect_DsGetDomainControllerInfo_req(tvb, offset, pinfo, tree, drep);
5190         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5191
5192
5193    return offset;
5194 }
5195
5196 static int
5197 drsuapi_dissect_DsGetDomainControllerInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5198 {
5199         offset=drsuapi_dissect_DsGetDomainControllerInfo_level(tvb, offset, pinfo, tree, drep);
5200         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5201
5202         offset=drsuapi_dissect_DsGetDomainControllerInfo_ctr(tvb, offset, pinfo, tree, drep);
5203         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
5204
5205    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5206
5207
5208    return offset;
5209 }
5210
5211 static int
5212 drsuapi_dissect_DsAddEntry_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5213 {
5214
5215    return offset;
5216 }
5217
5218 static int
5219 drsuapi_dissect_DsAddEntry_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5220 {
5221    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5222
5223
5224    return offset;
5225 }
5226
5227 static int
5228 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5229 {
5230
5231    return offset;
5232 }
5233
5234 static int
5235 drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
5236 {
5237    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
5238
5239
5240    return offset;
5241 }
5242
5243 const value_string drsuapi_DsReplicaGetInfoLevel_vals[] = {
5244     { 1 , "DRSUAPI_DS_REPLICA_GET_INFO" },
5245     { 2 , "DRSUAPI_DS_REPLICA_GET_INFO2" },
5246     { 0 , NULL }
5247 };
5248
5249 int
5250 drsuapi_dissect_DsReplicaGetInfoLevel(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5251 {
5252     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5253     return offset;
5254 }
5255
5256
5257 const value_string drsuapi_DsReplicaInfoType_vals[] = {
5258     { 0 , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS" },
5259     { 1 , "DRSUAPI_DS_REPLICA_INFO_CURSORS" },
5260     { 2 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA" },
5261     { 3 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES" },
5262     { 4 , "DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES" },
5263     { 5 , "DRSUAPI_DS_REPLICA_INFO_PENDING_OPS" },
5264     { 6 , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA" },
5265     { 7 , "DRSUAPI_DS_REPLICA_INFO_CURSORS2" },
5266     { 8 , "DRSUAPI_DS_REPLICA_INFO_CURSORS3" },
5267     { 9 , "DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2" },
5268     { 10        , "DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2" },
5269     { -2        , "DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02" },
5270     { -4        , "DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04" },
5271     { -5        , "DRSUAPI_DS_REPLICA_INFO_CURSURS05" },
5272     { -6        , "DRSUAPI_DS_REPLICA_INFO_06" },
5273     { 0 , NULL }
5274 };
5275
5276 int
5277 drsuapi_dissect_DsReplicaInfoType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5278 {
5279     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree, drep, hf_index, NULL);
5280     return offset;
5281 }
5282
5283 static int
5284 drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5285 {
5286     guint32 param=0;
5287     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_info_type, param);
5288     return offset;
5289 }
5290
5291 static int
5292 drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5293 {
5294     guint32 param=0;
5295     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_object_dn, param);
5296     return offset;
5297 }
5298
5299 static int
5300 unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5301 {
5302     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5303     return offset;
5304 }
5305
5306 static int
5307 drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5308 {
5309     guint32 param=0;
5310     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest1_guid1, param);
5311     return offset;
5312 }
5313
5314
5315 int
5316 drsuapi_dissect_DsReplicaGetInfoRequest1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5317 {
5318     proto_item *item=NULL;
5319     proto_tree *tree=NULL;
5320     int old_offset;
5321
5322     ALIGN_TO_4_BYTES;
5323
5324     old_offset=offset;
5325     if(parent_tree){
5326         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5327         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest1);
5328     }
5329
5330     offset=drsuapi_dissect_DsReplicaGetInfoRequest1_info_type(tvb, offset, pinfo, tree, drep);
5331
5332     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest1_object_dn(tvb, offset, pinfo, tree, drep);
5333
5334     offset=drsuapi_dissect_DsReplicaGetInfoRequest1_guid1(tvb, offset, pinfo, tree, drep);
5335
5336     proto_item_set_len(item, offset-old_offset);
5337
5338     return offset;
5339 }
5340 static int
5341 drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5342 {
5343     guint32 param=0;
5344     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_info_type, param);
5345     return offset;
5346 }
5347
5348 static int
5349 drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5350 {
5351     guint32 param=0;
5352     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_object_dn, param);
5353     return offset;
5354 }
5355
5356 static int
5357 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5358 {
5359     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
5360     return offset;
5361 }
5362
5363 static int
5364 drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5365 {
5366     guint32 param=0;
5367     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_guid1, param);
5368     return offset;
5369 }
5370
5371 static int
5372 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5373 {
5374     guint32 param=0;
5375     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown1, param);
5376     return offset;
5377 }
5378
5379 static int
5380 drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5381 {
5382     guint32 param=0;
5383     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string1, param);
5384     return offset;
5385 }
5386
5387 static int
5388 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5389 {
5390     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string1, NDR_POINTER_UNIQUE, "string1", -1);
5391     return offset;
5392 }
5393
5394 static int
5395 drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5396 {
5397     guint32 param=0;
5398     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_string2, param);
5399     return offset;
5400 }
5401
5402 static int
5403 unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5404 {
5405     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfoRequest2_string2, NDR_POINTER_UNIQUE, "string2", -1);
5406     return offset;
5407 }
5408
5409 static int
5410 drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5411 {
5412     guint32 param=0;
5413     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest2_unknown2, param);
5414     return offset;
5415 }
5416
5417
5418 int
5419 drsuapi_dissect_DsReplicaGetInfoRequest2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5420 {
5421     proto_item *item=NULL;
5422     proto_tree *tree=NULL;
5423     int old_offset;
5424
5425     ALIGN_TO_4_BYTES;
5426
5427     old_offset=offset;
5428     if(parent_tree){
5429         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5430         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest2);
5431     }
5432
5433     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_info_type(tvb, offset, pinfo, tree, drep);
5434
5435     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_object_dn(tvb, offset, pinfo, tree, drep);
5436
5437     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_guid1(tvb, offset, pinfo, tree, drep);
5438
5439     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown1(tvb, offset, pinfo, tree, drep);
5440
5441     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string1(tvb, offset, pinfo, tree, drep);
5442
5443     offset=unique_drsuapi_dissect_DsReplicaGetInfoRequest2_string2(tvb, offset, pinfo, tree, drep);
5444
5445     offset=drsuapi_dissect_DsReplicaGetInfoRequest2_unknown2(tvb, offset, pinfo, tree, drep);
5446
5447     proto_item_set_len(item, offset-old_offset);
5448
5449     return offset;
5450 }
5451 static int
5452 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5453 {
5454     guint32 param=0;
5455     offset=drsuapi_dissect_DsReplicaGetInfoRequest1(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1, param);
5456     return offset;
5457 }
5458
5459 static int
5460 drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5461 {
5462     guint32 param=0;
5463     offset=drsuapi_dissect_DsReplicaGetInfoRequest2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2, param);
5464     return offset;
5465 }
5466
5467
5468 static int
5469 drsuapi_dissect_union_DsReplicaGetInfoRequest(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5470 {
5471     proto_item *item=NULL;
5472     proto_tree *tree=NULL;
5473     int old_offset;
5474     guint32 level = 0;
5475
5476     ALIGN_TO_4_BYTES;
5477
5478     old_offset=offset;
5479     if(parent_tree){
5480         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaGetInfoRequest");
5481         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaGetInfoRequest);
5482     }
5483
5484     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
5485                               drep, hf_index, &level);
5486
5487     switch(level){
5488     case DRSUAPI_DS_REPLICA_GET_INFO:
5489         ALIGN_TO_4_BYTES;
5490         offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1(tvb, offset, pinfo, tree, drep);
5491         break;
5492
5493     case DRSUAPI_DS_REPLICA_GET_INFO2:
5494         ALIGN_TO_4_BYTES;
5495         offset=drsuapi_dissect_union_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2(tvb, offset, pinfo, tree, drep);
5496         break;
5497
5498     }
5499
5500     proto_item_set_len(item, offset-old_offset);
5501
5502    return offset;
5503 }
5504 static int
5505 drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5506 {
5507     guint32 param=0;
5508     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_dn, param);
5509     return offset;
5510 }
5511
5512 static int
5513 unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5514 {
5515     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_naming_context_dn, NDR_POINTER_UNIQUE, "naming_context_dn", -1);
5516     return offset;
5517 }
5518
5519 static int
5520 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5521 {
5522     guint32 param=0;
5523     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn, param);
5524     return offset;
5525 }
5526
5527 static int
5528 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5529 {
5530     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
5531     return offset;
5532 }
5533
5534 static int
5535 drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5536 {
5537     guint32 param=0;
5538     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_address, param);
5539     return offset;
5540 }
5541
5542 static int
5543 unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5544 {
5545     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_source_dsa_address, NDR_POINTER_UNIQUE, "source_dsa_address", -1);
5546     return offset;
5547 }
5548
5549 static int
5550 drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5551 {
5552     guint32 param=0;
5553     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_dn, param);
5554     return offset;
5555 }
5556
5557 static int
5558 unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5559 {
5560     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn, NDR_POINTER_UNIQUE, "transport_obj_dn", -1);
5561     return offset;
5562 }
5563
5564 static int
5565 drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5566 {
5567     guint32 param=0;
5568     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_replica_flags, param);
5569     return offset;
5570 }
5571
5572 static int
5573 drsuapi_dissect_DsReplicaNeighbour_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5574 {
5575     guint32 param=0;
5576     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_reserved, param);
5577     return offset;
5578 }
5579
5580 static int
5581 drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5582 {
5583     guint32 param=0;
5584     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid, param);
5585     return offset;
5586 }
5587
5588 static int
5589 drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5590 {
5591     guint32 param=0;
5592     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid, param);
5593     return offset;
5594 }
5595
5596 static int
5597 drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5598 {
5599     guint32 param=0;
5600     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id, param);
5601     return offset;
5602 }
5603
5604 static int
5605 drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5606 {
5607     guint32 param=0;
5608     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_transport_obj_guid, param);
5609     return offset;
5610 }
5611
5612 static int
5613 drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5614 {
5615     guint32 param=0;
5616     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn, param);
5617     return offset;
5618 }
5619
5620 static int
5621 drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5622 {
5623     guint32 param=0;
5624     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_highest_usn, param);
5625     return offset;
5626 }
5627
5628
5629 static int
5630 drsuapi_dissect_NTTIME(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
5631 {
5632     offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, drep, hf_index);
5633
5634     return offset;
5635 }
5636
5637 static int
5638 drsuapi_dissect_DsReplicaNeighbour_last_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5639 {
5640     guint32 param=0;
5641     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_last_success, param);
5642     return offset;
5643 }
5644
5645 static int
5646 drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5647 {
5648     guint32 param=0;
5649     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_last_attempt, param);
5650     return offset;
5651 }
5652
5653 static int
5654 drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5655 {
5656     guint32 param=0;
5657     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_result_last_attempt, param);
5658     return offset;
5659 }
5660
5661 static int
5662 drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5663 {
5664     guint32 param=0;
5665     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures, param);
5666     return offset;
5667 }
5668
5669
5670 int
5671 drsuapi_dissect_DsReplicaNeighbour(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5672 {
5673     proto_item *item=NULL;
5674     proto_tree *tree=NULL;
5675     int old_offset;
5676
5677     ALIGN_TO_8_BYTES;
5678
5679     old_offset=offset;
5680     if(parent_tree){
5681         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5682         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbour);
5683     }
5684
5685     offset=unique_drsuapi_dissect_DsReplicaNeighbour_naming_context_dn(tvb, offset, pinfo, tree, drep);
5686
5687     offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
5688
5689     offset=unique_drsuapi_dissect_DsReplicaNeighbour_source_dsa_address(tvb, offset, pinfo, tree, drep);
5690
5691     offset=unique_drsuapi_dissect_DsReplicaNeighbour_transport_obj_dn(tvb, offset, pinfo, tree, drep);
5692
5693     offset=drsuapi_dissect_DsReplicaNeighbour_replica_flags(tvb, offset, pinfo, tree, drep);
5694
5695     offset=drsuapi_dissect_DsReplicaNeighbour_reserved(tvb, offset, pinfo, tree, drep);
5696
5697     offset=drsuapi_dissect_DsReplicaNeighbour_naming_context_obj_guid(tvb, offset, pinfo, tree, drep);
5698
5699     offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
5700
5701     offset=drsuapi_dissect_DsReplicaNeighbour_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5702
5703     offset=drsuapi_dissect_DsReplicaNeighbour_transport_obj_guid(tvb, offset, pinfo, tree, drep);
5704
5705     offset=drsuapi_dissect_DsReplicaNeighbour_tmp_highest_usn(tvb, offset, pinfo, tree, drep);
5706
5707     offset=drsuapi_dissect_DsReplicaNeighbour_highest_usn(tvb, offset, pinfo, tree, drep);
5708
5709     offset=drsuapi_dissect_DsReplicaNeighbour_last_success(tvb, offset, pinfo, tree, drep);
5710
5711     offset=drsuapi_dissect_DsReplicaNeighbour_last_attempt(tvb, offset, pinfo, tree, drep);
5712
5713     offset=drsuapi_dissect_DsReplicaNeighbour_result_last_attempt(tvb, offset, pinfo, tree, drep);
5714
5715     offset=drsuapi_dissect_DsReplicaNeighbour_consecutive_sync_failures(tvb, offset, pinfo, tree, drep);
5716
5717     proto_item_set_len(item, offset-old_offset);
5718
5719     return offset;
5720 }
5721 static int
5722 drsuapi_dissect_DsReplicaNeighbourCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5723 {
5724     guint32 param=0;
5725     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_count, param);
5726     return offset;
5727 }
5728
5729 static int
5730 drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5731 {
5732     guint32 param=0;
5733     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_reserved, param);
5734     return offset;
5735 }
5736
5737 static int
5738 drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5739 {
5740     guint32 param=0;
5741     offset=drsuapi_dissect_DsReplicaNeighbour(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaNeighbourCtr_array, param);
5742     return offset;
5743 }
5744
5745 static int
5746 ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5747 {
5748     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaNeighbourCtr_array);
5749     return offset;
5750 }
5751
5752
5753 int
5754 drsuapi_dissect_DsReplicaNeighbourCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5755 {
5756     proto_item *item=NULL;
5757     proto_tree *tree=NULL;
5758     int old_offset;
5759
5760     ALIGN_TO_8_BYTES;
5761
5762     old_offset=offset;
5763     if(parent_tree){
5764         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5765         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaNeighbourCtr);
5766     }
5767
5768     offset=drsuapi_dissect_DsReplicaNeighbourCtr_count(tvb, offset, pinfo, tree, drep);
5769
5770     offset=drsuapi_dissect_DsReplicaNeighbourCtr_reserved(tvb, offset, pinfo, tree, drep);
5771
5772     offset=ucarray_drsuapi_dissect_DsReplicaNeighbourCtr_array(tvb, offset, pinfo, tree, drep);
5773
5774     proto_item_set_len(item, offset-old_offset);
5775
5776     return offset;
5777 }
5778 static int
5779 drsuapi_dissect_DsReplicaCoursorCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5780 {
5781     guint32 param=0;
5782     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_count, param);
5783     return offset;
5784 }
5785
5786 static int
5787 drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5788 {
5789     guint32 param=0;
5790     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_reserved, param);
5791     return offset;
5792 }
5793
5794 static int
5795 drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5796 {
5797     guint32 param=0;
5798     offset=drsuapi_dissect_DsReplicaCoursor(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursorCtr_array, param);
5799     return offset;
5800 }
5801
5802 static int
5803 ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5804 {
5805     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursorCtr_array);
5806     return offset;
5807 }
5808
5809
5810 int
5811 drsuapi_dissect_DsReplicaCoursorCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5812 {
5813     proto_item *item=NULL;
5814     proto_tree *tree=NULL;
5815     int old_offset;
5816
5817     ALIGN_TO_8_BYTES;
5818
5819     old_offset=offset;
5820     if(parent_tree){
5821         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5822         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursorCtr);
5823     }
5824
5825     offset=drsuapi_dissect_DsReplicaCoursorCtr_count(tvb, offset, pinfo, tree, drep);
5826
5827     offset=drsuapi_dissect_DsReplicaCoursorCtr_reserved(tvb, offset, pinfo, tree, drep);
5828
5829     offset=ucarray_drsuapi_dissect_DsReplicaCoursorCtr_array(tvb, offset, pinfo, tree, drep);
5830
5831     proto_item_set_len(item, offset-old_offset);
5832
5833     return offset;
5834 }
5835 static int
5836 drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5837 {
5838     guint32 param=0;
5839     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_attribute_name, param);
5840     return offset;
5841 }
5842
5843 static int
5844 unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5845 {
5846     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
5847     return offset;
5848 }
5849
5850 static int
5851 drsuapi_dissect_DsReplicaObjMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5852 {
5853     guint32 param=0;
5854     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_version, param);
5855     return offset;
5856 }
5857
5858 static int
5859 drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5860 {
5861     guint32 param=0;
5862     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_last_changed, param);
5863     return offset;
5864 }
5865
5866 static int
5867 drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5868 {
5869     guint32 param=0;
5870     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id, param);
5871     return offset;
5872 }
5873
5874 static int
5875 drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5876 {
5877     guint32 param=0;
5878     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_originating_usn, param);
5879     return offset;
5880 }
5881
5882 static int
5883 drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5884 {
5885     guint32 param=0;
5886     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData_local_usn, param);
5887     return offset;
5888 }
5889
5890
5891 int
5892 drsuapi_dissect_DsReplicaObjMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5893 {
5894     proto_item *item=NULL;
5895     proto_tree *tree=NULL;
5896     int old_offset;
5897
5898     ALIGN_TO_8_BYTES;
5899
5900     old_offset=offset;
5901     if(parent_tree){
5902         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5903         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData);
5904     }
5905
5906     offset=unique_drsuapi_dissect_DsReplicaObjMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
5907
5908     offset=drsuapi_dissect_DsReplicaObjMetaData_version(tvb, offset, pinfo, tree, drep);
5909
5910     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_last_changed(tvb, offset, pinfo, tree, drep);
5911
5912     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
5913
5914     offset=drsuapi_dissect_DsReplicaObjMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
5915
5916     offset=drsuapi_dissect_DsReplicaObjMetaData_local_usn(tvb, offset, pinfo, tree, drep);
5917
5918     proto_item_set_len(item, offset-old_offset);
5919
5920     return offset;
5921 }
5922 static int
5923 drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5924 {
5925     guint32 param=0;
5926     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_count, param);
5927     return offset;
5928 }
5929
5930 static int
5931 drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5932 {
5933     guint32 param=0;
5934     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_reserved, param);
5935     return offset;
5936 }
5937
5938 static int
5939 drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5940 {
5941     guint32 param=0;
5942     offset=drsuapi_dissect_DsReplicaObjMetaData(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaDataCtr_array, param);
5943     return offset;
5944 }
5945
5946 static int
5947 ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5948 {
5949     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaDataCtr_array);
5950     return offset;
5951 }
5952
5953
5954 int
5955 drsuapi_dissect_DsReplicaObjMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
5956 {
5957     proto_item *item=NULL;
5958     proto_tree *tree=NULL;
5959     int old_offset;
5960
5961     ALIGN_TO_8_BYTES;
5962
5963     old_offset=offset;
5964     if(parent_tree){
5965         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
5966         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaDataCtr);
5967     }
5968
5969     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
5970
5971     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr_reserved(tvb, offset, pinfo, tree, drep);
5972
5973     offset=ucarray_drsuapi_dissect_DsReplicaObjMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
5974
5975     proto_item_set_len(item, offset-old_offset);
5976
5977     return offset;
5978 }
5979 static int
5980 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5981 {
5982     guint32 param=0;
5983     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn, param);
5984     return offset;
5985 }
5986
5987 static int
5988 unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5989 {
5990     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn, NDR_POINTER_UNIQUE, "dsa_obj_dn", -1);
5991     return offset;
5992 }
5993
5994 static int
5995 drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
5996 {
5997     guint32 param=0;
5998     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid, param);
5999     return offset;
6000 }
6001
6002 static int
6003 drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6004 {
6005     guint32 param=0;
6006     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_first_failure, param);
6007     return offset;
6008 }
6009
6010 static int
6011 drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6012 {
6013     guint32 param=0;
6014     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_num_failures, param);
6015     return offset;
6016 }
6017
6018 static int
6019 drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6020 {
6021     guint32 param=0;
6022     offset=drsuapi_dissect_WERROR(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailure_last_result, param);
6023     return offset;
6024 }
6025
6026
6027 int
6028 drsuapi_dissect_DsReplicaKccDsaFailure(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6029 {
6030     proto_item *item=NULL;
6031     proto_tree *tree=NULL;
6032     int old_offset;
6033
6034     ALIGN_TO_4_BYTES;
6035
6036     old_offset=offset;
6037     if(parent_tree){
6038         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6039         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailure);
6040     }
6041
6042     offset=unique_drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6043
6044     offset=drsuapi_dissect_DsReplicaKccDsaFailure_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
6045
6046     offset=drsuapi_dissect_DsReplicaKccDsaFailure_first_failure(tvb, offset, pinfo, tree, drep);
6047
6048     offset=drsuapi_dissect_DsReplicaKccDsaFailure_num_failures(tvb, offset, pinfo, tree, drep);
6049
6050     offset=drsuapi_dissect_DsReplicaKccDsaFailure_last_result(tvb, offset, pinfo, tree, drep);
6051
6052     proto_item_set_len(item, offset-old_offset);
6053
6054     return offset;
6055 }
6056 static int
6057 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6058 {
6059     guint32 param=0;
6060     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_count, param);
6061     return offset;
6062 }
6063
6064 static int
6065 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6066 {
6067     guint32 param=0;
6068     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved, param);
6069     return offset;
6070 }
6071
6072 static int
6073 drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6074 {
6075     guint32 param=0;
6076     offset=drsuapi_dissect_DsReplicaKccDsaFailure(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaKccDsaFailuresCtr_array, param);
6077     return offset;
6078 }
6079
6080 static int
6081 ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6082 {
6083     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array);
6084     return offset;
6085 }
6086
6087
6088 int
6089 drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6090 {
6091     proto_item *item=NULL;
6092     proto_tree *tree=NULL;
6093     int old_offset;
6094
6095     ALIGN_TO_4_BYTES;
6096
6097     old_offset=offset;
6098     if(parent_tree){
6099         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6100         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaKccDsaFailuresCtr);
6101     }
6102
6103     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_count(tvb, offset, pinfo, tree, drep);
6104
6105     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr_reserved(tvb, offset, pinfo, tree, drep);
6106
6107     offset=ucarray_drsuapi_dissect_DsReplicaKccDsaFailuresCtr_array(tvb, offset, pinfo, tree, drep);
6108
6109     proto_item_set_len(item, offset-old_offset);
6110
6111     return offset;
6112 }
6113
6114 const value_string drsuapi_DsReplicaOpType_vals[] = {
6115     { 0 , "DRSUAPI_DS_REPLICA_OP_TYPE_SYNC" },
6116     { 1 , "DRSUAPI_DS_REPLICA_OP_TYPE_ADD" },
6117     { 2 , "DRSUAPI_DS_REPLICA_OP_TYPE_DELETE" },
6118     { 3 , "DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY" },
6119     { 4 , "DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS" },
6120     { 0 , NULL }
6121 };
6122
6123 int
6124 drsuapi_dissect_DsReplicaOpType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int hf_index, guint32 param _U_)
6125 {
6126     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree, drep, hf_index, NULL);
6127     return offset;
6128 }
6129
6130 static int
6131 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6132 {
6133     guint32 param=0;
6134     offset=drsuapi_dissect_DsReplicaSyncOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync, param);
6135     return offset;
6136 }
6137
6138 static int
6139 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6140 {
6141     guint32 param=0;
6142     offset=drsuapi_dissect_DsReplicaAddOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add, param);
6143     return offset;
6144 }
6145
6146 static int
6147 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6148 {
6149     guint32 param=0;
6150     offset=drsuapi_dissect_DsReplicaDeleteOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete, param);
6151     return offset;
6152 }
6153
6154 static int
6155 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6156 {
6157     guint32 param=0;
6158     offset=drsuapi_dissect_DsReplicaModifyOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify, param);
6159     return offset;
6160 }
6161
6162 static int
6163 drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6164 {
6165     guint32 param=0;
6166     offset=drsuapi_dissect_DsReplicaUpdateRefsOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs, param);
6167     return offset;
6168 }
6169
6170 static int
6171 drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6172 {
6173     guint32 param=0;
6174     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsRplicaOpOptions_default_unknown, param);
6175     return offset;
6176 }
6177
6178
6179 static int
6180 drsuapi_dissect_union_DsRplicaOpOptions(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6181 {
6182     proto_item *item=NULL;
6183     proto_tree *tree=NULL;
6184     int old_offset;
6185     guint16 level = 0;
6186
6187     ALIGN_TO_2_BYTES;
6188
6189     old_offset=offset;
6190     if(parent_tree){
6191         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsRplicaOpOptions");
6192         tree=proto_item_add_subtree(item, ett_drsuapi_DsRplicaOpOptions);
6193     }
6194
6195     offset=dissect_ndr_uint16(tvb, offset, pinfo, tree,
6196                               drep, hf_index, &level);
6197
6198     switch(level){
6199     case DRSUAPI_DS_REPLICA_OP_TYPE_SYNC:
6200         ALIGN_TO_4_BYTES;
6201         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync(tvb, offset, pinfo, tree, drep);
6202         break;
6203
6204     case DRSUAPI_DS_REPLICA_OP_TYPE_ADD:
6205         ALIGN_TO_4_BYTES;
6206         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add(tvb, offset, pinfo, tree, drep);
6207         break;
6208
6209     case DRSUAPI_DS_REPLICA_OP_TYPE_DELETE:
6210         ALIGN_TO_4_BYTES;
6211         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete(tvb, offset, pinfo, tree, drep);
6212         break;
6213
6214     case DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY:
6215         ALIGN_TO_4_BYTES;
6216         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify(tvb, offset, pinfo, tree, drep);
6217         break;
6218
6219     case DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS:
6220         ALIGN_TO_4_BYTES;
6221         offset=drsuapi_dissect_union_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs(tvb, offset, pinfo, tree, drep);
6222         break;
6223
6224     default:
6225         ALIGN_TO_4_BYTES;
6226         offset=drsuapi_dissect_union_DsRplicaOpOptions_default_unknown(tvb, offset, pinfo, tree, drep);
6227         break;
6228
6229     }
6230
6231     proto_item_set_len(item, offset-old_offset);
6232
6233    return offset;
6234 }
6235 static int
6236 drsuapi_dissect_DsReplicaOp_operation_start(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6237 {
6238     guint32 param=0;
6239     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_operation_start, param);
6240     return offset;
6241 }
6242
6243 static int
6244 drsuapi_dissect_DsReplicaOp_serial_num(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6245 {
6246     guint32 param=0;
6247     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_serial_num, param);
6248     return offset;
6249 }
6250
6251 static int
6252 drsuapi_dissect_DsReplicaOp_priority(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6253 {
6254     guint32 param=0;
6255     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_priority, param);
6256     return offset;
6257 }
6258
6259 static int
6260 drsuapi_dissect_DsReplicaOp_operation_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6261 {
6262     guint32 param=0;
6263     offset=drsuapi_dissect_DsReplicaOpType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_operation_type, param);
6264     return offset;
6265 }
6266
6267 static int
6268 drsuapi_dissect_DsReplicaOp_options(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6269 {
6270     guint32 param=0;
6271     offset=drsuapi_dissect_union_DsRplicaOpOptions(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_options, param);
6272     return offset;
6273 }
6274
6275 static int
6276 drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6277 {
6278     guint32 param=0;
6279     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_nc_dn, param);
6280     return offset;
6281 }
6282
6283 static int
6284 unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6285 {
6286     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_nc_dn, NDR_POINTER_UNIQUE, "nc_dn", -1);
6287     return offset;
6288 }
6289
6290 static int
6291 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6292 {
6293     guint32 param=0;
6294     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn, param);
6295     return offset;
6296 }
6297
6298 static int
6299 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6300 {
6301     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn, NDR_POINTER_UNIQUE, "remote_dsa_obj_dn", -1);
6302     return offset;
6303 }
6304
6305 static int
6306 drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6307 {
6308     guint32 param=0;
6309     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_address, param);
6310     return offset;
6311 }
6312
6313 static int
6314 unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6315 {
6316     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOp_remote_dsa_address, NDR_POINTER_UNIQUE, "remote_dsa_address", -1);
6317     return offset;
6318 }
6319
6320 static int
6321 drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6322 {
6323     guint32 param=0;
6324     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_nc_obj_guid, param);
6325     return offset;
6326 }
6327
6328 static int
6329 drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6330 {
6331     guint32 param=0;
6332     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid, param);
6333     return offset;
6334 }
6335
6336
6337 int
6338 drsuapi_dissect_DsReplicaOp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6339 {
6340     proto_item *item=NULL;
6341     proto_tree *tree=NULL;
6342     int old_offset;
6343
6344     ALIGN_TO_4_BYTES;
6345
6346     old_offset=offset;
6347     if(parent_tree){
6348         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6349         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOp);
6350     }
6351
6352     offset=drsuapi_dissect_DsReplicaOp_operation_start(tvb, offset, pinfo, tree, drep);
6353
6354     offset=drsuapi_dissect_DsReplicaOp_serial_num(tvb, offset, pinfo, tree, drep);
6355
6356     offset=drsuapi_dissect_DsReplicaOp_priority(tvb, offset, pinfo, tree, drep);
6357
6358     offset=drsuapi_dissect_DsReplicaOp_operation_type(tvb, offset, pinfo, tree, drep);
6359
6360     offset=drsuapi_dissect_DsReplicaOp_options(tvb, offset, pinfo, tree, drep);
6361
6362     offset=unique_drsuapi_dissect_DsReplicaOp_nc_dn(tvb, offset, pinfo, tree, drep);
6363
6364     offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6365
6366     offset=unique_drsuapi_dissect_DsReplicaOp_remote_dsa_address(tvb, offset, pinfo, tree, drep);
6367
6368     offset=drsuapi_dissect_DsReplicaOp_nc_obj_guid(tvb, offset, pinfo, tree, drep);
6369
6370     offset=drsuapi_dissect_DsReplicaOp_remote_dsa_obj_guid(tvb, offset, pinfo, tree, drep);
6371
6372     proto_item_set_len(item, offset-old_offset);
6373
6374     return offset;
6375 }
6376 static int
6377 drsuapi_dissect_DsReplicaOpCtr_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6378 {
6379     guint32 param=0;
6380     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_time, param);
6381     return offset;
6382 }
6383
6384 static int
6385 drsuapi_dissect_DsReplicaOpCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6386 {
6387     guint32 param=0;
6388     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_count, param);
6389     return offset;
6390 }
6391
6392 static int
6393 drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6394 {
6395     guint32 param=0;
6396     offset=drsuapi_dissect_DsReplicaOp(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaOpCtr_array, param);
6397     return offset;
6398 }
6399
6400 static int
6401 ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6402 {
6403     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaOpCtr_array);
6404     return offset;
6405 }
6406
6407
6408 int
6409 drsuapi_dissect_DsReplicaOpCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6410 {
6411     proto_item *item=NULL;
6412     proto_tree *tree=NULL;
6413     int old_offset;
6414
6415     ALIGN_TO_4_BYTES;
6416
6417     old_offset=offset;
6418     if(parent_tree){
6419         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6420         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaOpCtr);
6421     }
6422
6423     offset=drsuapi_dissect_DsReplicaOpCtr_time(tvb, offset, pinfo, tree, drep);
6424
6425     offset=drsuapi_dissect_DsReplicaOpCtr_count(tvb, offset, pinfo, tree, drep);
6426
6427     offset=ucarray_drsuapi_dissect_DsReplicaOpCtr_array(tvb, offset, pinfo, tree, drep);
6428
6429     proto_item_set_len(item, offset-old_offset);
6430
6431     return offset;
6432 }
6433 static int
6434 drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6435 {
6436     guint32 param=0;
6437     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_attribute_name, param);
6438     return offset;
6439 }
6440
6441 static int
6442 unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6443 {
6444     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6445     return offset;
6446 }
6447
6448 static int
6449 drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6450 {
6451     guint32 param=0;
6452     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_object_dn, param);
6453     return offset;
6454 }
6455
6456 static int
6457 unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6458 {
6459     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
6460     return offset;
6461 }
6462
6463 static int
6464 drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6465 {
6466     guint32 param=0;
6467     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_value_length, param);
6468     return offset;
6469 }
6470
6471 static int
6472 drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6473 {
6474     guint32 param=0;
6475     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_value, param);
6476     return offset;
6477 }
6478
6479 static int
6480 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6481 {
6482     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData_value);
6483     return offset;
6484 }
6485
6486 static int
6487 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6488 {
6489     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value, NDR_POINTER_UNIQUE, "value", -1);
6490     return offset;
6491 }
6492
6493 static int
6494 drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6495 {
6496     guint32 param=0;
6497     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_deleted, param);
6498     return offset;
6499 }
6500
6501 static int
6502 drsuapi_dissect_DsReplicaAttrValMetaData_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6503 {
6504     guint32 param=0;
6505     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_created, param);
6506     return offset;
6507 }
6508
6509 static int
6510 drsuapi_dissect_DsReplicaAttrValMetaData_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6511 {
6512     guint32 param=0;
6513     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_version, param);
6514     return offset;
6515 }
6516
6517 static int
6518 drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6519 {
6520     guint32 param=0;
6521     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed, param);
6522     return offset;
6523 }
6524
6525 static int
6526 drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6527 {
6528     guint32 param=0;
6529     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id, param);
6530     return offset;
6531 }
6532
6533 static int
6534 drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6535 {
6536     guint32 param=0;
6537     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_originating_usn, param);
6538     return offset;
6539 }
6540
6541 static int
6542 drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6543 {
6544     guint32 param=0;
6545     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData_local_usn, param);
6546     return offset;
6547 }
6548
6549
6550 int
6551 drsuapi_dissect_DsReplicaAttrValMetaData(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6552 {
6553     proto_item *item=NULL;
6554     proto_tree *tree=NULL;
6555     int old_offset;
6556
6557     ALIGN_TO_8_BYTES;
6558
6559     old_offset=offset;
6560     if(parent_tree){
6561         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6562         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData);
6563     }
6564
6565     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_attribute_name(tvb, offset, pinfo, tree, drep);
6566
6567     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData_object_dn(tvb, offset, pinfo, tree, drep);
6568
6569     offset=drsuapi_dissect_DsReplicaAttrValMetaData_value_length(tvb, offset, pinfo, tree, drep);
6570
6571     offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData_value(tvb, offset, pinfo, tree, drep);
6572
6573     offset=drsuapi_dissect_DsReplicaAttrValMetaData_deleted(tvb, offset, pinfo, tree, drep);
6574
6575     offset=drsuapi_dissect_DsReplicaAttrValMetaData_created(tvb, offset, pinfo, tree, drep);
6576
6577     offset=drsuapi_dissect_DsReplicaAttrValMetaData_version(tvb, offset, pinfo, tree, drep);
6578
6579     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_last_changed(tvb, offset, pinfo, tree, drep);
6580
6581     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6582
6583     offset=drsuapi_dissect_DsReplicaAttrValMetaData_originating_usn(tvb, offset, pinfo, tree, drep);
6584
6585     offset=drsuapi_dissect_DsReplicaAttrValMetaData_local_usn(tvb, offset, pinfo, tree, drep);
6586
6587     proto_item_set_len(item, offset-old_offset);
6588
6589     return offset;
6590 }
6591 static int
6592 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6593 {
6594     guint32 param=0;
6595     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_count, param);
6596     return offset;
6597 }
6598
6599 static int
6600 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6601 {
6602     guint32 param=0;
6603     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context, param);
6604     return offset;
6605 }
6606
6607 static int
6608 drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6609 {
6610     guint32 param=0;
6611     offset=drsuapi_dissect_DsReplicaAttrValMetaData(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaDataCtr_array, param);
6612     return offset;
6613 }
6614
6615 static int
6616 ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6617 {
6618     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array);
6619     return offset;
6620 }
6621
6622
6623 int
6624 drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6625 {
6626     proto_item *item=NULL;
6627     proto_tree *tree=NULL;
6628     int old_offset;
6629
6630     ALIGN_TO_8_BYTES;
6631
6632     old_offset=offset;
6633     if(parent_tree){
6634         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6635         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaDataCtr);
6636     }
6637
6638     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_count(tvb, offset, pinfo, tree, drep);
6639
6640     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr_enumeration_context(tvb, offset, pinfo, tree, drep);
6641
6642     offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaDataCtr_array(tvb, offset, pinfo, tree, drep);
6643
6644     proto_item_set_len(item, offset-old_offset);
6645
6646     return offset;
6647 }
6648 static int
6649 drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6650 {
6651     guint32 param=0;
6652     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id, param);
6653     return offset;
6654 }
6655
6656 static int
6657 drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6658 {
6659     guint32 param=0;
6660     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_highest_usn, param);
6661     return offset;
6662 }
6663
6664 static int
6665 drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6666 {
6667     guint32 param=0;
6668     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2_last_sync_success, param);
6669     return offset;
6670 }
6671
6672
6673 int
6674 drsuapi_dissect_DsReplicaCoursor2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6675 {
6676     proto_item *item=NULL;
6677     proto_tree *tree=NULL;
6678     int old_offset;
6679
6680     ALIGN_TO_8_BYTES;
6681
6682     old_offset=offset;
6683     if(parent_tree){
6684         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6685         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2);
6686     }
6687
6688     offset=drsuapi_dissect_DsReplicaCoursor2_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6689
6690     offset=drsuapi_dissect_DsReplicaCoursor2_highest_usn(tvb, offset, pinfo, tree, drep);
6691
6692     offset=drsuapi_dissect_DsReplicaCoursor2_last_sync_success(tvb, offset, pinfo, tree, drep);
6693
6694     proto_item_set_len(item, offset-old_offset);
6695
6696     return offset;
6697 }
6698 static int
6699 drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6700 {
6701     guint32 param=0;
6702     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_count, param);
6703     return offset;
6704 }
6705
6706 static int
6707 drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6708 {
6709     guint32 param=0;
6710     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context, param);
6711     return offset;
6712 }
6713
6714 static int
6715 drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6716 {
6717     guint32 param=0;
6718     offset=drsuapi_dissect_DsReplicaCoursor2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor2Ctr_array, param);
6719     return offset;
6720 }
6721
6722 static int
6723 ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6724 {
6725     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor2Ctr_array);
6726     return offset;
6727 }
6728
6729
6730 int
6731 drsuapi_dissect_DsReplicaCoursor2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6732 {
6733     proto_item *item=NULL;
6734     proto_tree *tree=NULL;
6735     int old_offset;
6736
6737     ALIGN_TO_8_BYTES;
6738
6739     old_offset=offset;
6740     if(parent_tree){
6741         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6742         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor2Ctr);
6743     }
6744
6745     offset=drsuapi_dissect_DsReplicaCoursor2Ctr_count(tvb, offset, pinfo, tree, drep);
6746
6747     offset=drsuapi_dissect_DsReplicaCoursor2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
6748
6749     offset=ucarray_drsuapi_dissect_DsReplicaCoursor2Ctr_array(tvb, offset, pinfo, tree, drep);
6750
6751     proto_item_set_len(item, offset-old_offset);
6752
6753     return offset;
6754 }
6755 static int
6756 drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6757 {
6758     guint32 param=0;
6759     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id, param);
6760     return offset;
6761 }
6762
6763 static int
6764 drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6765 {
6766     guint32 param=0;
6767     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_highest_usn, param);
6768     return offset;
6769 }
6770
6771 static int
6772 drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6773 {
6774     guint32 param=0;
6775     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_last_sync_success, param);
6776     return offset;
6777 }
6778
6779 static int
6780 drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6781 {
6782     guint32 param=0;
6783     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn, param);
6784     return offset;
6785 }
6786
6787 static int
6788 unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6789 {
6790     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn, NDR_POINTER_UNIQUE, "source_dsa_obj_dn", -1);
6791     return offset;
6792 }
6793
6794
6795 int
6796 drsuapi_dissect_DsReplicaCoursor3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6797 {
6798     proto_item *item=NULL;
6799     proto_tree *tree=NULL;
6800     int old_offset;
6801
6802     ALIGN_TO_8_BYTES;
6803
6804     old_offset=offset;
6805     if(parent_tree){
6806         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6807         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3);
6808     }
6809
6810     offset=drsuapi_dissect_DsReplicaCoursor3_source_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6811
6812     offset=drsuapi_dissect_DsReplicaCoursor3_highest_usn(tvb, offset, pinfo, tree, drep);
6813
6814     offset=drsuapi_dissect_DsReplicaCoursor3_last_sync_success(tvb, offset, pinfo, tree, drep);
6815
6816     offset=unique_drsuapi_dissect_DsReplicaCoursor3_source_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6817
6818     proto_item_set_len(item, offset-old_offset);
6819
6820     return offset;
6821 }
6822 static int
6823 drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6824 {
6825     guint32 param=0;
6826     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_count, param);
6827     return offset;
6828 }
6829
6830 static int
6831 drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6832 {
6833     guint32 param=0;
6834     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context, param);
6835     return offset;
6836 }
6837
6838 static int
6839 drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6840 {
6841     guint32 param=0;
6842     offset=drsuapi_dissect_DsReplicaCoursor3(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaCoursor3Ctr_array, param);
6843     return offset;
6844 }
6845
6846 static int
6847 ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6848 {
6849     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaCoursor3Ctr_array);
6850     return offset;
6851 }
6852
6853
6854 int
6855 drsuapi_dissect_DsReplicaCoursor3Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6856 {
6857     proto_item *item=NULL;
6858     proto_tree *tree=NULL;
6859     int old_offset;
6860
6861     ALIGN_TO_8_BYTES;
6862
6863     old_offset=offset;
6864     if(parent_tree){
6865         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6866         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaCoursor3Ctr);
6867     }
6868
6869     offset=drsuapi_dissect_DsReplicaCoursor3Ctr_count(tvb, offset, pinfo, tree, drep);
6870
6871     offset=drsuapi_dissect_DsReplicaCoursor3Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
6872
6873     offset=ucarray_drsuapi_dissect_DsReplicaCoursor3Ctr_array(tvb, offset, pinfo, tree, drep);
6874
6875     proto_item_set_len(item, offset-old_offset);
6876
6877     return offset;
6878 }
6879 static int
6880 drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6881 {
6882     guint32 param=0;
6883     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_attribute_name, param);
6884     return offset;
6885 }
6886
6887 static int
6888 unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6889 {
6890     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
6891     return offset;
6892 }
6893
6894 static int
6895 drsuapi_dissect_DsReplicaObjMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6896 {
6897     guint32 param=0;
6898     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_version, param);
6899     return offset;
6900 }
6901
6902 static int
6903 drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6904 {
6905     guint32 param=0;
6906     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed, param);
6907     return offset;
6908 }
6909
6910 static int
6911 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6912 {
6913     guint32 param=0;
6914     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id, param);
6915     return offset;
6916 }
6917
6918 static int
6919 drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6920 {
6921     guint32 param=0;
6922     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_usn, param);
6923     return offset;
6924 }
6925
6926 static int
6927 drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6928 {
6929     guint32 param=0;
6930     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_local_usn, param);
6931     return offset;
6932 }
6933
6934 static int
6935 drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6936 {
6937     guint32 param=0;
6938     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn, param);
6939     return offset;
6940 }
6941
6942 static int
6943 unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6944 {
6945     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
6946     return offset;
6947 }
6948
6949
6950 int
6951 drsuapi_dissect_DsReplicaObjMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
6952 {
6953     proto_item *item=NULL;
6954     proto_tree *tree=NULL;
6955     int old_offset;
6956
6957     ALIGN_TO_8_BYTES;
6958
6959     old_offset=offset;
6960     if(parent_tree){
6961         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
6962         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2);
6963     }
6964
6965     offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
6966
6967     offset=drsuapi_dissect_DsReplicaObjMetaData2_version(tvb, offset, pinfo, tree, drep);
6968
6969     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_last_changed(tvb, offset, pinfo, tree, drep);
6970
6971     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
6972
6973     offset=drsuapi_dissect_DsReplicaObjMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
6974
6975     offset=drsuapi_dissect_DsReplicaObjMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
6976
6977     offset=unique_drsuapi_dissect_DsReplicaObjMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
6978
6979     proto_item_set_len(item, offset-old_offset);
6980
6981     return offset;
6982 }
6983 static int
6984 drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6985 {
6986     guint32 param=0;
6987     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_count, param);
6988     return offset;
6989 }
6990
6991 static int
6992 drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
6993 {
6994     guint32 param=0;
6995     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context, param);
6996     return offset;
6997 }
6998
6999 static int
7000 drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7001 {
7002     guint32 param=0;
7003     offset=drsuapi_dissect_DsReplicaObjMetaData2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaObjMetaData2Ctr_array, param);
7004     return offset;
7005 }
7006
7007 static int
7008 ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7009 {
7010     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaObjMetaData2Ctr_array);
7011     return offset;
7012 }
7013
7014
7015 int
7016 drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7017 {
7018     proto_item *item=NULL;
7019     proto_tree *tree=NULL;
7020     int old_offset;
7021
7022     ALIGN_TO_8_BYTES;
7023
7024     old_offset=offset;
7025     if(parent_tree){
7026         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7027         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaObjMetaData2Ctr);
7028     }
7029
7030     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
7031
7032     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
7033
7034     offset=ucarray_drsuapi_dissect_DsReplicaObjMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
7035
7036     proto_item_set_len(item, offset-old_offset);
7037
7038     return offset;
7039 }
7040 static int
7041 drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7042 {
7043     guint32 param=0;
7044     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name, param);
7045     return offset;
7046 }
7047
7048 static int
7049 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7050 {
7051     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name, NDR_POINTER_UNIQUE, "attribute_name", -1);
7052     return offset;
7053 }
7054
7055 static int
7056 drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7057 {
7058     guint32 param=0;
7059     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_object_dn, param);
7060     return offset;
7061 }
7062
7063 static int
7064 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7065 {
7066     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn, NDR_POINTER_UNIQUE, "object_dn", -1);
7067     return offset;
7068 }
7069
7070 static int
7071 drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7072 {
7073     guint32 param=0;
7074     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value_length, param);
7075     return offset;
7076 }
7077
7078 static int
7079 drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7080 {
7081     guint32 param=0;
7082     offset=drsuapi_dissect_uint8(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_value, param);
7083     return offset;
7084 }
7085
7086 static int
7087 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7088 {
7089     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_value);
7090     return offset;
7091 }
7092
7093 static int
7094 unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7095 {
7096     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value, NDR_POINTER_UNIQUE, "value", -1);
7097     return offset;
7098 }
7099
7100 static int
7101 drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7102 {
7103     guint32 param=0;
7104     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_deleted, param);
7105     return offset;
7106 }
7107
7108 static int
7109 drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7110 {
7111     guint32 param=0;
7112     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_created, param);
7113     return offset;
7114 }
7115
7116 static int
7117 drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7118 {
7119     guint32 param=0;
7120     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_version, param);
7121     return offset;
7122 }
7123
7124 static int
7125 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7126 {
7127     guint32 param=0;
7128     offset=drsuapi_dissect_NTTIME(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed, param);
7129     return offset;
7130 }
7131
7132 static int
7133 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7134 {
7135     guint32 param=0;
7136     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id, param);
7137     return offset;
7138 }
7139
7140 static int
7141 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7142 {
7143     guint32 param=0;
7144     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn, param);
7145     return offset;
7146 }
7147
7148 static int
7149 drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7150 {
7151     guint32 param=0;
7152     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_local_usn, param);
7153     return offset;
7154 }
7155
7156 static int
7157 drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7158 {
7159     guint32 param=0;
7160     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, param);
7161     return offset;
7162 }
7163
7164 static int
7165 unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7166 {
7167     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn, NDR_POINTER_UNIQUE, "originating_dsa_obj_dn", -1);
7168     return offset;
7169 }
7170
7171
7172 int
7173 drsuapi_dissect_DsReplicaAttrValMetaData2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7174 {
7175     proto_item *item=NULL;
7176     proto_tree *tree=NULL;
7177     int old_offset;
7178
7179     ALIGN_TO_8_BYTES;
7180
7181     old_offset=offset;
7182     if(parent_tree){
7183         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7184         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2);
7185     }
7186
7187     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_attribute_name(tvb, offset, pinfo, tree, drep);
7188
7189     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_object_dn(tvb, offset, pinfo, tree, drep);
7190
7191     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_value_length(tvb, offset, pinfo, tree, drep);
7192
7193     offset=unique_ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2_value(tvb, offset, pinfo, tree, drep);
7194
7195     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_deleted(tvb, offset, pinfo, tree, drep);
7196
7197     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_created(tvb, offset, pinfo, tree, drep);
7198
7199     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_version(tvb, offset, pinfo, tree, drep);
7200
7201     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_last_changed(tvb, offset, pinfo, tree, drep);
7202
7203     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_invocation_id(tvb, offset, pinfo, tree, drep);
7204
7205     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_originating_usn(tvb, offset, pinfo, tree, drep);
7206
7207     offset=drsuapi_dissect_DsReplicaAttrValMetaData2_local_usn(tvb, offset, pinfo, tree, drep);
7208
7209     offset=unique_drsuapi_dissect_DsReplicaAttrValMetaData2_originating_dsa_obj_dn(tvb, offset, pinfo, tree, drep);
7210
7211     proto_item_set_len(item, offset-old_offset);
7212
7213     return offset;
7214 }
7215 static int
7216 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7217 {
7218     guint32 param=0;
7219     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count, param);
7220     return offset;
7221 }
7222
7223 static int
7224 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7225 {
7226     guint32 param=0;
7227     offset=drsuapi_dissect_int32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context, param);
7228     return offset;
7229 }
7230
7231 static int
7232 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7233 {
7234     guint32 param=0;
7235     offset=drsuapi_dissect_DsReplicaAttrValMetaData2(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array, param);
7236     return offset;
7237 }
7238
7239 static int
7240 ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7241 {
7242     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array);
7243     return offset;
7244 }
7245
7246
7247 int
7248 drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7249 {
7250     proto_item *item=NULL;
7251     proto_tree *tree=NULL;
7252     int old_offset;
7253
7254     ALIGN_TO_8_BYTES;
7255
7256     old_offset=offset;
7257     if(parent_tree){
7258         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7259         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaAttrValMetaData2Ctr);
7260     }
7261
7262     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_count(tvb, offset, pinfo, tree, drep);
7263
7264     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_enumeration_context(tvb, offset, pinfo, tree, drep);
7265
7266     offset=ucarray_drsuapi_dissect_DsReplicaAttrValMetaData2Ctr_array(tvb, offset, pinfo, tree, drep);
7267
7268     proto_item_set_len(item, offset-old_offset);
7269
7270     return offset;
7271 }
7272 static int
7273 drsuapi_dissect_DsReplicaConnection04_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7274 {
7275     guint32 param=0;
7276     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u1, param);
7277     return offset;
7278 }
7279
7280 static int
7281 drsuapi_dissect_DsReplicaConnection04_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7282 {
7283     guint32 param=0;
7284     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u2, param);
7285     return offset;
7286 }
7287
7288 static int
7289 drsuapi_dissect_DsReplicaConnection04_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7290 {
7291     guint32 param=0;
7292     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u3, param);
7293     return offset;
7294 }
7295
7296 static int
7297 drsuapi_dissect_DsReplicaConnection04_bind_guid(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7298 {
7299     guint32 param=0;
7300     offset=drsuapi_dissect_GUID(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_bind_guid, param);
7301     return offset;
7302 }
7303
7304 static int
7305 drsuapi_dissect_DsReplicaConnection04_bind_time(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7306 {
7307     guint32 param=0;
7308     offset=drsuapi_dissect_NTTIME_1sec(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_bind_time, param);
7309     return offset;
7310 }
7311
7312 static int
7313 drsuapi_dissect_DsReplicaConnection04_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7314 {
7315     guint32 param=0;
7316     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u4, param);
7317     return offset;
7318 }
7319
7320 static int
7321 drsuapi_dissect_DsReplicaConnection04_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7322 {
7323     guint32 param=0;
7324     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04_u5, param);
7325     return offset;
7326 }
7327
7328
7329 int
7330 drsuapi_dissect_DsReplicaConnection04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7331 {
7332     proto_item *item=NULL;
7333     proto_tree *tree=NULL;
7334     int old_offset;
7335
7336     ALIGN_TO_8_BYTES;
7337
7338     old_offset=offset;
7339     if(parent_tree){
7340         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7341         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04);
7342     }
7343
7344     offset=drsuapi_dissect_DsReplicaConnection04_u1(tvb, offset, pinfo, tree, drep);
7345
7346     offset=drsuapi_dissect_DsReplicaConnection04_u2(tvb, offset, pinfo, tree, drep);
7347
7348     offset=drsuapi_dissect_DsReplicaConnection04_u3(tvb, offset, pinfo, tree, drep);
7349
7350     offset=drsuapi_dissect_DsReplicaConnection04_bind_guid(tvb, offset, pinfo, tree, drep);
7351
7352     offset=drsuapi_dissect_DsReplicaConnection04_bind_time(tvb, offset, pinfo, tree, drep);
7353
7354     offset=drsuapi_dissect_DsReplicaConnection04_u4(tvb, offset, pinfo, tree, drep);
7355
7356     offset=drsuapi_dissect_DsReplicaConnection04_u5(tvb, offset, pinfo, tree, drep);
7357
7358     proto_item_set_len(item, offset-old_offset);
7359
7360     return offset;
7361 }
7362 static int
7363 drsuapi_dissect_DsReplicaConnection04Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7364 {
7365     guint32 param=0;
7366     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_count, param);
7367     return offset;
7368 }
7369
7370 static int
7371 drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7372 {
7373     guint32 param=0;
7374     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_reserved, param);
7375     return offset;
7376 }
7377
7378 static int
7379 drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7380 {
7381     guint32 param=0;
7382     offset=drsuapi_dissect_DsReplicaConnection04(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaConnection04Ctr_array, param);
7383     return offset;
7384 }
7385
7386 static int
7387 ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7388 {
7389     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaConnection04Ctr_array);
7390     return offset;
7391 }
7392
7393
7394 int
7395 drsuapi_dissect_DsReplicaConnection04Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7396 {
7397     proto_item *item=NULL;
7398     proto_tree *tree=NULL;
7399     int old_offset;
7400
7401     ALIGN_TO_8_BYTES;
7402
7403     old_offset=offset;
7404     if(parent_tree){
7405         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7406         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaConnection04Ctr);
7407     }
7408
7409     offset=drsuapi_dissect_DsReplicaConnection04Ctr_count(tvb, offset, pinfo, tree, drep);
7410
7411     offset=drsuapi_dissect_DsReplicaConnection04Ctr_reserved(tvb, offset, pinfo, tree, drep);
7412
7413     offset=ucarray_drsuapi_dissect_DsReplicaConnection04Ctr_array(tvb, offset, pinfo, tree, drep);
7414
7415     proto_item_set_len(item, offset-old_offset);
7416
7417     return offset;
7418 }
7419 static int
7420 drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7421 {
7422     guint32 param=0;
7423     offset=drsuapi_dissect_unistr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_str1, param);
7424     return offset;
7425 }
7426
7427 static int
7428 unique_drsuapi_dissect_DsReplica06_str1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7429 {
7430     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplica06_str1, NDR_POINTER_UNIQUE, "str1", -1);
7431     return offset;
7432 }
7433
7434 static int
7435 drsuapi_dissect_DsReplica06_u1(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7436 {
7437     guint32 param=0;
7438     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u1, param);
7439     return offset;
7440 }
7441
7442 static int
7443 drsuapi_dissect_DsReplica06_u2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7444 {
7445     guint32 param=0;
7446     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u2, param);
7447     return offset;
7448 }
7449
7450 static int
7451 drsuapi_dissect_DsReplica06_u3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7452 {
7453     guint32 param=0;
7454     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u3, param);
7455     return offset;
7456 }
7457
7458 static int
7459 drsuapi_dissect_DsReplica06_u4(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7460 {
7461     guint32 param=0;
7462     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u4, param);
7463     return offset;
7464 }
7465
7466 static int
7467 drsuapi_dissect_DsReplica06_u5(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7468 {
7469     guint32 param=0;
7470     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u5, param);
7471     return offset;
7472 }
7473
7474 static int
7475 drsuapi_dissect_DsReplica06_u6(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7476 {
7477     guint32 param=0;
7478     offset=drsuapi_dissect_uint64(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u6, param);
7479     return offset;
7480 }
7481
7482 static int
7483 drsuapi_dissect_DsReplica06_u7(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7484 {
7485     guint32 param=0;
7486     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06_u7, param);
7487     return offset;
7488 }
7489
7490
7491 int
7492 drsuapi_dissect_DsReplica06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7493 {
7494     proto_item *item=NULL;
7495     proto_tree *tree=NULL;
7496     int old_offset;
7497
7498     ALIGN_TO_8_BYTES;
7499
7500     old_offset=offset;
7501     if(parent_tree){
7502         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7503         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06);
7504     }
7505
7506     offset=unique_drsuapi_dissect_DsReplica06_str1(tvb, offset, pinfo, tree, drep);
7507
7508     offset=drsuapi_dissect_DsReplica06_u1(tvb, offset, pinfo, tree, drep);
7509
7510     offset=drsuapi_dissect_DsReplica06_u2(tvb, offset, pinfo, tree, drep);
7511
7512     offset=drsuapi_dissect_DsReplica06_u3(tvb, offset, pinfo, tree, drep);
7513
7514     offset=drsuapi_dissect_DsReplica06_u4(tvb, offset, pinfo, tree, drep);
7515
7516     offset=drsuapi_dissect_DsReplica06_u5(tvb, offset, pinfo, tree, drep);
7517
7518     offset=drsuapi_dissect_DsReplica06_u6(tvb, offset, pinfo, tree, drep);
7519
7520     offset=drsuapi_dissect_DsReplica06_u7(tvb, offset, pinfo, tree, drep);
7521
7522     proto_item_set_len(item, offset-old_offset);
7523
7524     return offset;
7525 }
7526 static int
7527 drsuapi_dissect_DsReplica06Ctr_count(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7528 {
7529     guint32 param=0;
7530     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_count, param);
7531     return offset;
7532 }
7533
7534 static int
7535 drsuapi_dissect_DsReplica06Ctr_reserved(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7536 {
7537     guint32 param=0;
7538     offset=drsuapi_dissect_uint32(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_reserved, param);
7539     return offset;
7540 }
7541
7542 static int
7543 drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7544 {
7545     guint32 param=0;
7546     offset=drsuapi_dissect_DsReplica06(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplica06Ctr_array, param);
7547     return offset;
7548 }
7549
7550 static int
7551 ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7552 {
7553     offset=dissect_ndr_ucarray(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplica06Ctr_array);
7554     return offset;
7555 }
7556
7557
7558 int
7559 drsuapi_dissect_DsReplica06Ctr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7560 {
7561     proto_item *item=NULL;
7562     proto_tree *tree=NULL;
7563     int old_offset;
7564
7565     ALIGN_TO_8_BYTES;
7566
7567     old_offset=offset;
7568     if(parent_tree){
7569         item=proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, TRUE);
7570         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplica06Ctr);
7571     }
7572
7573     offset=drsuapi_dissect_DsReplica06Ctr_count(tvb, offset, pinfo, tree, drep);
7574
7575     offset=drsuapi_dissect_DsReplica06Ctr_reserved(tvb, offset, pinfo, tree, drep);
7576
7577     offset=ucarray_drsuapi_dissect_DsReplica06Ctr_array(tvb, offset, pinfo, tree, drep);
7578
7579     proto_item_set_len(item, offset-old_offset);
7580
7581     return offset;
7582 }
7583 static int
7584 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7585 {
7586     guint32 param=0;
7587     offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, param);
7588     return offset;
7589 }
7590
7591 static int
7592 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7593 {
7594     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours, NDR_POINTER_UNIQUE, "neighbours", -1);
7595     return offset;
7596 }
7597
7598 static int
7599 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7600 {
7601     guint32 param=0;
7602     offset=drsuapi_dissect_DsReplicaCoursorCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, param);
7603     return offset;
7604 }
7605
7606 static int
7607 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7608 {
7609     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors, NDR_POINTER_UNIQUE, "coursors", -1);
7610     return offset;
7611 }
7612
7613 static int
7614 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7615 {
7616     guint32 param=0;
7617     offset=drsuapi_dissect_DsReplicaObjMetaDataCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, param);
7618     return offset;
7619 }
7620
7621 static int
7622 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7623 {
7624     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata, NDR_POINTER_UNIQUE, "objmetadata", -1);
7625     return offset;
7626 }
7627
7628 static int
7629 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7630 {
7631     guint32 param=0;
7632     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, param);
7633     return offset;
7634 }
7635
7636 static int
7637 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7638 {
7639     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures, NDR_POINTER_UNIQUE, "connectfailures", -1);
7640     return offset;
7641 }
7642
7643 static int
7644 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7645 {
7646     guint32 param=0;
7647     offset=drsuapi_dissect_DsReplicaKccDsaFailuresCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, param);
7648     return offset;
7649 }
7650
7651 static int
7652 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7653 {
7654     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures, NDR_POINTER_UNIQUE, "linkfailures", -1);
7655     return offset;
7656 }
7657
7658 static int
7659 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7660 {
7661     guint32 param=0;
7662     offset=drsuapi_dissect_DsReplicaOpCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, param);
7663     return offset;
7664 }
7665
7666 static int
7667 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7668 {
7669     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops, NDR_POINTER_UNIQUE, "pendingops", -1);
7670     return offset;
7671 }
7672
7673 static int
7674 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7675 {
7676     guint32 param=0;
7677     offset=drsuapi_dissect_DsReplicaAttrValMetaDataCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, param);
7678     return offset;
7679 }
7680
7681 static int
7682 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7683 {
7684     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata, NDR_POINTER_UNIQUE, "attrvalmetadata", -1);
7685     return offset;
7686 }
7687
7688 static int
7689 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7690 {
7691     guint32 param=0;
7692     offset=drsuapi_dissect_DsReplicaCoursor2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, param);
7693     return offset;
7694 }
7695
7696 static int
7697 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7698 {
7699     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2, NDR_POINTER_UNIQUE, "coursors2", -1);
7700     return offset;
7701 }
7702
7703 static int
7704 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7705 {
7706     guint32 param=0;
7707     offset=drsuapi_dissect_DsReplicaCoursor3Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, param);
7708     return offset;
7709 }
7710
7711 static int
7712 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7713 {
7714     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3, NDR_POINTER_UNIQUE, "coursors3", -1);
7715     return offset;
7716 }
7717
7718 static int
7719 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7720 {
7721     guint32 param=0;
7722     offset=drsuapi_dissect_DsReplicaObjMetaData2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, param);
7723     return offset;
7724 }
7725
7726 static int
7727 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7728 {
7729     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2, NDR_POINTER_UNIQUE, "objmetadata2", -1);
7730     return offset;
7731 }
7732
7733 static int
7734 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7735 {
7736     guint32 param=0;
7737     offset=drsuapi_dissect_DsReplicaAttrValMetaData2Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, param);
7738     return offset;
7739 }
7740
7741 static int
7742 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7743 {
7744     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2, NDR_POINTER_UNIQUE, "attrvalmetadata2", -1);
7745     return offset;
7746 }
7747
7748 static int
7749 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7750 {
7751     guint32 param=0;
7752     offset=drsuapi_dissect_DsReplicaNeighbourCtr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, param);
7753     return offset;
7754 }
7755
7756 static int
7757 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7758 {
7759     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02, NDR_POINTER_UNIQUE, "neighbours02", -1);
7760     return offset;
7761 }
7762
7763 static int
7764 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7765 {
7766     guint32 param=0;
7767     offset=drsuapi_dissect_DsReplicaConnection04Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, param);
7768     return offset;
7769 }
7770
7771 static int
7772 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7773 {
7774     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04, NDR_POINTER_UNIQUE, "connections04", -1);
7775     return offset;
7776 }
7777
7778 static int
7779 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7780 {
7781     guint32 param=0;
7782     offset=drsuapi_dissect_DsReplicaCoursor05Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, param);
7783     return offset;
7784 }
7785
7786 static int
7787 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7788 {
7789     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05, NDR_POINTER_UNIQUE, "coursors05", -1);
7790     return offset;
7791 }
7792
7793 static int
7794 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7795 {
7796     guint32 param=0;
7797     offset=drsuapi_dissect_DsReplica06Ctr(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, param);
7798     return offset;
7799 }
7800
7801 static int
7802 drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7803 {
7804     offset=dissect_ndr_embedded_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06, NDR_POINTER_UNIQUE, "i06", -1);
7805     return offset;
7806 }
7807
7808
7809 static int
7810 drsuapi_dissect_union_DsReplicaInfo(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, int hf_index, guint32 param _U_)
7811 {
7812     proto_item *item=NULL;
7813     proto_tree *tree=NULL;
7814     int old_offset;
7815     guint32 level = 0;
7816
7817     ALIGN_TO_4_BYTES;
7818
7819     old_offset=offset;
7820     if(parent_tree){
7821         item=proto_tree_add_text(parent_tree, tvb, offset, -1, "DsReplicaInfo");
7822         tree=proto_item_add_subtree(item, ett_drsuapi_DsReplicaInfo);
7823     }
7824
7825     offset=dissect_ndr_uint32(tvb, offset, pinfo, tree,
7826                               drep, hf_index, &level);
7827
7828     switch(level){
7829     case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS:
7830         ALIGN_TO_4_BYTES;
7831         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours_unique(tvb, offset, pinfo, tree, drep);
7832         break;
7833
7834     case DRSUAPI_DS_REPLICA_INFO_CURSORS:
7835         ALIGN_TO_4_BYTES;
7836         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors_unique(tvb, offset, pinfo, tree, drep);
7837         break;
7838
7839     case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA:
7840         ALIGN_TO_4_BYTES;
7841         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata_unique(tvb, offset, pinfo, tree, drep);
7842         break;
7843
7844     case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES:
7845         ALIGN_TO_4_BYTES;
7846         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures_unique(tvb, offset, pinfo, tree, drep);
7847         break;
7848
7849     case DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES:
7850         ALIGN_TO_4_BYTES;
7851         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures_unique(tvb, offset, pinfo, tree, drep);
7852         break;
7853
7854     case DRSUAPI_DS_REPLICA_INFO_PENDING_OPS:
7855         ALIGN_TO_4_BYTES;
7856         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops_unique(tvb, offset, pinfo, tree, drep);
7857         break;
7858
7859     case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA:
7860         ALIGN_TO_4_BYTES;
7861         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata_unique(tvb, offset, pinfo, tree, drep);
7862         break;
7863
7864     case DRSUAPI_DS_REPLICA_INFO_CURSORS2:
7865         ALIGN_TO_4_BYTES;
7866         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2_unique(tvb, offset, pinfo, tree, drep);
7867         break;
7868
7869     case DRSUAPI_DS_REPLICA_INFO_CURSORS3:
7870         ALIGN_TO_4_BYTES;
7871         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3_unique(tvb, offset, pinfo, tree, drep);
7872         break;
7873
7874     case DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2:
7875         ALIGN_TO_4_BYTES;
7876         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2_unique(tvb, offset, pinfo, tree, drep);
7877         break;
7878
7879     case DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2:
7880         ALIGN_TO_4_BYTES;
7881         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2_unique(tvb, offset, pinfo, tree, drep);
7882         break;
7883
7884     case DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02:
7885         ALIGN_TO_4_BYTES;
7886         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02_unique(tvb, offset, pinfo, tree, drep);
7887         break;
7888
7889     case DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04:
7890         ALIGN_TO_4_BYTES;
7891         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04_unique(tvb, offset, pinfo, tree, drep);
7892         break;
7893
7894     case DRSUAPI_DS_REPLICA_INFO_CURSURS05:
7895         ALIGN_TO_4_BYTES;
7896         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05_unique(tvb, offset, pinfo, tree, drep);
7897         break;
7898
7899     case DRSUAPI_DS_REPLICA_INFO_06:
7900         ALIGN_TO_4_BYTES;
7901         offset=drsuapi_dissect_union_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06_unique(tvb, offset, pinfo, tree, drep);
7902         break;
7903
7904     }
7905
7906     proto_item_set_len(item, offset-old_offset);
7907
7908    return offset;
7909 }
7910 static int
7911 drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7912 {
7913     guint32 param=0;
7914     offset=drsuapi_dissect_policy_handle(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_bind_handle, param);
7915     return offset;
7916 }
7917
7918 static int
7919 ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7920 {
7921     offset=dissect_ndr_toplevel_pointer(tvb, offset, pinfo, tree, drep, drsuapi_dissect_DsReplicaGetInfo_bind_handle, NDR_POINTER_REF, "bind_handle", -1);
7922     return offset;
7923 }
7924
7925 static int
7926 drsuapi_dissect_DsReplicaGetInfo_level(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7927 {
7928     guint32 param=0;
7929     offset=drsuapi_dissect_DsReplicaGetInfoLevel(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_level, param);
7930     return offset;
7931 }
7932
7933 static int
7934 drsuapi_dissect_DsReplicaGetInfo_req(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7935 {
7936     guint32 param=0;
7937     offset=drsuapi_dissect_union_DsReplicaGetInfoRequest(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_req, param);
7938     return offset;
7939 }
7940
7941 static int
7942 drsuapi_dissect_DsReplicaGetInfo_info_type(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7943 {
7944     guint32 param=0;
7945     offset=drsuapi_dissect_DsReplicaInfoType(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_info_type, param);
7946     return offset;
7947 }
7948
7949 static int
7950 drsuapi_dissect_DsReplicaGetInfo_info(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep)
7951 {
7952     guint32 param=0;
7953     offset=drsuapi_dissect_union_DsReplicaInfo(tvb, offset, pinfo, tree, drep, hf_drsuapi_DsReplicaGetInfo_info, param);
7954     return offset;
7955 }
7956
7957
7958 static int
7959 drsuapi_dissect_DsReplicaGetInfo_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7960 {
7961         offset=ref_drsuapi_dissect_DsReplicaGetInfo_bind_handle(tvb, offset, pinfo, tree, drep);
7962         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7963
7964         offset=drsuapi_dissect_DsReplicaGetInfo_level(tvb, offset, pinfo, tree, drep);
7965         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7966
7967         offset=drsuapi_dissect_DsReplicaGetInfo_req(tvb, offset, pinfo, tree, drep);
7968         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7969
7970
7971    return offset;
7972 }
7973
7974 static int
7975 drsuapi_dissect_DsReplicaGetInfo_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7976 {
7977         offset=drsuapi_dissect_DsReplicaGetInfo_info_type(tvb, offset, pinfo, tree, drep);
7978         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7979
7980         offset=drsuapi_dissect_DsReplicaGetInfo_info(tvb, offset, pinfo, tree, drep);
7981         offset=dissect_deferred_pointers(pinfo, tvb, offset, drep);
7982
7983    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
7984
7985
7986    return offset;
7987 }
7988
7989 static int
7990 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7991 {
7992
7993    return offset;
7994 }
7995
7996 static int
7997 drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
7998 {
7999    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8000
8001
8002    return offset;
8003 }
8004
8005 static int
8006 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8007 {
8008
8009    return offset;
8010 }
8011
8012 static int
8013 drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8014 {
8015    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8016
8017
8018    return offset;
8019 }
8020
8021 static int
8022 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8023 {
8024
8025    return offset;
8026 }
8027
8028 static int
8029 drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8030 {
8031    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8032
8033
8034    return offset;
8035 }
8036
8037 static int
8038 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8039 {
8040
8041    return offset;
8042 }
8043
8044 static int
8045 drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8046 {
8047    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8048
8049
8050    return offset;
8051 }
8052
8053 static int
8054 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8055 {
8056
8057    return offset;
8058 }
8059
8060 static int
8061 drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, guint8 *drep _U_)
8062 {
8063    offset=dissect_ntstatus(tvb, offset, pinfo, tree, drep, hf_drsuapi_rc, NULL);
8064
8065
8066    return offset;
8067 }
8068 /* END OF INCLUDED FILE : ETH_CODE */
8069
8070
8071
8072 void
8073 proto_register_drsuapi(void)
8074 {
8075         static hf_register_info hf[] = {
8076         { &hf_drsuapi_DsReplicaSyncRequest1Info_nc_dn,
8077           { "nc_dn", "drsuapi.DsReplicaSyncRequest1Info.nc_dn", FT_STRING, BASE_NONE,
8078           NULL, 0,
8079          NULL, HFILL }},
8080
8081
8082
8083 /* INCLUDED FILE : ETH_HFARR */
8084         { &hf_drsuapi_opnum,
8085           { "Operation", "drsuapi.opnum", FT_UINT16, BASE_DEC,
8086           NULL, 0,
8087          NULL, HFILL }},
8088
8089         { &hf_drsuapi_rc,
8090           { "Return code", "drsuapi.rc", FT_UINT32, BASE_HEX,
8091           VALS(NT_errors), 0,
8092          NULL, HFILL }},
8093
8094         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_BASE,
8095           { "DRSUAPI_SUPPORTED_EXTENSION_BASE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_BASE", FT_BOOLEAN, 32,
8096           TFS(&DRSUAPI_SUPPORTED_EXTENSION_BASE_tfs), 0x00000001,
8097          NULL, HFILL }},
8098
8099         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION,
8100           { "DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION", FT_BOOLEAN, 32,
8101           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION_tfs), 0x00000002,
8102          NULL, HFILL }},
8103
8104         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI,
8105           { "DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI", FT_BOOLEAN, 32,
8106           TFS(&DRSUAPI_SUPPORTED_EXTENSION_REMOVEAPI_tfs), 0x00000004,
8107          NULL, HFILL }},
8108
8109         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2,
8110           { "DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2", FT_BOOLEAN, 32,
8111           TFS(&DRSUAPI_SUPPORTED_EXTENSION_MOVEREQ_V2_tfs), 0x00000008,
8112          NULL, HFILL }},
8113
8114         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS,
8115           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS", FT_BOOLEAN, 32,
8116           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHG_COMPRESS_tfs), 0x00000010,
8117          NULL, HFILL }},
8118
8119         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1,
8120           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1", FT_BOOLEAN, 32,
8121           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V1_tfs), 0x00000020,
8122          NULL, HFILL }},
8123
8124         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION,
8125           { "DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION", FT_BOOLEAN, 32,
8126           TFS(&DRSUAPI_SUPPORTED_EXTENSION_RESTORE_USN_OPTIMIZATION_tfs), 0x00000040,
8127          NULL, HFILL }},
8128
8129         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00000080,
8130           { "DRSUAPI_SUPPORTED_EXTENSION_00000080", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00000080", FT_BOOLEAN, 32,
8131           TFS(&DRSUAPI_SUPPORTED_EXTENSION_00000080_tfs), 0x00000080,
8132          NULL, HFILL }},
8133
8134         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE,
8135           { "DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE", FT_BOOLEAN, 32,
8136           TFS(&DRSUAPI_SUPPORTED_EXTENSION_KCC_EXECUTE_tfs), 0x00000100,
8137          NULL, HFILL }},
8138
8139         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2,
8140           { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2", FT_BOOLEAN, 32,
8141           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRY_V2_tfs), 0x00000200,
8142          NULL, HFILL }},
8143
8144         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION,
8145           { "DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION", FT_BOOLEAN, 32,
8146           TFS(&DRSUAPI_SUPPORTED_EXTENSION_LINKED_VALUE_REPLICATION_tfs), 0x00000400,
8147          NULL, HFILL }},
8148
8149         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2,
8150           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2", FT_BOOLEAN, 32,
8151           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V2_tfs), 0x00000800,
8152          NULL, HFILL }},
8153
8154         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD,
8155           { "DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD", FT_BOOLEAN, 32,
8156           TFS(&DRSUAPI_SUPPORTED_EXTENSION_INSTANCE_TYPE_NOT_REQ_ON_MOD_tfs), 0x00001000,
8157          NULL, HFILL }},
8158
8159         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND,
8160           { "DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND", FT_BOOLEAN, 32,
8161           TFS(&DRSUAPI_SUPPORTED_EXTENSION_CRYPTO_BIND_tfs), 0x00002000,
8162          NULL, HFILL }},
8163
8164         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO,
8165           { "DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO", FT_BOOLEAN, 32,
8166           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_REPL_INFO_tfs), 0x00004000,
8167          NULL, HFILL }},
8168
8169         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION,
8170           { "DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION", FT_BOOLEAN, 32,
8171           TFS(&DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION_tfs), 0x00008000,
8172          NULL, HFILL }},
8173
8174         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01,
8175           { "DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01", FT_BOOLEAN, 32,
8176           TFS(&DRSUAPI_SUPPORTED_EXTENSION_DCINFO_V01_tfs), 0x00010000,
8177          NULL, HFILL }},
8178
8179         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP,
8180           { "DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP", FT_BOOLEAN, 32,
8181           TFS(&DRSUAPI_SUPPORTED_EXTENSION_TRANSITIVE_MEMBERSHIP_tfs), 0x00020000,
8182          NULL, HFILL }},
8183
8184         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY,
8185           { "DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY", FT_BOOLEAN, 32,
8186           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADD_SID_HISTORY_tfs), 0x00040000,
8187          NULL, HFILL }},
8188
8189         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3,
8190           { "DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3", FT_BOOLEAN, 32,
8191           TFS(&DRSUAPI_SUPPORTED_EXTENSION_POST_BETA3_tfs), 0x00080000,
8192          NULL, HFILL }},
8193
8194         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_00100000,
8195           { "DRSUAPI_SUPPORTED_EXTENSION_00100000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_00100000", FT_BOOLEAN, 32,
8196           TFS(&DRSUAPI_SUPPORTED_EXTENSION_00100000_tfs), 0x00100000,
8197          NULL, HFILL }},
8198
8199         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2,
8200           { "DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2", FT_BOOLEAN, 32,
8201           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GET_MEMBERSHIPS2_tfs), 0x00200000,
8202          NULL, HFILL }},
8203
8204         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6,
8205           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6", FT_BOOLEAN, 32,
8206           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V6_tfs), 0x00400000,
8207          NULL, HFILL }},
8208
8209         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS,
8210           { "DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS", FT_BOOLEAN, 32,
8211           TFS(&DRSUAPI_SUPPORTED_EXTENSION_NONDOMAIN_NCS_tfs), 0x00800000,
8212          NULL, HFILL }},
8213
8214         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8,
8215           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8", FT_BOOLEAN, 32,
8216           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V8_tfs), 0x01000000,
8217          NULL, HFILL }},
8218
8219         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5,
8220           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5", FT_BOOLEAN, 32,
8221           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V5_tfs), 0x02000000,
8222          NULL, HFILL }},
8223
8224         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6,
8225           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6", FT_BOOLEAN, 32,
8226           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V6_tfs), 0x04000000,
8227          NULL, HFILL }},
8228
8229         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3,
8230           { "DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3", FT_BOOLEAN, 32,
8231           TFS(&DRSUAPI_SUPPORTED_EXTENSION_ADDENTRYREPLY_V3_tfs), 0x08000000,
8232          NULL, HFILL }},
8233
8234         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7,
8235           { "DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7", FT_BOOLEAN, 32,
8236           TFS(&DRSUAPI_SUPPORTED_EXTENSION_GETCHGREPLY_V7_tfs), 0x08000000,
8237          NULL, HFILL }},
8238
8239         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT,
8240           { "DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT", FT_BOOLEAN, 32,
8241           TFS(&DRSUAPI_SUPPORTED_EXTENSION_VERIFY_OBJECT_tfs), 0x08000000,
8242          NULL, HFILL }},
8243
8244         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS,
8245           { "DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS", FT_BOOLEAN, 32,
8246           TFS(&DRSUAPI_SUPPORTED_EXTENSION_XPRESS_COMPRESS_tfs), 0x10000000,
8247          NULL, HFILL }},
8248
8249         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_20000000,
8250           { "DRSUAPI_SUPPORTED_EXTENSION_20000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_20000000", FT_BOOLEAN, 32,
8251           TFS(&DRSUAPI_SUPPORTED_EXTENSION_20000000_tfs), 0x20000000,
8252          NULL, HFILL }},
8253
8254         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_40000000,
8255           { "DRSUAPI_SUPPORTED_EXTENSION_40000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_40000000", FT_BOOLEAN, 32,
8256           TFS(&DRSUAPI_SUPPORTED_EXTENSION_40000000_tfs), 0x40000000,
8257          NULL, HFILL }},
8258
8259         { &hf_drsuapi_SupportedExtensions_DRSUAPI_SUPPORTED_EXTENSION_80000000,
8260           { "DRSUAPI_SUPPORTED_EXTENSION_80000000", "drsuapi.SupportedExtensions.DRSUAPI_SUPPORTED_EXTENSION_80000000", FT_BOOLEAN, 32,
8261           TFS(&DRSUAPI_SUPPORTED_EXTENSION_80000000_tfs), 0x80000000,
8262          NULL, HFILL }},
8263
8264         { &hf_drsuapi_DsBindInfo24_supported_extensions,
8265           { "supported_extensions", "drsuapi.DsBindInfo24.supported_extensions", FT_UINT32, BASE_HEX,
8266           NULL, 0,
8267          NULL, HFILL }},
8268
8269         { &hf_drsuapi_DsBindInfo24_site_guid,
8270           { "site_guid", "drsuapi.DsBindInfo24.site_guid", FT_GUID, BASE_NONE,
8271           NULL, 0,
8272          NULL, HFILL }},
8273
8274         { &hf_drsuapi_DsBindInfo24_u1,
8275           { "u1", "drsuapi.DsBindInfo24.u1", FT_UINT32, BASE_DEC,
8276           NULL, 0,
8277          NULL, HFILL }},
8278
8279         { &hf_drsuapi_DsBindInfo28_supported_extensions,
8280           { "supported_extensions", "drsuapi.DsBindInfo28.supported_extensions", FT_UINT32, BASE_HEX,
8281           NULL, 0,
8282          NULL, HFILL }},
8283
8284         { &hf_drsuapi_DsBindInfo28_site_guid,
8285           { "site_guid", "drsuapi.DsBindInfo28.site_guid", FT_GUID, BASE_NONE,
8286           NULL, 0,
8287          NULL, HFILL }},
8288
8289         { &hf_drsuapi_DsBindInfo28_u1,
8290           { "u1", "drsuapi.DsBindInfo28.u1", FT_UINT32, BASE_DEC,
8291           NULL, 0,
8292          NULL, HFILL }},
8293
8294         { &hf_drsuapi_DsBindInfo28_repl_epoch,
8295           { "repl_epoch", "drsuapi.DsBindInfo28.repl_epoch", FT_UINT32, BASE_DEC,
8296           NULL, 0,
8297          NULL, HFILL }},
8298
8299         { &hf_drsuapi_DsBindInfo_24_info24,
8300           { "info24", "drsuapi.DsBindInfo.info24", FT_NONE, BASE_NONE,
8301           NULL, 0,
8302          NULL, HFILL }},
8303
8304         { &hf_drsuapi_DsBindInfo_28_info28,
8305           { "info28", "drsuapi.DsBindInfo.info28", FT_NONE, BASE_NONE,
8306           NULL, 0,
8307          NULL, HFILL }},
8308
8309         { &hf_drsuapi_DsBindInfoCtr_length,
8310           { "length", "drsuapi.DsBindInfoCtr.length", FT_UINT32, BASE_DEC,
8311           NULL, 0,
8312          NULL, HFILL }},
8313
8314         { &hf_drsuapi_DsBindInfoCtr_info,
8315           { "info", "drsuapi.DsBindInfoCtr.info", FT_UINT32, BASE_DEC,
8316           NULL, 0,
8317          NULL, HFILL }},
8318
8319         { &hf_drsuapi_DsBind_bind_guid,
8320           { "bind_guid", "drsuapi.DsBind.bind_guid", FT_GUID, BASE_NONE,
8321           NULL, 0,
8322          NULL, HFILL }},
8323
8324         { &hf_drsuapi_DsBind_bind_info,
8325           { "bind_info", "drsuapi.DsBind.bind_info", FT_NONE, BASE_NONE,
8326           NULL, 0,
8327          NULL, HFILL }},
8328
8329         { &hf_drsuapi_DsBind_bind_handle,
8330           { "bind_handle", "drsuapi.DsBind.bind_handle", FT_BYTES, BASE_NONE,
8331           NULL, 0,
8332          NULL, HFILL }},
8333
8334         { &hf_drsuapi_DsUnbind_bind_handle,
8335           { "bind_handle", "drsuapi.DsUnbind.bind_handle", FT_BYTES, BASE_NONE,
8336           NULL, 0,
8337          NULL, HFILL }},
8338
8339         { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown1,
8340           { "unknown1", "drsuapi.DsReplicaSyncRequest1Info.unknown1", FT_UINT32, BASE_DEC,
8341           NULL, 0,
8342          NULL, HFILL }},
8343
8344         { &hf_drsuapi_DsReplicaSyncRequest1Info_unknown2,
8345           { "unknown2", "drsuapi.DsReplicaSyncRequest1Info.unknown2", FT_UINT32, BASE_DEC,
8346           NULL, 0,
8347          NULL, HFILL }},
8348
8349         { &hf_drsuapi_DsReplicaSyncRequest1Info_guid1,
8350           { "guid1", "drsuapi.DsReplicaSyncRequest1Info.guid1", FT_GUID, BASE_NONE,
8351           NULL, 0,
8352          NULL, HFILL }},
8353
8354         { &hf_drsuapi_DsReplicaSyncRequest1Info_byte_array,
8355           { "byte_array", "drsuapi.DsReplicaSyncRequest1Info.byte_array", FT_UINT8, BASE_DEC,
8356           NULL, 0,
8357          NULL, HFILL }},
8358
8359         { &hf_drsuapi_DsReplicaSyncRequest1Info_str_len,
8360           { "str_len", "drsuapi.DsReplicaSyncRequest1Info.str_len", FT_UINT32, BASE_DEC,
8361           NULL, 0,
8362          NULL, HFILL }},
8363
8364         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION,
8365           { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8366           TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8367          NULL, HFILL }},
8368
8369         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_WRITEABLE,
8370           { "DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_WRITEABLE", FT_BOOLEAN, 32,
8371           TFS(&DRSUAPI_DS_REPLICA_SYNC_WRITEABLE_tfs), 0x00000002,
8372          NULL, HFILL }},
8373
8374         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PERIODIC,
8375           { "DRSUAPI_DS_REPLICA_SYNC_PERIODIC", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PERIODIC", FT_BOOLEAN, 32,
8376           TFS(&DRSUAPI_DS_REPLICA_SYNC_PERIODIC_tfs), 0x00000004,
8377          NULL, HFILL }},
8378
8379         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING,
8380           { "DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING", FT_BOOLEAN, 32,
8381           TFS(&DRSUAPI_DS_REPLICA_SYNC_INTERSITE_MESSAGING_tfs), 0x00000008,
8382          NULL, HFILL }},
8383
8384         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES,
8385           { "DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES", FT_BOOLEAN, 32,
8386           TFS(&DRSUAPI_DS_REPLICA_SYNC_ALL_SOURCES_tfs), 0x00000010,
8387          NULL, HFILL }},
8388
8389         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL,
8390           { "DRSUAPI_DS_REPLICA_SYNC_FULL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL", FT_BOOLEAN, 32,
8391           TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_tfs), 0x00000020,
8392          NULL, HFILL }},
8393
8394         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_URGENT,
8395           { "DRSUAPI_DS_REPLICA_SYNC_URGENT", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_URGENT", FT_BOOLEAN, 32,
8396           TFS(&DRSUAPI_DS_REPLICA_SYNC_URGENT_tfs), 0x00000040,
8397          NULL, HFILL }},
8398
8399         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD,
8400           { "DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD", FT_BOOLEAN, 32,
8401           TFS(&DRSUAPI_DS_REPLICA_SYNC_NO_DISCARD_tfs), 0x00000080,
8402          NULL, HFILL }},
8403
8404         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FORCE,
8405           { "DRSUAPI_DS_REPLICA_SYNC_FORCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FORCE", FT_BOOLEAN, 32,
8406           TFS(&DRSUAPI_DS_REPLICA_SYNC_FORCE_tfs), 0x00000100,
8407          NULL, HFILL }},
8408
8409         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE,
8410           { "DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE", FT_BOOLEAN, 32,
8411           TFS(&DRSUAPI_DS_REPLICA_SYNC_ADD_REFERENCE_tfs), 0x00000200,
8412          NULL, HFILL }},
8413
8414         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED,
8415           { "DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED", FT_BOOLEAN, 32,
8416           TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_COMPLETED_tfs), 0x00000400,
8417          NULL, HFILL }},
8418
8419         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_TWO_WAY,
8420           { "DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_TWO_WAY", FT_BOOLEAN, 32,
8421           TFS(&DRSUAPI_DS_REPLICA_SYNC_TWO_WAY_tfs), 0x00000800,
8422          NULL, HFILL }},
8423
8424         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY,
8425           { "DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY", FT_BOOLEAN, 32,
8426           TFS(&DRSUAPI_DS_REPLICA_SYNC_NEVER_NOTIFY_tfs), 0x00001000,
8427          NULL, HFILL }},
8428
8429         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL,
8430           { "DRSUAPI_DS_REPLICA_SYNC_INITIAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL", FT_BOOLEAN, 32,
8431           TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_tfs), 0x00002000,
8432          NULL, HFILL }},
8433
8434         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION,
8435           { "DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION", FT_BOOLEAN, 32,
8436           TFS(&DRSUAPI_DS_REPLICA_SYNC_USE_COMPRESSION_tfs), 0x00004000,
8437          NULL, HFILL }},
8438
8439         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ABANDONED,
8440           { "DRSUAPI_DS_REPLICA_SYNC_ABANDONED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ABANDONED", FT_BOOLEAN, 32,
8441           TFS(&DRSUAPI_DS_REPLICA_SYNC_ABANDONED_tfs), 0x00008000,
8442          NULL, HFILL }},
8443
8444         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS,
8445           { "DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS", FT_BOOLEAN, 32,
8446           TFS(&DRSUAPI_DS_REPLICA_SYNC_INITIAL_IN_PROGRESS_tfs), 0x00010000,
8447          NULL, HFILL }},
8448
8449         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET,
8450           { "DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET", FT_BOOLEAN, 32,
8451           TFS(&DRSUAPI_DS_REPLICA_SYNC_PARTIAL_ATTRIBUTE_SET_tfs), 0x00020000,
8452          NULL, HFILL }},
8453
8454         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_REQUEUE,
8455           { "DRSUAPI_DS_REPLICA_SYNC_REQUEUE", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_REQUEUE", FT_BOOLEAN, 32,
8456           TFS(&DRSUAPI_DS_REPLICA_SYNC_REQUEUE_tfs), 0x00040000,
8457          NULL, HFILL }},
8458
8459         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION,
8460           { "DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION", FT_BOOLEAN, 32,
8461           TFS(&DRSUAPI_DS_REPLICA_SYNC_NOTIFICATION_tfs), 0x00080000,
8462          NULL, HFILL }},
8463
8464         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA,
8465           { "DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA", FT_BOOLEAN, 32,
8466           TFS(&DRSUAPI_DS_REPLICA_SYNC_ASYNCHRONOUS_REPLICA_tfs), 0x00100000,
8467          NULL, HFILL }},
8468
8469         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_CRITICAL,
8470           { "DRSUAPI_DS_REPLICA_SYNC_CRITICAL", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_CRITICAL", FT_BOOLEAN, 32,
8471           TFS(&DRSUAPI_DS_REPLICA_SYNC_CRITICAL_tfs), 0x00200000,
8472          NULL, HFILL }},
8473
8474         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS,
8475           { "DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS", FT_BOOLEAN, 32,
8476           TFS(&DRSUAPI_DS_REPLICA_SYNC_FULL_IN_PROGRESS_tfs), 0x00400000,
8477          NULL, HFILL }},
8478
8479         { &hf_drsuapi_DsReplicaSyncOptions_DRSUAPI_DS_REPLICA_SYNC_PREEMPTED,
8480           { "DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", "drsuapi.DsReplicaSyncOptions.DRSUAPI_DS_REPLICA_SYNC_PREEMPTED", FT_BOOLEAN, 32,
8481           TFS(&DRSUAPI_DS_REPLICA_SYNC_PREEMPTED_tfs), 0x00800000,
8482          NULL, HFILL }},
8483
8484         { &hf_drsuapi_DsReplicaSyncRequest1_info,
8485           { "info", "drsuapi.DsReplicaSyncRequest1.info", FT_NONE, BASE_NONE,
8486           NULL, 0,
8487          NULL, HFILL }},
8488
8489         { &hf_drsuapi_DsReplicaSyncRequest1_guid1,
8490           { "guid1", "drsuapi.DsReplicaSyncRequest1.guid1", FT_GUID, BASE_NONE,
8491           NULL, 0,
8492          NULL, HFILL }},
8493
8494         { &hf_drsuapi_DsReplicaSyncRequest1_string1,
8495           { "string1", "drsuapi.DsReplicaSyncRequest1.string1", FT_STRING, BASE_NONE,
8496           NULL, 0,
8497          NULL, HFILL }},
8498
8499         { &hf_drsuapi_DsReplicaSyncRequest1_options,
8500           { "options", "drsuapi.DsReplicaSyncRequest1.options", FT_UINT32, BASE_HEX,
8501           NULL, 0,
8502          NULL, HFILL }},
8503
8504         { &hf_drsuapi_DsReplicaSyncRequest_1_req1,
8505           { "req1", "drsuapi.DsReplicaSyncRequest.req1", FT_NONE, BASE_NONE,
8506           NULL, 0,
8507          NULL, HFILL }},
8508
8509         { &hf_drsuapi_DsReplicaSync_bind_handle,
8510           { "bind_handle", "drsuapi.DsReplicaSync.bind_handle", FT_BYTES, BASE_NONE,
8511           NULL, 0,
8512          NULL, HFILL }},
8513
8514         { &hf_drsuapi_DsReplicaSync_level,
8515           { "level", "drsuapi.DsReplicaSync.level", FT_INT32, BASE_DEC,
8516           NULL, 0,
8517          NULL, HFILL }},
8518
8519         { &hf_drsuapi_DsReplicaSync_req,
8520           { "req", "drsuapi.DsReplicaSync.req", FT_UINT32, BASE_DEC,
8521           NULL, 0,
8522          NULL, HFILL }},
8523
8524         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn1,
8525           { "usn1", "drsuapi.DsGetNCChangesUsnTriple.usn1", FT_UINT64, BASE_DEC,
8526           NULL, 0,
8527          NULL, HFILL }},
8528
8529         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn2,
8530           { "usn2", "drsuapi.DsGetNCChangesUsnTriple.usn2", FT_UINT64, BASE_DEC,
8531           NULL, 0,
8532          NULL, HFILL }},
8533
8534         { &hf_drsuapi_DsGetNCChangesUsnTriple_usn3,
8535           { "usn3", "drsuapi.DsGetNCChangesUsnTriple.usn3", FT_UINT64, BASE_DEC,
8536           NULL, 0,
8537          NULL, HFILL }},
8538
8539         { &hf_drsuapi_DsReplicaCoursor_source_dsa_invocation_id,
8540           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor.source_dsa_invocation_id", FT_GUID, BASE_NONE,
8541           NULL, 0,
8542          NULL, HFILL }},
8543
8544         { &hf_drsuapi_DsReplicaCoursor_highest_usn,
8545           { "highest_usn", "drsuapi.DsReplicaCoursor.highest_usn", FT_UINT64, BASE_DEC,
8546           NULL, 0,
8547          NULL, HFILL }},
8548
8549         { &hf_drsuapi_DsReplicaCoursor05Ctr_u1,
8550           { "u1", "drsuapi.DsReplicaCoursor05Ctr.u1", FT_UINT32, BASE_DEC,
8551           NULL, 0,
8552          NULL, HFILL }},
8553
8554         { &hf_drsuapi_DsReplicaCoursor05Ctr_u2,
8555           { "u2", "drsuapi.DsReplicaCoursor05Ctr.u2", FT_UINT32, BASE_DEC,
8556           NULL, 0,
8557          NULL, HFILL }},
8558
8559         { &hf_drsuapi_DsReplicaCoursor05Ctr_count,
8560           { "count", "drsuapi.DsReplicaCoursor05Ctr.count", FT_UINT32, BASE_DEC,
8561           NULL, 0,
8562          NULL, HFILL }},
8563
8564         { &hf_drsuapi_DsReplicaCoursor05Ctr_u3,
8565           { "u3", "drsuapi.DsReplicaCoursor05Ctr.u3", FT_UINT32, BASE_DEC,
8566           NULL, 0,
8567          NULL, HFILL }},
8568
8569         { &hf_drsuapi_DsReplicaCoursor05Ctr_array,
8570           { "array", "drsuapi.DsReplicaCoursor05Ctr.array", FT_NONE, BASE_NONE,
8571           NULL, 0,
8572          NULL, HFILL }},
8573
8574         { &hf_drsuapi_DsGetNCChangesRequest5_guid1,
8575           { "guid1", "drsuapi.DsGetNCChangesRequest5.guid1", FT_GUID, BASE_NONE,
8576           NULL, 0,
8577          NULL, HFILL }},
8578
8579         { &hf_drsuapi_DsGetNCChangesRequest5_guid2,
8580           { "guid2", "drsuapi.DsGetNCChangesRequest5.guid2", FT_GUID, BASE_NONE,
8581           NULL, 0,
8582          NULL, HFILL }},
8583
8584         { &hf_drsuapi_DsGetNCChangesRequest5_sync_req_info1,
8585           { "sync_req_info1", "drsuapi.DsGetNCChangesRequest5.sync_req_info1", FT_NONE, BASE_NONE,
8586           NULL, 0,
8587          NULL, HFILL }},
8588
8589         { &hf_drsuapi_DsGetNCChangesRequest5_usn1,
8590           { "usn1", "drsuapi.DsGetNCChangesRequest5.usn1", FT_NONE, BASE_NONE,
8591           NULL, 0,
8592          NULL, HFILL }},
8593
8594         { &hf_drsuapi_DsGetNCChangesRequest5_coursor,
8595           { "coursor", "drsuapi.DsGetNCChangesRequest5.coursor", FT_NONE, BASE_NONE,
8596           NULL, 0,
8597          NULL, HFILL }},
8598
8599         { &hf_drsuapi_DsGetNCChangesRequest5_unknown1,
8600           { "unknown1", "drsuapi.DsGetNCChangesRequest5.unknown1", FT_UINT32, BASE_DEC,
8601           NULL, 0,
8602          NULL, HFILL }},
8603
8604         { &hf_drsuapi_DsGetNCChangesRequest5_unknown2,
8605           { "unknown2", "drsuapi.DsGetNCChangesRequest5.unknown2", FT_UINT32, BASE_DEC,
8606           NULL, 0,
8607          NULL, HFILL }},
8608
8609         { &hf_drsuapi_DsGetNCChangesRequest5_unknown3,
8610           { "unknown3", "drsuapi.DsGetNCChangesRequest5.unknown3", FT_UINT32, BASE_DEC,
8611           NULL, 0,
8612          NULL, HFILL }},
8613
8614         { &hf_drsuapi_DsGetNCChangesRequest5_unknown4,
8615           { "unknown4", "drsuapi.DsGetNCChangesRequest5.unknown4", FT_UINT32, BASE_DEC,
8616           NULL, 0,
8617          NULL, HFILL }},
8618
8619         { &hf_drsuapi_DsGetNCChangesRequest5_h1,
8620           { "h1", "drsuapi.DsGetNCChangesRequest5.h1", FT_UINT64, BASE_DEC,
8621           NULL, 0,
8622          NULL, HFILL }},
8623
8624         { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_length,
8625           { "length", "drsuapi.DsGetNCChangesRequest_Ctr14.length", FT_UINT32, BASE_DEC,
8626           NULL, 0,
8627          NULL, HFILL }},
8628
8629         { &hf_drsuapi_DsGetNCChangesRequest_Ctr14_byte_array,
8630           { "byte_array", "drsuapi.DsGetNCChangesRequest_Ctr14.byte_array", FT_UINT8, BASE_DEC,
8631           NULL, 0,
8632          NULL, HFILL }},
8633
8634         { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_unknown1,
8635           { "unknown1", "drsuapi.DsGetNCChangesRequest_Ctr13.unknown1", FT_UINT32, BASE_DEC,
8636           NULL, 0,
8637          NULL, HFILL }},
8638
8639         { &hf_drsuapi_DsGetNCChangesRequest_Ctr13_data,
8640           { "data", "drsuapi.DsGetNCChangesRequest_Ctr13.data", FT_NONE, BASE_NONE,
8641           NULL, 0,
8642          NULL, HFILL }},
8643
8644         { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_count,
8645           { "count", "drsuapi.DsGetNCChangesRequest_Ctr12.count", FT_UINT32, BASE_DEC,
8646           NULL, 0,
8647          NULL, HFILL }},
8648
8649         { &hf_drsuapi_DsGetNCChangesRequest_Ctr12_array,
8650           { "array", "drsuapi.DsGetNCChangesRequest_Ctr12.array", FT_NONE, BASE_NONE,
8651           NULL, 0,
8652          NULL, HFILL }},
8653
8654         { &hf_drsuapi_DsGetNCChangesRequest8_guid1,
8655           { "guid1", "drsuapi.DsGetNCChangesRequest8.guid1", FT_GUID, BASE_NONE,
8656           NULL, 0,
8657          NULL, HFILL }},
8658
8659         { &hf_drsuapi_DsGetNCChangesRequest8_guid2,
8660           { "guid2", "drsuapi.DsGetNCChangesRequest8.guid2", FT_GUID, BASE_NONE,
8661           NULL, 0,
8662          NULL, HFILL }},
8663
8664         { &hf_drsuapi_DsGetNCChangesRequest8_sync_req_info1,
8665           { "sync_req_info1", "drsuapi.DsGetNCChangesRequest8.sync_req_info1", FT_NONE, BASE_NONE,
8666           NULL, 0,
8667          NULL, HFILL }},
8668
8669         { &hf_drsuapi_DsGetNCChangesRequest8_usn1,
8670           { "usn1", "drsuapi.DsGetNCChangesRequest8.usn1", FT_NONE, BASE_NONE,
8671           NULL, 0,
8672          NULL, HFILL }},
8673
8674         { &hf_drsuapi_DsGetNCChangesRequest8_coursor,
8675           { "coursor", "drsuapi.DsGetNCChangesRequest8.coursor", FT_NONE, BASE_NONE,
8676           NULL, 0,
8677          NULL, HFILL }},
8678
8679         { &hf_drsuapi_DsGetNCChangesRequest8_unknown1,
8680           { "unknown1", "drsuapi.DsGetNCChangesRequest8.unknown1", FT_UINT32, BASE_DEC,
8681           NULL, 0,
8682          NULL, HFILL }},
8683
8684         { &hf_drsuapi_DsGetNCChangesRequest8_unknown2,
8685           { "unknown2", "drsuapi.DsGetNCChangesRequest8.unknown2", FT_UINT32, BASE_DEC,
8686           NULL, 0,
8687          NULL, HFILL }},
8688
8689         { &hf_drsuapi_DsGetNCChangesRequest8_unknown3,
8690           { "unknown3", "drsuapi.DsGetNCChangesRequest8.unknown3", FT_UINT32, BASE_DEC,
8691           NULL, 0,
8692          NULL, HFILL }},
8693
8694         { &hf_drsuapi_DsGetNCChangesRequest8_unknown4,
8695           { "unknown4", "drsuapi.DsGetNCChangesRequest8.unknown4", FT_UINT32, BASE_DEC,
8696           NULL, 0,
8697          NULL, HFILL }},
8698
8699         { &hf_drsuapi_DsGetNCChangesRequest8_h1,
8700           { "h1", "drsuapi.DsGetNCChangesRequest8.h1", FT_UINT64, BASE_DEC,
8701           NULL, 0,
8702          NULL, HFILL }},
8703
8704         { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr1,
8705           { "unique_ptr1", "drsuapi.DsGetNCChangesRequest8.unique_ptr1", FT_UINT32, BASE_DEC,
8706           NULL, 0,
8707          NULL, HFILL }},
8708
8709         { &hf_drsuapi_DsGetNCChangesRequest8_unique_ptr2,
8710           { "unique_ptr2", "drsuapi.DsGetNCChangesRequest8.unique_ptr2", FT_UINT32, BASE_DEC,
8711           NULL, 0,
8712          NULL, HFILL }},
8713
8714         { &hf_drsuapi_DsGetNCChangesRequest8_ctr12,
8715           { "ctr12", "drsuapi.DsGetNCChangesRequest8.ctr12", FT_NONE, BASE_NONE,
8716           NULL, 0,
8717          NULL, HFILL }},
8718
8719         { &hf_drsuapi_DsGetNCChangesRequest_5_req5,
8720           { "req5", "drsuapi.DsGetNCChangesRequest.req5", FT_NONE, BASE_NONE,
8721           NULL, 0,
8722          NULL, HFILL }},
8723
8724         { &hf_drsuapi_DsGetNCChangesRequest_8_req8,
8725           { "req8", "drsuapi.DsGetNCChangesRequest.req8", FT_NONE, BASE_NONE,
8726           NULL, 0,
8727          NULL, HFILL }},
8728
8729         { &hf_drsuapi_DsReplicaCoursorEx_coursor,
8730           { "coursor", "drsuapi.DsReplicaCoursorEx.coursor", FT_NONE, BASE_NONE,
8731           NULL, 0,
8732          NULL, HFILL }},
8733
8734         { &hf_drsuapi_DsReplicaCoursorEx_time1,
8735           { "time1", "drsuapi.DsReplicaCoursorEx.time1", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
8736           NULL, 0,
8737          NULL, HFILL }},
8738
8739         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u1,
8740           { "u1", "drsuapi.DsReplicaCoursorEx05Ctr.u1", FT_UINT32, BASE_DEC,
8741           NULL, 0,
8742          NULL, HFILL }},
8743
8744         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u2,
8745           { "u2", "drsuapi.DsReplicaCoursorEx05Ctr.u2", FT_UINT32, BASE_DEC,
8746           NULL, 0,
8747          NULL, HFILL }},
8748
8749         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_count,
8750           { "count", "drsuapi.DsReplicaCoursorEx05Ctr.count", FT_UINT32, BASE_DEC,
8751           NULL, 0,
8752          NULL, HFILL }},
8753
8754         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_u3,
8755           { "u3", "drsuapi.DsReplicaCoursorEx05Ctr.u3", FT_UINT32, BASE_DEC,
8756           NULL, 0,
8757          NULL, HFILL }},
8758
8759         { &hf_drsuapi_DsReplicaCoursorEx05Ctr_array,
8760           { "array", "drsuapi.DsReplicaCoursorEx05Ctr.array", FT_NONE, BASE_NONE,
8761           NULL, 0,
8762          NULL, HFILL }},
8763
8764         { &hf_drsuapi_DsGetNCChangesCtr6_guid1,
8765           { "guid1", "drsuapi.DsGetNCChangesCtr6.guid1", FT_GUID, BASE_NONE,
8766           NULL, 0,
8767          NULL, HFILL }},
8768
8769         { &hf_drsuapi_DsGetNCChangesCtr6_guid2,
8770           { "guid2", "drsuapi.DsGetNCChangesCtr6.guid2", FT_GUID, BASE_NONE,
8771           NULL, 0,
8772          NULL, HFILL }},
8773
8774         { &hf_drsuapi_DsGetNCChangesCtr6_sync_req_info1,
8775           { "sync_req_info1", "drsuapi.DsGetNCChangesCtr6.sync_req_info1", FT_NONE, BASE_NONE,
8776           NULL, 0,
8777          NULL, HFILL }},
8778
8779         { &hf_drsuapi_DsGetNCChangesCtr6_usn1,
8780           { "usn1", "drsuapi.DsGetNCChangesCtr6.usn1", FT_NONE, BASE_NONE,
8781           NULL, 0,
8782          NULL, HFILL }},
8783
8784         { &hf_drsuapi_DsGetNCChangesCtr6_usn2,
8785           { "usn2", "drsuapi.DsGetNCChangesCtr6.usn2", FT_NONE, BASE_NONE,
8786           NULL, 0,
8787          NULL, HFILL }},
8788
8789         { &hf_drsuapi_DsGetNCChangesCtr6_coursor_ex,
8790           { "coursor_ex", "drsuapi.DsGetNCChangesCtr6.coursor_ex", FT_NONE, BASE_NONE,
8791           NULL, 0,
8792          NULL, HFILL }},
8793
8794         { &hf_drsuapi_DsGetNCChangesCtr6_ctr12,
8795           { "ctr12", "drsuapi.DsGetNCChangesCtr6.ctr12", FT_NONE, BASE_NONE,
8796           NULL, 0,
8797          NULL, HFILL }},
8798
8799         { &hf_drsuapi_DsGetNCChangesCtr6_u1,
8800           { "u1", "drsuapi.DsGetNCChangesCtr6.u1", FT_UINT32, BASE_DEC,
8801           NULL, 0,
8802          NULL, HFILL }},
8803
8804         { &hf_drsuapi_DsGetNCChangesCtr6_ptr1,
8805           { "ptr1", "drsuapi.DsGetNCChangesCtr6.ptr1", FT_UINT32, BASE_DEC,
8806           NULL, 0,
8807          NULL, HFILL }},
8808
8809         { &hf_drsuapi_DsGetNCChangesCtr6_u2,
8810           { "u2", "drsuapi.DsGetNCChangesCtr6.u2", FT_UINT32, BASE_DEC,
8811           NULL, 0,
8812          NULL, HFILL }},
8813
8814         { &hf_drsuapi_DsGetNCChangesCtr6_len1,
8815           { "len1", "drsuapi.DsGetNCChangesCtr6.len1", FT_UINT32, BASE_DEC,
8816           NULL, 0,
8817          NULL, HFILL }},
8818
8819         { &hf_drsuapi_DsGetNCChangesCtr6_array_ptr1,
8820           { "array_ptr1", "drsuapi.DsGetNCChangesCtr6.array_ptr1", FT_UINT32, BASE_DEC,
8821           NULL, 0,
8822          NULL, HFILL }},
8823
8824         { &hf_drsuapi_DsGetNCChangesCtr6_u3,
8825           { "u3", "drsuapi.DsGetNCChangesCtr6.u3", FT_UINT32, BASE_DEC,
8826           NULL, 0,
8827          NULL, HFILL }},
8828
8829         { &hf_drsuapi_DsGetNCChangesCtr_6_ctr6,
8830           { "ctr6", "drsuapi.DsGetNCChangesCtr.ctr6", FT_NONE, BASE_NONE,
8831           NULL, 0,
8832          NULL, HFILL }},
8833
8834         { &hf_drsuapi_DsGetNCChangesCtr_7_ctr7,
8835           { "ctr7", "drsuapi.DsGetNCChangesCtr.ctr7", FT_NONE, BASE_NONE,
8836           NULL, 0,
8837          NULL, HFILL }},
8838
8839         { &hf_drsuapi_DsGetNCChanges_bind_handle,
8840           { "bind_handle", "drsuapi.DsGetNCChanges.bind_handle", FT_BYTES, BASE_NONE,
8841           NULL, 0,
8842          NULL, HFILL }},
8843
8844         { &hf_drsuapi_DsGetNCChanges_level,
8845           { "level", "drsuapi.DsGetNCChanges.level", FT_INT32, BASE_DEC,
8846           NULL, 0,
8847          NULL, HFILL }},
8848
8849         { &hf_drsuapi_DsGetNCChanges_req,
8850           { "req", "drsuapi.DsGetNCChanges.req", FT_UINT32, BASE_DEC,
8851           NULL, 0,
8852          NULL, HFILL }},
8853
8854         { &hf_drsuapi_DsGetNCChanges_ctr,
8855           { "ctr", "drsuapi.DsGetNCChanges.ctr", FT_UINT32, BASE_DEC,
8856           NULL, 0,
8857          NULL, HFILL }},
8858
8859         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION,
8860           { "DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8861           TFS(&DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8862          NULL, HFILL }},
8863
8864         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE,
8865           { "DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE", FT_BOOLEAN, 32,
8866           TFS(&DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE_tfs), 0x00000002,
8867          NULL, HFILL }},
8868
8869         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE,
8870           { "DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE", FT_BOOLEAN, 32,
8871           TFS(&DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE_tfs), 0x00000004,
8872          NULL, HFILL }},
8873
8874         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE,
8875           { "DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE", FT_BOOLEAN, 32,
8876           TFS(&DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE_tfs), 0x00000008,
8877          NULL, HFILL }},
8878
8879         { &hf_drsuapi_DsReplicaUpdateRefsOptions_DRSUAPI_DS_REPLICA_UPDATE_0x00000010,
8880           { "DRSUAPI_DS_REPLICA_UPDATE_0x00000010", "drsuapi.DsReplicaUpdateRefsOptions.DRSUAPI_DS_REPLICA_UPDATE_0x00000010", FT_BOOLEAN, 32,
8881           TFS(&DRSUAPI_DS_REPLICA_UPDATE_0x00000010_tfs), 0x00000010,
8882          NULL, HFILL }},
8883
8884         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown1,
8885           { "unknown1", "drsuapi.DsReplicaUpdateRefsRequest1.unknown1", FT_UINT32, BASE_DEC,
8886           NULL, 0,
8887          NULL, HFILL }},
8888
8889         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_unknown2,
8890           { "unknown2", "drsuapi.DsReplicaUpdateRefsRequest1.unknown2", FT_UINT32, BASE_DEC,
8891           NULL, 0,
8892          NULL, HFILL }},
8893
8894         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_guid,
8895           { "dest_dsa_guid", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_guid", FT_GUID, BASE_NONE,
8896           NULL, 0,
8897          NULL, HFILL }},
8898
8899         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_options,
8900           { "options", "drsuapi.DsReplicaUpdateRefsRequest1.options", FT_UINT32, BASE_HEX,
8901           NULL, 0,
8902          NULL, HFILL }},
8903
8904         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_sync_req_info1,
8905           { "sync_req_info1", "drsuapi.DsReplicaUpdateRefsRequest1.sync_req_info1", FT_NONE, BASE_NONE,
8906           NULL, 0,
8907          NULL, HFILL }},
8908
8909         { &hf_drsuapi_DsReplicaUpdateRefsRequest1_dest_dsa_dns_name,
8910           { "dest_dsa_dns_name", "drsuapi.DsReplicaUpdateRefsRequest1.dest_dsa_dns_name", FT_STRING, BASE_NONE,
8911           NULL, 0,
8912          NULL, HFILL }},
8913
8914         { &hf_drsuapi_DsReplicaUpdateRefsRequest_1_req1,
8915           { "req1", "drsuapi.DsReplicaUpdateRefsRequest.req1", FT_NONE, BASE_NONE,
8916           NULL, 0,
8917          NULL, HFILL }},
8918
8919         { &hf_drsuapi_DsReplicaUpdateRefs_bind_handle,
8920           { "bind_handle", "drsuapi.DsReplicaUpdateRefs.bind_handle", FT_BYTES, BASE_NONE,
8921           NULL, 0,
8922          NULL, HFILL }},
8923
8924         { &hf_drsuapi_DsReplicaUpdateRefs_level,
8925           { "level", "drsuapi.DsReplicaUpdateRefs.level", FT_INT32, BASE_DEC,
8926           NULL, 0,
8927          NULL, HFILL }},
8928
8929         { &hf_drsuapi_DsReplicaUpdateRefs_req,
8930           { "req", "drsuapi.DsReplicaUpdateRefs.req", FT_UINT32, BASE_DEC,
8931           NULL, 0,
8932          NULL, HFILL }},
8933
8934         { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION,
8935           { "DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8936           TFS(&DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8937          NULL, HFILL }},
8938
8939         { &hf_drsuapi_DsReplicaAddOptions_DRSUAPI_DS_REPLICA_ADD_WRITEABLE,
8940           { "DRSUAPI_DS_REPLICA_ADD_WRITEABLE", "drsuapi.DsReplicaAddOptions.DRSUAPI_DS_REPLICA_ADD_WRITEABLE", FT_BOOLEAN, 32,
8941           TFS(&DRSUAPI_DS_REPLICA_ADD_WRITEABLE_tfs), 0x00000002,
8942          NULL, HFILL }},
8943
8944         { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION,
8945           { "DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8946           TFS(&DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8947          NULL, HFILL }},
8948
8949         { &hf_drsuapi_DsReplicaDeleteOptions_DRSUAPI_DS_REPLICA_DELETE_WRITEABLE,
8950           { "DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", "drsuapi.DsReplicaDeleteOptions.DRSUAPI_DS_REPLICA_DELETE_WRITEABLE", FT_BOOLEAN, 32,
8951           TFS(&DRSUAPI_DS_REPLICA_DELETE_WRITEABLE_tfs), 0x00000002,
8952          NULL, HFILL }},
8953
8954         { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION,
8955           { "DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION", FT_BOOLEAN, 32,
8956           TFS(&DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION_tfs), 0x00000001,
8957          NULL, HFILL }},
8958
8959         { &hf_drsuapi_DsReplicaModifyOptions_DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE,
8960           { "DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", "drsuapi.DsReplicaModifyOptions.DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE", FT_BOOLEAN, 32,
8961           TFS(&DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE_tfs), 0x00000002,
8962          NULL, HFILL }},
8963
8964         { &hf_drsuapi_DsNameString_str,
8965           { "str", "drsuapi.DsNameString.str", FT_STRING, BASE_NONE,
8966           NULL, 0,
8967          NULL, HFILL }},
8968
8969         { &hf_drsuapi_DsNameRequest1_unknown1,
8970           { "unknown1", "drsuapi.DsNameRequest1.unknown1", FT_UINT32, BASE_DEC,
8971           NULL, 0,
8972          NULL, HFILL }},
8973
8974         { &hf_drsuapi_DsNameRequest1_unknown2,
8975           { "unknown2", "drsuapi.DsNameRequest1.unknown2", FT_UINT32, BASE_DEC,
8976           NULL, 0,
8977          NULL, HFILL }},
8978
8979         { &hf_drsuapi_DsNameRequest1_format_flags,
8980           { "format_flags", "drsuapi.DsNameRequest1.format_flags", FT_INT32, BASE_DEC,
8981           VALS(drsuapi_DsNameFlags_vals), 0,
8982          NULL, HFILL }},
8983
8984         { &hf_drsuapi_DsNameRequest1_format_offered,
8985           { "format_offered", "drsuapi.DsNameRequest1.format_offered", FT_INT32, BASE_DEC,
8986           VALS(drsuapi_DsNameFormat_vals), 0,
8987          NULL, HFILL }},
8988
8989         { &hf_drsuapi_DsNameRequest1_format_desired,
8990           { "format_desired", "drsuapi.DsNameRequest1.format_desired", FT_INT32, BASE_DEC,
8991           VALS(drsuapi_DsNameFormat_vals), 0,
8992          NULL, HFILL }},
8993
8994         { &hf_drsuapi_DsNameRequest1_count,
8995           { "count", "drsuapi.DsNameRequest1.count", FT_UINT32, BASE_DEC,
8996           NULL, 0,
8997          NULL, HFILL }},
8998
8999         { &hf_drsuapi_DsNameRequest1_names,
9000           { "names", "drsuapi.DsNameRequest1.names", FT_NONE, BASE_NONE,
9001           NULL, 0,
9002          NULL, HFILL }},
9003
9004         { &hf_drsuapi_DsNameRequest_1_req1,
9005           { "req1", "drsuapi.DsNameRequest.req1", FT_NONE, BASE_NONE,
9006           NULL, 0,
9007          NULL, HFILL }},
9008
9009         { &hf_drsuapi_DsNameInfo1_status,
9010           { "status", "drsuapi.DsNameInfo1.status", FT_INT32, BASE_DEC,
9011           VALS(drsuapi_DsNameStatus_vals), 0,
9012          NULL, HFILL }},
9013
9014         { &hf_drsuapi_DsNameInfo1_dns_domain_name,
9015           { "dns_domain_name", "drsuapi.DsNameInfo1.dns_domain_name", FT_STRING, BASE_NONE,
9016           NULL, 0,
9017          NULL, HFILL }},
9018
9019         { &hf_drsuapi_DsNameInfo1_result_name,
9020           { "result_name", "drsuapi.DsNameInfo1.result_name", FT_STRING, BASE_NONE,
9021           NULL, 0,
9022          NULL, HFILL }},
9023
9024         { &hf_drsuapi_DsNameCtr1_count,
9025           { "count", "drsuapi.DsNameCtr1.count", FT_UINT32, BASE_DEC,
9026           NULL, 0,
9027          NULL, HFILL }},
9028
9029         { &hf_drsuapi_DsNameCtr1_array,
9030           { "array", "drsuapi.DsNameCtr1.array", FT_NONE, BASE_NONE,
9031           NULL, 0,
9032          NULL, HFILL }},
9033
9034         { &hf_drsuapi_DsNameCtr_1_ctr1,
9035           { "ctr1", "drsuapi.DsNameCtr.ctr1", FT_NONE, BASE_NONE,
9036           NULL, 0,
9037          NULL, HFILL }},
9038
9039         { &hf_drsuapi_DsCrackNames_bind_handle,
9040           { "bind_handle", "drsuapi.DsCrackNames.bind_handle", FT_BYTES, BASE_NONE,
9041           NULL, 0,
9042          NULL, HFILL }},
9043
9044         { &hf_drsuapi_DsCrackNames_level,
9045           { "level", "drsuapi.DsCrackNames.level", FT_INT32, BASE_DEC,
9046           NULL, 0,
9047          NULL, HFILL }},
9048
9049         { &hf_drsuapi_DsCrackNames_req,
9050           { "req", "drsuapi.DsCrackNames.req", FT_UINT32, BASE_DEC,
9051           NULL, 0,
9052          NULL, HFILL }},
9053
9054         { &hf_drsuapi_DsCrackNames_ctr,
9055           { "ctr", "drsuapi.DsCrackNames.ctr", FT_UINT32, BASE_DEC,
9056           NULL, 0,
9057          NULL, HFILL }},
9058
9059         { &hf_drsuapi_DsWriteAccountSpnRequest1_operation,
9060           { "operation", "drsuapi.DsWriteAccountSpnRequest1.operation", FT_INT32, BASE_DEC,
9061           VALS(drsuapi_DsSpnOperation_vals), 0,
9062          NULL, HFILL }},
9063
9064         { &hf_drsuapi_DsWriteAccountSpnRequest1_unknown1,
9065           { "unknown1", "drsuapi.DsWriteAccountSpnRequest1.unknown1", FT_UINT32, BASE_DEC,
9066           NULL, 0,
9067          NULL, HFILL }},
9068
9069         { &hf_drsuapi_DsWriteAccountSpnRequest1_object_dn,
9070           { "object_dn", "drsuapi.DsWriteAccountSpnRequest1.object_dn", FT_STRING, BASE_NONE,
9071           NULL, 0,
9072          NULL, HFILL }},
9073
9074         { &hf_drsuapi_DsWriteAccountSpnRequest1_count,
9075           { "count", "drsuapi.DsWriteAccountSpnRequest1.count", FT_UINT32, BASE_DEC,
9076           NULL, 0,
9077          NULL, HFILL }},
9078
9079         { &hf_drsuapi_DsWriteAccountSpnRequest1_spn_names,
9080           { "spn_names", "drsuapi.DsWriteAccountSpnRequest1.spn_names", FT_NONE, BASE_NONE,
9081           NULL, 0,
9082          NULL, HFILL }},
9083
9084         { &hf_drsuapi_DsWriteAccountSpnRequest_1_req1,
9085           { "req1", "drsuapi.DsWriteAccountSpnRequest.req1", FT_NONE, BASE_NONE,
9086           NULL, 0,
9087          NULL, HFILL }},
9088
9089         { &hf_drsuapi_DsWriteAccountSpnResult1_status,
9090           { "status", "drsuapi.DsWriteAccountSpnResult1.status", FT_UINT32, BASE_DEC,
9091           VALS(NT_errors), 0,
9092          NULL, HFILL }},
9093
9094         { &hf_drsuapi_DsWriteAccountSpnResult_1_res1,
9095           { "res1", "drsuapi.DsWriteAccountSpnResult.res1", FT_NONE, BASE_NONE,
9096           NULL, 0,
9097          NULL, HFILL }},
9098
9099         { &hf_drsuapi_DsWriteAccountSpn_bind_handle,
9100           { "bind_handle", "drsuapi.DsWriteAccountSpn.bind_handle", FT_BYTES, BASE_NONE,
9101           NULL, 0,
9102          NULL, HFILL }},
9103
9104         { &hf_drsuapi_DsWriteAccountSpn_level,
9105           { "level", "drsuapi.DsWriteAccountSpn.level", FT_INT32, BASE_DEC,
9106           NULL, 0,
9107          NULL, HFILL }},
9108
9109         { &hf_drsuapi_DsWriteAccountSpn_req,
9110           { "req", "drsuapi.DsWriteAccountSpn.req", FT_UINT32, BASE_DEC,
9111           NULL, 0,
9112          NULL, HFILL }},
9113
9114         { &hf_drsuapi_DsWriteAccountSpn_res,
9115           { "res", "drsuapi.DsWriteAccountSpn.res", FT_UINT32, BASE_DEC,
9116           NULL, 0,
9117          NULL, HFILL }},
9118
9119         { &hf_drsuapi_DsGetDCInfoRequest1_domain_name,
9120           { "domain_name", "drsuapi.DsGetDCInfoRequest1.domain_name", FT_STRING, BASE_NONE,
9121           NULL, 0,
9122          NULL, HFILL }},
9123
9124         { &hf_drsuapi_DsGetDCInfoRequest1_level,
9125           { "level", "drsuapi.DsGetDCInfoRequest1.level", FT_INT32, BASE_DEC,
9126           NULL, 0,
9127          NULL, HFILL }},
9128
9129         { &hf_drsuapi_DsGetDCInfoRequest_1_req1,
9130           { "req1", "drsuapi.DsGetDCInfoRequest.req1", FT_NONE, BASE_NONE,
9131           NULL, 0,
9132          NULL, HFILL }},
9133
9134         { &hf_drsuapi_DsGetDCInfo1_netbios_name,
9135           { "netbios_name", "drsuapi.DsGetDCInfo1.netbios_name", FT_STRING, BASE_NONE,
9136           NULL, 0,
9137          NULL, HFILL }},
9138
9139         { &hf_drsuapi_DsGetDCInfo1_dns_name,
9140           { "dns_name", "drsuapi.DsGetDCInfo1.dns_name", FT_STRING, BASE_NONE,
9141           NULL, 0,
9142          NULL, HFILL }},
9143
9144         { &hf_drsuapi_DsGetDCInfo1_site_name,
9145           { "site_name", "drsuapi.DsGetDCInfo1.site_name", FT_STRING, BASE_NONE,
9146           NULL, 0,
9147          NULL, HFILL }},
9148
9149         { &hf_drsuapi_DsGetDCInfo1_computer_dn,
9150           { "computer_dn", "drsuapi.DsGetDCInfo1.computer_dn", FT_STRING, BASE_NONE,
9151           NULL, 0,
9152          NULL, HFILL }},
9153
9154         { &hf_drsuapi_DsGetDCInfo1_server_dn,
9155           { "server_dn", "drsuapi.DsGetDCInfo1.server_dn", FT_STRING, BASE_NONE,
9156           NULL, 0,
9157          NULL, HFILL }},
9158
9159         { &hf_drsuapi_DsGetDCInfo1_is_pdc,
9160           { "is_pdc", "drsuapi.DsGetDCInfo1.is_pdc", FT_UINT32, BASE_DEC,
9161           NULL, 0,
9162          NULL, HFILL }},
9163
9164         { &hf_drsuapi_DsGetDCInfo1_is_enabled,
9165           { "is_enabled", "drsuapi.DsGetDCInfo1.is_enabled", FT_UINT32, BASE_DEC,
9166           NULL, 0,
9167          NULL, HFILL }},
9168
9169         { &hf_drsuapi_DsGetDCInfoCtr1_count,
9170           { "count", "drsuapi.DsGetDCInfoCtr1.count", FT_UINT32, BASE_DEC,
9171           NULL, 0,
9172          NULL, HFILL }},
9173
9174         { &hf_drsuapi_DsGetDCInfoCtr1_array,
9175           { "array", "drsuapi.DsGetDCInfoCtr1.array", FT_NONE, BASE_NONE,
9176           NULL, 0,
9177          NULL, HFILL }},
9178
9179         { &hf_drsuapi_DsGetDCInfo2_netbios_name,
9180           { "netbios_name", "drsuapi.DsGetDCInfo2.netbios_name", FT_STRING, BASE_NONE,
9181           NULL, 0,
9182          NULL, HFILL }},
9183
9184         { &hf_drsuapi_DsGetDCInfo2_dns_name,
9185           { "dns_name", "drsuapi.DsGetDCInfo2.dns_name", FT_STRING, BASE_NONE,
9186           NULL, 0,
9187          NULL, HFILL }},
9188
9189         { &hf_drsuapi_DsGetDCInfo2_site_name,
9190           { "site_name", "drsuapi.DsGetDCInfo2.site_name", FT_STRING, BASE_NONE,
9191           NULL, 0,
9192          NULL, HFILL }},
9193
9194         { &hf_drsuapi_DsGetDCInfo2_site_dn,
9195           { "site_dn", "drsuapi.DsGetDCInfo2.site_dn", FT_STRING, BASE_NONE,
9196           NULL, 0,
9197          NULL, HFILL }},
9198
9199         { &hf_drsuapi_DsGetDCInfo2_computer_dn,
9200           { "computer_dn", "drsuapi.DsGetDCInfo2.computer_dn", FT_STRING, BASE_NONE,
9201           NULL, 0,
9202          NULL, HFILL }},
9203
9204         { &hf_drsuapi_DsGetDCInfo2_server_dn,
9205           { "server_dn", "drsuapi.DsGetDCInfo2.server_dn", FT_STRING, BASE_NONE,
9206           NULL, 0,
9207          NULL, HFILL }},
9208
9209         { &hf_drsuapi_DsGetDCInfo2_ntds_dn,
9210           { "ntds_dn", "drsuapi.DsGetDCInfo2.ntds_dn", FT_STRING, BASE_NONE,
9211           NULL, 0,
9212          NULL, HFILL }},
9213
9214         { &hf_drsuapi_DsGetDCInfo2_is_pdc,
9215           { "is_pdc", "drsuapi.DsGetDCInfo2.is_pdc", FT_UINT32, BASE_DEC,
9216           NULL, 0,
9217          NULL, HFILL }},
9218
9219         { &hf_drsuapi_DsGetDCInfo2_is_enabled,
9220           { "is_enabled", "drsuapi.DsGetDCInfo2.is_enabled", FT_UINT32, BASE_DEC,
9221           NULL, 0,
9222          NULL, HFILL }},
9223
9224         { &hf_drsuapi_DsGetDCInfo2_is_gc,
9225           { "is_gc", "drsuapi.DsGetDCInfo2.is_gc", FT_UINT32, BASE_DEC,
9226           NULL, 0,
9227          NULL, HFILL }},
9228
9229         { &hf_drsuapi_DsGetDCInfo2_site_guid,
9230           { "site_guid", "drsuapi.DsGetDCInfo2.site_guid", FT_GUID, BASE_NONE,
9231           NULL, 0,
9232          NULL, HFILL }},
9233
9234         { &hf_drsuapi_DsGetDCInfo2_computer_guid,
9235           { "computer_guid", "drsuapi.DsGetDCInfo2.computer_guid", FT_GUID, BASE_NONE,
9236           NULL, 0,
9237          NULL, HFILL }},
9238
9239         { &hf_drsuapi_DsGetDCInfo2_server_guid,
9240           { "server_guid", "drsuapi.DsGetDCInfo2.server_guid", FT_GUID, BASE_NONE,
9241           NULL, 0,
9242          NULL, HFILL }},
9243
9244         { &hf_drsuapi_DsGetDCInfo2_ntds_guid,
9245           { "ntds_guid", "drsuapi.DsGetDCInfo2.ntds_guid", FT_GUID, BASE_NONE,
9246           NULL, 0,
9247          NULL, HFILL }},
9248
9249         { &hf_drsuapi_DsGetDCInfoCtr2_count,
9250           { "count", "drsuapi.DsGetDCInfoCtr2.count", FT_UINT32, BASE_DEC,
9251           NULL, 0,
9252          NULL, HFILL }},
9253
9254         { &hf_drsuapi_DsGetDCInfoCtr2_array,
9255           { "array", "drsuapi.DsGetDCInfoCtr2.array", FT_NONE, BASE_NONE,
9256           NULL, 0,
9257          NULL, HFILL }},
9258
9259         { &hf_drsuapi_DsGetDCInfo01_unknown1,
9260           { "unknown1", "drsuapi.DsGetDCInfo01.unknown1", FT_UINT32, BASE_DEC,
9261           NULL, 0,
9262          NULL, HFILL }},
9263
9264         { &hf_drsuapi_DsGetDCInfo01_unknown2,
9265           { "unknown2", "drsuapi.DsGetDCInfo01.unknown2", FT_UINT32, BASE_DEC,
9266           NULL, 0,
9267          NULL, HFILL }},
9268
9269         { &hf_drsuapi_DsGetDCInfo01_unknown3,
9270           { "unknown3", "drsuapi.DsGetDCInfo01.unknown3", FT_UINT32, BASE_DEC,
9271           NULL, 0,
9272          NULL, HFILL }},
9273
9274         { &hf_drsuapi_DsGetDCInfo01_unknown4,
9275           { "unknown4", "drsuapi.DsGetDCInfo01.unknown4", FT_UINT32, BASE_DEC,
9276           NULL, 0,
9277          NULL, HFILL }},
9278
9279         { &hf_drsuapi_DsGetDCInfo01_unknown5,
9280           { "unknown5", "drsuapi.DsGetDCInfo01.unknown5", FT_UINT32, BASE_DEC,
9281           NULL, 0,
9282          NULL, HFILL }},
9283
9284         { &hf_drsuapi_DsGetDCInfo01_unknown6,
9285           { "unknown6", "drsuapi.DsGetDCInfo01.unknown6", FT_UINT32, BASE_DEC,
9286           NULL, 0,
9287          NULL, HFILL }},
9288
9289         { &hf_drsuapi_DsGetDCInfo01_server_nt4_account,
9290           { "server_nt4_account", "drsuapi.DsGetDCInfo01.server_nt4_account", FT_STRING, BASE_NONE,
9291           NULL, 0,
9292          NULL, HFILL }},
9293
9294         { &hf_drsuapi_DsGetDCInfoCtr01_count,
9295           { "count", "drsuapi.DsGetDCInfoCtr01.count", FT_UINT32, BASE_DEC,
9296           NULL, 0,
9297          NULL, HFILL }},
9298
9299         { &hf_drsuapi_DsGetDCInfoCtr01_array,
9300           { "array", "drsuapi.DsGetDCInfoCtr01.array", FT_NONE, BASE_NONE,
9301           NULL, 0,
9302          NULL, HFILL }},
9303
9304         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_1_ctr1,
9305           { "ctr1", "drsuapi.DsGetDCInfoCtr.ctr1", FT_NONE, BASE_NONE,
9306           NULL, 0,
9307          NULL, HFILL }},
9308
9309         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_2_ctr2,
9310           { "ctr2", "drsuapi.DsGetDCInfoCtr.ctr2", FT_NONE, BASE_NONE,
9311           NULL, 0,
9312          NULL, HFILL }},
9313
9314         { &hf_drsuapi_DsGetDCInfoCtr_DRSUAPI_DC_INFO_CTR_01_ctr01,
9315           { "ctr01", "drsuapi.DsGetDCInfoCtr.ctr01", FT_NONE, BASE_NONE,
9316           NULL, 0,
9317          NULL, HFILL }},
9318
9319         { &hf_drsuapi_DsGetDomainControllerInfo_bind_handle,
9320           { "bind_handle", "drsuapi.DsGetDomainControllerInfo.bind_handle", FT_BYTES, BASE_NONE,
9321           NULL, 0,
9322          NULL, HFILL }},
9323
9324         { &hf_drsuapi_DsGetDomainControllerInfo_level,
9325           { "level", "drsuapi.DsGetDomainControllerInfo.level", FT_INT32, BASE_DEC,
9326           NULL, 0,
9327          NULL, HFILL }},
9328
9329         { &hf_drsuapi_DsGetDomainControllerInfo_req,
9330           { "req", "drsuapi.DsGetDomainControllerInfo.req", FT_UINT32, BASE_DEC,
9331           NULL, 0,
9332          NULL, HFILL }},
9333
9334         { &hf_drsuapi_DsGetDomainControllerInfo_ctr,
9335           { "ctr", "drsuapi.DsGetDomainControllerInfo.ctr", FT_UINT32, BASE_DEC,
9336           NULL, 0,
9337          NULL, HFILL }},
9338
9339         { &hf_drsuapi_DsReplicaGetInfoRequest1_info_type,
9340           { "info_type", "drsuapi.DsReplicaGetInfoRequest1.info_type", FT_INT32, BASE_DEC,
9341           VALS(drsuapi_DsReplicaInfoType_vals), 0,
9342          NULL, HFILL }},
9343
9344         { &hf_drsuapi_DsReplicaGetInfoRequest1_object_dn,
9345           { "object_dn", "drsuapi.DsReplicaGetInfoRequest1.object_dn", FT_STRING, BASE_NONE,
9346           NULL, 0,
9347          NULL, HFILL }},
9348
9349         { &hf_drsuapi_DsReplicaGetInfoRequest1_guid1,
9350           { "guid1", "drsuapi.DsReplicaGetInfoRequest1.guid1", FT_GUID, BASE_NONE,
9351           NULL, 0,
9352          NULL, HFILL }},
9353
9354         { &hf_drsuapi_DsReplicaGetInfoRequest2_info_type,
9355           { "info_type", "drsuapi.DsReplicaGetInfoRequest2.info_type", FT_INT32, BASE_DEC,
9356           VALS(drsuapi_DsReplicaInfoType_vals), 0,
9357          NULL, HFILL }},
9358
9359         { &hf_drsuapi_DsReplicaGetInfoRequest2_object_dn,
9360           { "object_dn", "drsuapi.DsReplicaGetInfoRequest2.object_dn", FT_STRING, BASE_NONE,
9361           NULL, 0,
9362          NULL, HFILL }},
9363
9364         { &hf_drsuapi_DsReplicaGetInfoRequest2_guid1,
9365           { "guid1", "drsuapi.DsReplicaGetInfoRequest2.guid1", FT_GUID, BASE_NONE,
9366           NULL, 0,
9367          NULL, HFILL }},
9368
9369         { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown1,
9370           { "unknown1", "drsuapi.DsReplicaGetInfoRequest2.unknown1", FT_UINT32, BASE_DEC,
9371           NULL, 0,
9372          NULL, HFILL }},
9373
9374         { &hf_drsuapi_DsReplicaGetInfoRequest2_string1,
9375           { "string1", "drsuapi.DsReplicaGetInfoRequest2.string1", FT_STRING, BASE_NONE,
9376           NULL, 0,
9377          NULL, HFILL }},
9378
9379         { &hf_drsuapi_DsReplicaGetInfoRequest2_string2,
9380           { "string2", "drsuapi.DsReplicaGetInfoRequest2.string2", FT_STRING, BASE_NONE,
9381           NULL, 0,
9382          NULL, HFILL }},
9383
9384         { &hf_drsuapi_DsReplicaGetInfoRequest2_unknown2,
9385           { "unknown2", "drsuapi.DsReplicaGetInfoRequest2.unknown2", FT_UINT32, BASE_DEC,
9386           NULL, 0,
9387          NULL, HFILL }},
9388
9389         { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO_req1,
9390           { "req1", "drsuapi.DsReplicaGetInfoRequest.req1", FT_NONE, BASE_NONE,
9391           NULL, 0,
9392          NULL, HFILL }},
9393
9394         { &hf_drsuapi_DsReplicaGetInfoRequest_DRSUAPI_DS_REPLICA_GET_INFO2_req2,
9395           { "req2", "drsuapi.DsReplicaGetInfoRequest.req2", FT_NONE, BASE_NONE,
9396           NULL, 0,
9397          NULL, HFILL }},
9398
9399         { &hf_drsuapi_DsReplicaNeighbour_naming_context_dn,
9400           { "naming_context_dn", "drsuapi.DsReplicaNeighbour.naming_context_dn", FT_STRING, BASE_NONE,
9401           NULL, 0,
9402          NULL, HFILL }},
9403
9404         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_dn,
9405           { "source_dsa_obj_dn", "drsuapi.DsReplicaNeighbour.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9406           NULL, 0,
9407          NULL, HFILL }},
9408
9409         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_address,
9410           { "source_dsa_address", "drsuapi.DsReplicaNeighbour.source_dsa_address", FT_STRING, BASE_NONE,
9411           NULL, 0,
9412          NULL, HFILL }},
9413
9414         { &hf_drsuapi_DsReplicaNeighbour_transport_obj_dn,
9415           { "transport_obj_dn", "drsuapi.DsReplicaNeighbour.transport_obj_dn", FT_STRING, BASE_NONE,
9416           NULL, 0,
9417          NULL, HFILL }},
9418
9419         { &hf_drsuapi_DsReplicaNeighbour_replica_flags,
9420           { "replica_flags", "drsuapi.DsReplicaNeighbour.replica_flags", FT_UINT32, BASE_DEC,
9421           NULL, 0,
9422          NULL, HFILL }},
9423
9424         { &hf_drsuapi_DsReplicaNeighbour_reserved,
9425           { "reserved", "drsuapi.DsReplicaNeighbour.reserved", FT_UINT32, BASE_DEC,
9426           NULL, 0,
9427          NULL, HFILL }},
9428
9429         { &hf_drsuapi_DsReplicaNeighbour_naming_context_obj_guid,
9430           { "naming_context_obj_guid", "drsuapi.DsReplicaNeighbour.naming_context_obj_guid", FT_GUID, BASE_NONE,
9431           NULL, 0,
9432          NULL, HFILL }},
9433
9434         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_obj_guid,
9435           { "source_dsa_obj_guid", "drsuapi.DsReplicaNeighbour.source_dsa_obj_guid", FT_GUID, BASE_NONE,
9436           NULL, 0,
9437          NULL, HFILL }},
9438
9439         { &hf_drsuapi_DsReplicaNeighbour_source_dsa_invocation_id,
9440           { "source_dsa_invocation_id", "drsuapi.DsReplicaNeighbour.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9441           NULL, 0,
9442          NULL, HFILL }},
9443
9444         { &hf_drsuapi_DsReplicaNeighbour_transport_obj_guid,
9445           { "transport_obj_guid", "drsuapi.DsReplicaNeighbour.transport_obj_guid", FT_GUID, BASE_NONE,
9446           NULL, 0,
9447          NULL, HFILL }},
9448
9449         { &hf_drsuapi_DsReplicaNeighbour_tmp_highest_usn,
9450           { "tmp_highest_usn", "drsuapi.DsReplicaNeighbour.tmp_highest_usn", FT_UINT64, BASE_DEC,
9451           NULL, 0,
9452          NULL, HFILL }},
9453
9454         { &hf_drsuapi_DsReplicaNeighbour_highest_usn,
9455           { "highest_usn", "drsuapi.DsReplicaNeighbour.highest_usn", FT_UINT64, BASE_DEC,
9456           NULL, 0,
9457          NULL, HFILL }},
9458
9459         { &hf_drsuapi_DsReplicaNeighbour_last_success,
9460           { "last_success", "drsuapi.DsReplicaNeighbour.last_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9461           NULL, 0,
9462          NULL, HFILL }},
9463
9464         { &hf_drsuapi_DsReplicaNeighbour_last_attempt,
9465           { "last_attempt", "drsuapi.DsReplicaNeighbour.last_attempt", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9466           NULL, 0,
9467          NULL, HFILL }},
9468
9469         { &hf_drsuapi_DsReplicaNeighbour_result_last_attempt,
9470           { "result_last_attempt", "drsuapi.DsReplicaNeighbour.result_last_attempt", FT_UINT32, BASE_DEC,
9471           VALS(NT_errors), 0,
9472          NULL, HFILL }},
9473
9474         { &hf_drsuapi_DsReplicaNeighbour_consecutive_sync_failures,
9475           { "consecutive_sync_failures", "drsuapi.DsReplicaNeighbour.consecutive_sync_failures", FT_UINT32, BASE_DEC,
9476           NULL, 0,
9477          NULL, HFILL }},
9478
9479         { &hf_drsuapi_DsReplicaNeighbourCtr_count,
9480           { "count", "drsuapi.DsReplicaNeighbourCtr.count", FT_UINT32, BASE_DEC,
9481           NULL, 0,
9482          NULL, HFILL }},
9483
9484         { &hf_drsuapi_DsReplicaNeighbourCtr_reserved,
9485           { "reserved", "drsuapi.DsReplicaNeighbourCtr.reserved", FT_UINT32, BASE_DEC,
9486           NULL, 0,
9487          NULL, HFILL }},
9488
9489         { &hf_drsuapi_DsReplicaNeighbourCtr_array,
9490           { "array", "drsuapi.DsReplicaNeighbourCtr.array", FT_NONE, BASE_NONE,
9491           NULL, 0,
9492          NULL, HFILL }},
9493
9494         { &hf_drsuapi_DsReplicaCoursorCtr_count,
9495           { "count", "drsuapi.DsReplicaCoursorCtr.count", FT_UINT32, BASE_DEC,
9496           NULL, 0,
9497          NULL, HFILL }},
9498
9499         { &hf_drsuapi_DsReplicaCoursorCtr_reserved,
9500           { "reserved", "drsuapi.DsReplicaCoursorCtr.reserved", FT_UINT32, BASE_DEC,
9501           NULL, 0,
9502          NULL, HFILL }},
9503
9504         { &hf_drsuapi_DsReplicaCoursorCtr_array,
9505           { "array", "drsuapi.DsReplicaCoursorCtr.array", FT_NONE, BASE_NONE,
9506           NULL, 0,
9507          NULL, HFILL }},
9508
9509         { &hf_drsuapi_DsReplicaObjMetaData_attribute_name,
9510           { "attribute_name", "drsuapi.DsReplicaObjMetaData.attribute_name", FT_STRING, BASE_NONE,
9511           NULL, 0,
9512          NULL, HFILL }},
9513
9514         { &hf_drsuapi_DsReplicaObjMetaData_version,
9515           { "version", "drsuapi.DsReplicaObjMetaData.version", FT_UINT32, BASE_DEC,
9516           NULL, 0,
9517          NULL, HFILL }},
9518
9519         { &hf_drsuapi_DsReplicaObjMetaData_originating_last_changed,
9520           { "originating_last_changed", "drsuapi.DsReplicaObjMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9521           NULL, 0,
9522          NULL, HFILL }},
9523
9524         { &hf_drsuapi_DsReplicaObjMetaData_originating_dsa_invocation_id,
9525           { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9526           NULL, 0,
9527          NULL, HFILL }},
9528
9529         { &hf_drsuapi_DsReplicaObjMetaData_originating_usn,
9530           { "originating_usn", "drsuapi.DsReplicaObjMetaData.originating_usn", FT_UINT64, BASE_DEC,
9531           NULL, 0,
9532          NULL, HFILL }},
9533
9534         { &hf_drsuapi_DsReplicaObjMetaData_local_usn,
9535           { "local_usn", "drsuapi.DsReplicaObjMetaData.local_usn", FT_UINT64, BASE_DEC,
9536           NULL, 0,
9537          NULL, HFILL }},
9538
9539         { &hf_drsuapi_DsReplicaObjMetaDataCtr_count,
9540           { "count", "drsuapi.DsReplicaObjMetaDataCtr.count", FT_UINT32, BASE_DEC,
9541           NULL, 0,
9542          NULL, HFILL }},
9543
9544         { &hf_drsuapi_DsReplicaObjMetaDataCtr_reserved,
9545           { "reserved", "drsuapi.DsReplicaObjMetaDataCtr.reserved", FT_UINT32, BASE_DEC,
9546           NULL, 0,
9547          NULL, HFILL }},
9548
9549         { &hf_drsuapi_DsReplicaObjMetaDataCtr_array,
9550           { "array", "drsuapi.DsReplicaObjMetaDataCtr.array", FT_NONE, BASE_NONE,
9551           NULL, 0,
9552          NULL, HFILL }},
9553
9554         { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_dn,
9555           { "dsa_obj_dn", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_dn", FT_STRING, BASE_NONE,
9556           NULL, 0,
9557          NULL, HFILL }},
9558
9559         { &hf_drsuapi_DsReplicaKccDsaFailure_dsa_obj_guid,
9560           { "dsa_obj_guid", "drsuapi.DsReplicaKccDsaFailure.dsa_obj_guid", FT_GUID, BASE_NONE,
9561           NULL, 0,
9562          NULL, HFILL }},
9563
9564         { &hf_drsuapi_DsReplicaKccDsaFailure_first_failure,
9565           { "first_failure", "drsuapi.DsReplicaKccDsaFailure.first_failure", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9566           NULL, 0,
9567          NULL, HFILL }},
9568
9569         { &hf_drsuapi_DsReplicaKccDsaFailure_num_failures,
9570           { "num_failures", "drsuapi.DsReplicaKccDsaFailure.num_failures", FT_UINT32, BASE_DEC,
9571           NULL, 0,
9572          NULL, HFILL }},
9573
9574         { &hf_drsuapi_DsReplicaKccDsaFailure_last_result,
9575           { "last_result", "drsuapi.DsReplicaKccDsaFailure.last_result", FT_UINT32, BASE_DEC,
9576           VALS(NT_errors), 0,
9577          NULL, HFILL }},
9578
9579         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_count,
9580           { "count", "drsuapi.DsReplicaKccDsaFailuresCtr.count", FT_UINT32, BASE_DEC,
9581           NULL, 0,
9582          NULL, HFILL }},
9583
9584         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_reserved,
9585           { "reserved", "drsuapi.DsReplicaKccDsaFailuresCtr.reserved", FT_UINT32, BASE_DEC,
9586           NULL, 0,
9587          NULL, HFILL }},
9588
9589         { &hf_drsuapi_DsReplicaKccDsaFailuresCtr_array,
9590           { "array", "drsuapi.DsReplicaKccDsaFailuresCtr.array", FT_NONE, BASE_NONE,
9591           NULL, 0,
9592          NULL, HFILL }},
9593
9594         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_SYNC_sync,
9595           { "sync", "drsuapi.DsRplicaOpOptions.sync", FT_UINT32, BASE_HEX,
9596           NULL, 0,
9597          NULL, HFILL }},
9598
9599         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_ADD_add,
9600           { "add", "drsuapi.DsRplicaOpOptions.add", FT_UINT32, BASE_HEX,
9601           NULL, 0,
9602          NULL, HFILL }},
9603
9604         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_DELETE_delete,
9605           { "delete", "drsuapi.DsRplicaOpOptions.delete", FT_UINT32, BASE_HEX,
9606           NULL, 0,
9607          NULL, HFILL }},
9608
9609         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_MODIFY_modify,
9610           { "modify", "drsuapi.DsRplicaOpOptions.modify", FT_UINT32, BASE_HEX,
9611           NULL, 0,
9612          NULL, HFILL }},
9613
9614         { &hf_drsuapi_DsRplicaOpOptions_DRSUAPI_DS_REPLICA_OP_TYPE_UPDATE_REFS_update_refs,
9615           { "update_refs", "drsuapi.DsRplicaOpOptions.update_refs", FT_UINT32, BASE_HEX,
9616           NULL, 0,
9617          NULL, HFILL }},
9618
9619         { &hf_drsuapi_DsRplicaOpOptions_default_unknown,
9620           { "unknown", "drsuapi.DsRplicaOpOptions.unknown", FT_UINT32, BASE_DEC,
9621           NULL, 0,
9622          NULL, HFILL }},
9623
9624         { &hf_drsuapi_DsReplicaOp_operation_start,
9625           { "operation_start", "drsuapi.DsReplicaOp.operation_start", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9626           NULL, 0,
9627          NULL, HFILL }},
9628
9629         { &hf_drsuapi_DsReplicaOp_serial_num,
9630           { "serial_num", "drsuapi.DsReplicaOp.serial_num", FT_UINT32, BASE_DEC,
9631           NULL, 0,
9632          NULL, HFILL }},
9633
9634         { &hf_drsuapi_DsReplicaOp_priority,
9635           { "priority", "drsuapi.DsReplicaOp.priority", FT_UINT32, BASE_DEC,
9636           NULL, 0,
9637          NULL, HFILL }},
9638
9639         { &hf_drsuapi_DsReplicaOp_operation_type,
9640           { "operation_type", "drsuapi.DsReplicaOp.operation_type", FT_INT16, BASE_DEC,
9641           VALS(drsuapi_DsReplicaOpType_vals), 0,
9642          NULL, HFILL }},
9643
9644         { &hf_drsuapi_DsReplicaOp_options,
9645           { "options", "drsuapi.DsReplicaOp.options", FT_UINT16, BASE_DEC,
9646           NULL, 0,
9647          NULL, HFILL }},
9648
9649         { &hf_drsuapi_DsReplicaOp_nc_dn,
9650           { "nc_dn", "drsuapi.DsReplicaOp.nc_dn", FT_STRING, BASE_NONE,
9651           NULL, 0,
9652          NULL, HFILL }},
9653
9654         { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_dn,
9655           { "remote_dsa_obj_dn", "drsuapi.DsReplicaOp.remote_dsa_obj_dn", FT_STRING, BASE_NONE,
9656           NULL, 0,
9657          NULL, HFILL }},
9658
9659         { &hf_drsuapi_DsReplicaOp_remote_dsa_address,
9660           { "remote_dsa_address", "drsuapi.DsReplicaOp.remote_dsa_address", FT_STRING, BASE_NONE,
9661           NULL, 0,
9662          NULL, HFILL }},
9663
9664         { &hf_drsuapi_DsReplicaOp_nc_obj_guid,
9665           { "nc_obj_guid", "drsuapi.DsReplicaOp.nc_obj_guid", FT_GUID, BASE_NONE,
9666           NULL, 0,
9667          NULL, HFILL }},
9668
9669         { &hf_drsuapi_DsReplicaOp_remote_dsa_obj_guid,
9670           { "remote_dsa_obj_guid", "drsuapi.DsReplicaOp.remote_dsa_obj_guid", FT_GUID, BASE_NONE,
9671           NULL, 0,
9672          NULL, HFILL }},
9673
9674         { &hf_drsuapi_DsReplicaOpCtr_time,
9675           { "time", "drsuapi.DsReplicaOpCtr.time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9676           NULL, 0,
9677          NULL, HFILL }},
9678
9679         { &hf_drsuapi_DsReplicaOpCtr_count,
9680           { "count", "drsuapi.DsReplicaOpCtr.count", FT_UINT32, BASE_DEC,
9681           NULL, 0,
9682          NULL, HFILL }},
9683
9684         { &hf_drsuapi_DsReplicaOpCtr_array,
9685           { "array", "drsuapi.DsReplicaOpCtr.array", FT_NONE, BASE_NONE,
9686           NULL, 0,
9687          NULL, HFILL }},
9688
9689         { &hf_drsuapi_DsReplicaAttrValMetaData_attribute_name,
9690           { "attribute_name", "drsuapi.DsReplicaAttrValMetaData.attribute_name", FT_STRING, BASE_NONE,
9691           NULL, 0,
9692          NULL, HFILL }},
9693
9694         { &hf_drsuapi_DsReplicaAttrValMetaData_object_dn,
9695           { "object_dn", "drsuapi.DsReplicaAttrValMetaData.object_dn", FT_STRING, BASE_NONE,
9696           NULL, 0,
9697          NULL, HFILL }},
9698
9699         { &hf_drsuapi_DsReplicaAttrValMetaData_value_length,
9700           { "value_length", "drsuapi.DsReplicaAttrValMetaData.value_length", FT_UINT32, BASE_DEC,
9701           NULL, 0,
9702          NULL, HFILL }},
9703
9704         { &hf_drsuapi_DsReplicaAttrValMetaData_value,
9705           { "value", "drsuapi.DsReplicaAttrValMetaData.value", FT_UINT8, BASE_DEC,
9706           NULL, 0,
9707          NULL, HFILL }},
9708
9709         { &hf_drsuapi_DsReplicaAttrValMetaData_deleted,
9710           { "deleted", "drsuapi.DsReplicaAttrValMetaData.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9711           NULL, 0,
9712          NULL, HFILL }},
9713
9714         { &hf_drsuapi_DsReplicaAttrValMetaData_created,
9715           { "created", "drsuapi.DsReplicaAttrValMetaData.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9716           NULL, 0,
9717          NULL, HFILL }},
9718
9719         { &hf_drsuapi_DsReplicaAttrValMetaData_version,
9720           { "version", "drsuapi.DsReplicaAttrValMetaData.version", FT_UINT32, BASE_DEC,
9721           NULL, 0,
9722          NULL, HFILL }},
9723
9724         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_last_changed,
9725           { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9726           NULL, 0,
9727          NULL, HFILL }},
9728
9729         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_dsa_invocation_id,
9730           { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9731           NULL, 0,
9732          NULL, HFILL }},
9733
9734         { &hf_drsuapi_DsReplicaAttrValMetaData_originating_usn,
9735           { "originating_usn", "drsuapi.DsReplicaAttrValMetaData.originating_usn", FT_UINT64, BASE_DEC,
9736           NULL, 0,
9737          NULL, HFILL }},
9738
9739         { &hf_drsuapi_DsReplicaAttrValMetaData_local_usn,
9740           { "local_usn", "drsuapi.DsReplicaAttrValMetaData.local_usn", FT_UINT64, BASE_DEC,
9741           NULL, 0,
9742          NULL, HFILL }},
9743
9744         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_count,
9745           { "count", "drsuapi.DsReplicaAttrValMetaDataCtr.count", FT_UINT32, BASE_DEC,
9746           NULL, 0,
9747          NULL, HFILL }},
9748
9749         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_enumeration_context,
9750           { "enumeration_context", "drsuapi.DsReplicaAttrValMetaDataCtr.enumeration_context", FT_INT32, BASE_DEC,
9751           NULL, 0,
9752          NULL, HFILL }},
9753
9754         { &hf_drsuapi_DsReplicaAttrValMetaDataCtr_array,
9755           { "array", "drsuapi.DsReplicaAttrValMetaDataCtr.array", FT_NONE, BASE_NONE,
9756           NULL, 0,
9757          NULL, HFILL }},
9758
9759         { &hf_drsuapi_DsReplicaCoursor2_source_dsa_invocation_id,
9760           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor2.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9761           NULL, 0,
9762          NULL, HFILL }},
9763
9764         { &hf_drsuapi_DsReplicaCoursor2_highest_usn,
9765           { "highest_usn", "drsuapi.DsReplicaCoursor2.highest_usn", FT_UINT64, BASE_DEC,
9766           NULL, 0,
9767          NULL, HFILL }},
9768
9769         { &hf_drsuapi_DsReplicaCoursor2_last_sync_success,
9770           { "last_sync_success", "drsuapi.DsReplicaCoursor2.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9771           NULL, 0,
9772          NULL, HFILL }},
9773
9774         { &hf_drsuapi_DsReplicaCoursor2Ctr_count,
9775           { "count", "drsuapi.DsReplicaCoursor2Ctr.count", FT_UINT32, BASE_DEC,
9776           NULL, 0,
9777          NULL, HFILL }},
9778
9779         { &hf_drsuapi_DsReplicaCoursor2Ctr_enumeration_context,
9780           { "enumeration_context", "drsuapi.DsReplicaCoursor2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9781           NULL, 0,
9782          NULL, HFILL }},
9783
9784         { &hf_drsuapi_DsReplicaCoursor2Ctr_array,
9785           { "array", "drsuapi.DsReplicaCoursor2Ctr.array", FT_NONE, BASE_NONE,
9786           NULL, 0,
9787          NULL, HFILL }},
9788
9789         { &hf_drsuapi_DsReplicaCoursor3_source_dsa_invocation_id,
9790           { "source_dsa_invocation_id", "drsuapi.DsReplicaCoursor3.source_dsa_invocation_id", FT_GUID, BASE_NONE,
9791           NULL, 0,
9792          NULL, HFILL }},
9793
9794         { &hf_drsuapi_DsReplicaCoursor3_highest_usn,
9795           { "highest_usn", "drsuapi.DsReplicaCoursor3.highest_usn", FT_UINT64, BASE_DEC,
9796           NULL, 0,
9797          NULL, HFILL }},
9798
9799         { &hf_drsuapi_DsReplicaCoursor3_last_sync_success,
9800           { "last_sync_success", "drsuapi.DsReplicaCoursor3.last_sync_success", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9801           NULL, 0,
9802          NULL, HFILL }},
9803
9804         { &hf_drsuapi_DsReplicaCoursor3_source_dsa_obj_dn,
9805           { "source_dsa_obj_dn", "drsuapi.DsReplicaCoursor3.source_dsa_obj_dn", FT_STRING, BASE_NONE,
9806           NULL, 0,
9807          NULL, HFILL }},
9808
9809         { &hf_drsuapi_DsReplicaCoursor3Ctr_count,
9810           { "count", "drsuapi.DsReplicaCoursor3Ctr.count", FT_UINT32, BASE_DEC,
9811           NULL, 0,
9812          NULL, HFILL }},
9813
9814         { &hf_drsuapi_DsReplicaCoursor3Ctr_enumeration_context,
9815           { "enumeration_context", "drsuapi.DsReplicaCoursor3Ctr.enumeration_context", FT_INT32, BASE_DEC,
9816           NULL, 0,
9817          NULL, HFILL }},
9818
9819         { &hf_drsuapi_DsReplicaCoursor3Ctr_array,
9820           { "array", "drsuapi.DsReplicaCoursor3Ctr.array", FT_NONE, BASE_NONE,
9821           NULL, 0,
9822          NULL, HFILL }},
9823
9824         { &hf_drsuapi_DsReplicaObjMetaData2_attribute_name,
9825           { "attribute_name", "drsuapi.DsReplicaObjMetaData2.attribute_name", FT_STRING, BASE_NONE,
9826           NULL, 0,
9827          NULL, HFILL }},
9828
9829         { &hf_drsuapi_DsReplicaObjMetaData2_version,
9830           { "version", "drsuapi.DsReplicaObjMetaData2.version", FT_UINT32, BASE_DEC,
9831           NULL, 0,
9832          NULL, HFILL }},
9833
9834         { &hf_drsuapi_DsReplicaObjMetaData2_originating_last_changed,
9835           { "originating_last_changed", "drsuapi.DsReplicaObjMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9836           NULL, 0,
9837          NULL, HFILL }},
9838
9839         { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_invocation_id,
9840           { "originating_dsa_invocation_id", "drsuapi.DsReplicaObjMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9841           NULL, 0,
9842          NULL, HFILL }},
9843
9844         { &hf_drsuapi_DsReplicaObjMetaData2_originating_usn,
9845           { "originating_usn", "drsuapi.DsReplicaObjMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9846           NULL, 0,
9847          NULL, HFILL }},
9848
9849         { &hf_drsuapi_DsReplicaObjMetaData2_local_usn,
9850           { "local_usn", "drsuapi.DsReplicaObjMetaData2.local_usn", FT_UINT64, BASE_DEC,
9851           NULL, 0,
9852          NULL, HFILL }},
9853
9854         { &hf_drsuapi_DsReplicaObjMetaData2_originating_dsa_obj_dn,
9855           { "originating_dsa_obj_dn", "drsuapi.DsReplicaObjMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9856           NULL, 0,
9857          NULL, HFILL }},
9858
9859         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_count,
9860           { "count", "drsuapi.DsReplicaObjMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9861           NULL, 0,
9862          NULL, HFILL }},
9863
9864         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_enumeration_context,
9865           { "enumeration_context", "drsuapi.DsReplicaObjMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9866           NULL, 0,
9867          NULL, HFILL }},
9868
9869         { &hf_drsuapi_DsReplicaObjMetaData2Ctr_array,
9870           { "array", "drsuapi.DsReplicaObjMetaData2Ctr.array", FT_NONE, BASE_NONE,
9871           NULL, 0,
9872          NULL, HFILL }},
9873
9874         { &hf_drsuapi_DsReplicaAttrValMetaData2_attribute_name,
9875           { "attribute_name", "drsuapi.DsReplicaAttrValMetaData2.attribute_name", FT_STRING, BASE_NONE,
9876           NULL, 0,
9877          NULL, HFILL }},
9878
9879         { &hf_drsuapi_DsReplicaAttrValMetaData2_object_dn,
9880           { "object_dn", "drsuapi.DsReplicaAttrValMetaData2.object_dn", FT_STRING, BASE_NONE,
9881           NULL, 0,
9882          NULL, HFILL }},
9883
9884         { &hf_drsuapi_DsReplicaAttrValMetaData2_value_length,
9885           { "value_length", "drsuapi.DsReplicaAttrValMetaData2.value_length", FT_UINT32, BASE_DEC,
9886           NULL, 0,
9887          NULL, HFILL }},
9888
9889         { &hf_drsuapi_DsReplicaAttrValMetaData2_value,
9890           { "value", "drsuapi.DsReplicaAttrValMetaData2.value", FT_UINT8, BASE_DEC,
9891           NULL, 0,
9892          NULL, HFILL }},
9893
9894         { &hf_drsuapi_DsReplicaAttrValMetaData2_deleted,
9895           { "deleted", "drsuapi.DsReplicaAttrValMetaData2.deleted", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9896           NULL, 0,
9897          NULL, HFILL }},
9898
9899         { &hf_drsuapi_DsReplicaAttrValMetaData2_created,
9900           { "created", "drsuapi.DsReplicaAttrValMetaData2.created", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9901           NULL, 0,
9902          NULL, HFILL }},
9903
9904         { &hf_drsuapi_DsReplicaAttrValMetaData2_version,
9905           { "version", "drsuapi.DsReplicaAttrValMetaData2.version", FT_UINT32, BASE_DEC,
9906           NULL, 0,
9907          NULL, HFILL }},
9908
9909         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_last_changed,
9910           { "originating_last_changed", "drsuapi.DsReplicaAttrValMetaData2.originating_last_changed", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9911           NULL, 0,
9912          NULL, HFILL }},
9913
9914         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_invocation_id,
9915           { "originating_dsa_invocation_id", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_invocation_id", FT_GUID, BASE_NONE,
9916           NULL, 0,
9917          NULL, HFILL }},
9918
9919         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_usn,
9920           { "originating_usn", "drsuapi.DsReplicaAttrValMetaData2.originating_usn", FT_UINT64, BASE_DEC,
9921           NULL, 0,
9922          NULL, HFILL }},
9923
9924         { &hf_drsuapi_DsReplicaAttrValMetaData2_local_usn,
9925           { "local_usn", "drsuapi.DsReplicaAttrValMetaData2.local_usn", FT_UINT64, BASE_DEC,
9926           NULL, 0,
9927          NULL, HFILL }},
9928
9929         { &hf_drsuapi_DsReplicaAttrValMetaData2_originating_dsa_obj_dn,
9930           { "originating_dsa_obj_dn", "drsuapi.DsReplicaAttrValMetaData2.originating_dsa_obj_dn", FT_STRING, BASE_NONE,
9931           NULL, 0,
9932          NULL, HFILL }},
9933
9934         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_count,
9935           { "count", "drsuapi.DsReplicaAttrValMetaData2Ctr.count", FT_UINT32, BASE_DEC,
9936           NULL, 0,
9937          NULL, HFILL }},
9938
9939         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_enumeration_context,
9940           { "enumeration_context", "drsuapi.DsReplicaAttrValMetaData2Ctr.enumeration_context", FT_INT32, BASE_DEC,
9941           NULL, 0,
9942          NULL, HFILL }},
9943
9944         { &hf_drsuapi_DsReplicaAttrValMetaData2Ctr_array,
9945           { "array", "drsuapi.DsReplicaAttrValMetaData2Ctr.array", FT_NONE, BASE_NONE,
9946           NULL, 0,
9947          NULL, HFILL }},
9948
9949         { &hf_drsuapi_DsReplicaConnection04_u1,
9950           { "u1", "drsuapi.DsReplicaConnection04.u1", FT_UINT64, BASE_DEC,
9951           NULL, 0,
9952          NULL, HFILL }},
9953
9954         { &hf_drsuapi_DsReplicaConnection04_u2,
9955           { "u2", "drsuapi.DsReplicaConnection04.u2", FT_UINT32, BASE_DEC,
9956           NULL, 0,
9957          NULL, HFILL }},
9958
9959         { &hf_drsuapi_DsReplicaConnection04_u3,
9960           { "u3", "drsuapi.DsReplicaConnection04.u3", FT_UINT32, BASE_DEC,
9961           NULL, 0,
9962          NULL, HFILL }},
9963
9964         { &hf_drsuapi_DsReplicaConnection04_bind_guid,
9965           { "bind_guid", "drsuapi.DsReplicaConnection04.bind_guid", FT_GUID, BASE_NONE,
9966           NULL, 0,
9967          NULL, HFILL }},
9968
9969         { &hf_drsuapi_DsReplicaConnection04_bind_time,
9970           { "bind_time", "drsuapi.DsReplicaConnection04.bind_time", FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL,
9971           NULL, 0,
9972          NULL, HFILL }},
9973
9974         { &hf_drsuapi_DsReplicaConnection04_u4,
9975           { "u4", "drsuapi.DsReplicaConnection04.u4", FT_UINT32, BASE_DEC,
9976           NULL, 0,
9977          NULL, HFILL }},
9978
9979         { &hf_drsuapi_DsReplicaConnection04_u5,
9980           { "u5", "drsuapi.DsReplicaConnection04.u5", FT_UINT32, BASE_DEC,
9981           NULL, 0,
9982          NULL, HFILL }},
9983
9984         { &hf_drsuapi_DsReplicaConnection04Ctr_count,
9985           { "count", "drsuapi.DsReplicaConnection04Ctr.count", FT_UINT32, BASE_DEC,
9986           NULL, 0,
9987          NULL, HFILL }},
9988
9989         { &hf_drsuapi_DsReplicaConnection04Ctr_reserved,
9990           { "reserved", "drsuapi.DsReplicaConnection04Ctr.reserved", FT_UINT32, BASE_DEC,
9991           NULL, 0,
9992          NULL, HFILL }},
9993
9994         { &hf_drsuapi_DsReplicaConnection04Ctr_array,
9995           { "array", "drsuapi.DsReplicaConnection04Ctr.array", FT_NONE, BASE_NONE,
9996           NULL, 0,
9997          NULL, HFILL }},
9998
9999         { &hf_drsuapi_DsReplica06_str1,
10000           { "str1", "drsuapi.DsReplica06.str1", FT_STRING, BASE_NONE,
10001           NULL, 0,
10002          NULL, HFILL }},
10003
10004         { &hf_drsuapi_DsReplica06_u1,
10005           { "u1", "drsuapi.DsReplica06.u1", FT_UINT32, BASE_DEC,
10006           NULL, 0,
10007          NULL, HFILL }},
10008
10009         { &hf_drsuapi_DsReplica06_u2,
10010           { "u2", "drsuapi.DsReplica06.u2", FT_UINT32, BASE_DEC,
10011           NULL, 0,
10012          NULL, HFILL }},
10013
10014         { &hf_drsuapi_DsReplica06_u3,
10015           { "u3", "drsuapi.DsReplica06.u3", FT_UINT32, BASE_DEC,
10016           NULL, 0,
10017          NULL, HFILL }},
10018
10019         { &hf_drsuapi_DsReplica06_u4,
10020           { "u4", "drsuapi.DsReplica06.u4", FT_UINT32, BASE_DEC,
10021           NULL, 0,
10022          NULL, HFILL }},
10023
10024         { &hf_drsuapi_DsReplica06_u5,
10025           { "u5", "drsuapi.DsReplica06.u5", FT_UINT32, BASE_DEC,
10026           NULL, 0,
10027          NULL, HFILL }},
10028
10029         { &hf_drsuapi_DsReplica06_u6,
10030           { "u6", "drsuapi.DsReplica06.u6", FT_UINT64, BASE_DEC,
10031           NULL, 0,
10032          NULL, HFILL }},
10033
10034         { &hf_drsuapi_DsReplica06_u7,
10035           { "u7", "drsuapi.DsReplica06.u7", FT_UINT32, BASE_DEC,
10036           NULL, 0,
10037          NULL, HFILL }},
10038
10039         { &hf_drsuapi_DsReplica06Ctr_count,
10040           { "count", "drsuapi.DsReplica06Ctr.count", FT_UINT32, BASE_DEC,
10041           NULL, 0,
10042          NULL, HFILL }},
10043
10044         { &hf_drsuapi_DsReplica06Ctr_reserved,
10045           { "reserved", "drsuapi.DsReplica06Ctr.reserved", FT_UINT32, BASE_DEC,
10046           NULL, 0,
10047          NULL, HFILL }},
10048
10049         { &hf_drsuapi_DsReplica06Ctr_array,
10050           { "array", "drsuapi.DsReplica06Ctr.array", FT_NONE, BASE_NONE,
10051           NULL, 0,
10052          NULL, HFILL }},
10053
10054         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS_neighbours,
10055           { "neighbours", "drsuapi.DsReplicaInfo.neighbours", FT_NONE, BASE_NONE,
10056           NULL, 0,
10057          NULL, HFILL }},
10058
10059         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS_coursors,
10060           { "coursors", "drsuapi.DsReplicaInfo.coursors", FT_NONE, BASE_NONE,
10061           NULL, 0,
10062          NULL, HFILL }},
10063
10064         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA_objmetadata,
10065           { "objmetadata", "drsuapi.DsReplicaInfo.objmetadata", FT_NONE, BASE_NONE,
10066           NULL, 0,
10067          NULL, HFILL }},
10068
10069         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_CONNECT_FAILURES_connectfailures,
10070           { "connectfailures", "drsuapi.DsReplicaInfo.connectfailures", FT_NONE, BASE_NONE,
10071           NULL, 0,
10072          NULL, HFILL }},
10073
10074         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_KCC_DSA_LINK_FAILURES_linkfailures,
10075           { "linkfailures", "drsuapi.DsReplicaInfo.linkfailures", FT_NONE, BASE_NONE,
10076           NULL, 0,
10077          NULL, HFILL }},
10078
10079         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_PENDING_OPS_pendingops,
10080           { "pendingops", "drsuapi.DsReplicaInfo.pendingops", FT_NONE, BASE_NONE,
10081           NULL, 0,
10082          NULL, HFILL }},
10083
10084         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA_attrvalmetadata,
10085           { "attrvalmetadata", "drsuapi.DsReplicaInfo.attrvalmetadata", FT_NONE, BASE_NONE,
10086           NULL, 0,
10087          NULL, HFILL }},
10088
10089         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS2_coursors2,
10090           { "coursors2", "drsuapi.DsReplicaInfo.coursors2", FT_NONE, BASE_NONE,
10091           NULL, 0,
10092          NULL, HFILL }},
10093
10094         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSORS3_coursors3,
10095           { "coursors3", "drsuapi.DsReplicaInfo.coursors3", FT_NONE, BASE_NONE,
10096           NULL, 0,
10097          NULL, HFILL }},
10098
10099         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_OBJ_METADATA2_objmetadata2,
10100           { "objmetadata2", "drsuapi.DsReplicaInfo.objmetadata2", FT_NONE, BASE_NONE,
10101           NULL, 0,
10102          NULL, HFILL }},
10103
10104         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_ATTRIBUTE_VALUE_METADATA2_attrvalmetadata2,
10105           { "attrvalmetadata2", "drsuapi.DsReplicaInfo.attrvalmetadata2", FT_NONE, BASE_NONE,
10106           NULL, 0,
10107          NULL, HFILL }},
10108
10109         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_NEIGHBORS02_neighbours02,
10110           { "neighbours02", "drsuapi.DsReplicaInfo.neighbours02", FT_NONE, BASE_NONE,
10111           NULL, 0,
10112          NULL, HFILL }},
10113
10114         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CONNECTIONS04_connections04,
10115           { "connections04", "drsuapi.DsReplicaInfo.connections04", FT_NONE, BASE_NONE,
10116           NULL, 0,
10117          NULL, HFILL }},
10118
10119         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_CURSURS05_coursors05,
10120           { "coursors05", "drsuapi.DsReplicaInfo.coursors05", FT_NONE, BASE_NONE,
10121           NULL, 0,
10122          NULL, HFILL }},
10123
10124         { &hf_drsuapi_DsReplicaInfo_DRSUAPI_DS_REPLICA_INFO_06_i06,
10125           { "i06", "drsuapi.DsReplicaInfo.i06", FT_NONE, BASE_NONE,
10126           NULL, 0,
10127          NULL, HFILL }},
10128
10129         { &hf_drsuapi_DsReplicaGetInfo_bind_handle,
10130           { "bind_handle", "drsuapi.DsReplicaGetInfo.bind_handle", FT_BYTES, BASE_NONE,
10131           NULL, 0,
10132          NULL, HFILL }},
10133
10134         { &hf_drsuapi_DsReplicaGetInfo_level,
10135           { "level", "drsuapi.DsReplicaGetInfo.level", FT_INT32, BASE_DEC,
10136           VALS(drsuapi_DsReplicaGetInfoLevel_vals), 0,
10137          NULL, HFILL }},
10138
10139         { &hf_drsuapi_DsReplicaGetInfo_req,
10140           { "req", "drsuapi.DsReplicaGetInfo.req", FT_UINT32, BASE_DEC,
10141           NULL, 0,
10142          NULL, HFILL }},
10143
10144         { &hf_drsuapi_DsReplicaGetInfo_info_type,
10145           { "info_type", "drsuapi.DsReplicaGetInfo.info_type", FT_INT32, BASE_DEC,
10146           VALS(drsuapi_DsReplicaInfoType_vals), 0,
10147          NULL, HFILL }},
10148
10149         { &hf_drsuapi_DsReplicaGetInfo_info,
10150           { "info", "drsuapi.DsReplicaGetInfo.info", FT_UINT32, BASE_DEC,
10151           NULL, 0,
10152          NULL, HFILL }},
10153
10154 /* END OF INCLUDED FILE : ETH_HFARR */
10155
10156
10157         };
10158
10159         static gint *ett[] = {
10160
10161
10162 /* INCLUDED FILE : ETH_ETTARR */
10163         &ett_drsuapi,
10164         &ett_drsuapi_SupportedExtensions,
10165         &ett_drsuapi_DsBindInfo24,
10166         &ett_drsuapi_DsBindInfo28,
10167         &ett_drsuapi_DsBindInfo,
10168         &ett_drsuapi_DsBindInfoCtr,
10169         &ett_drsuapi_DsReplicaSyncRequest1Info,
10170         &ett_drsuapi_DsReplicaSyncOptions,
10171         &ett_drsuapi_DsReplicaSyncRequest1,
10172         &ett_drsuapi_DsReplicaSyncRequest,
10173         &ett_drsuapi_DsGetNCChangesUsnTriple,
10174         &ett_drsuapi_DsReplicaCoursor,
10175         &ett_drsuapi_DsReplicaCoursor05Ctr,
10176         &ett_drsuapi_DsGetNCChangesRequest5,
10177         &ett_drsuapi_DsGetNCChangesRequest_Ctr14,
10178         &ett_drsuapi_DsGetNCChangesRequest_Ctr13,
10179         &ett_drsuapi_DsGetNCChangesRequest_Ctr12,
10180         &ett_drsuapi_DsGetNCChangesRequest8,
10181         &ett_drsuapi_DsGetNCChangesRequest,
10182         &ett_drsuapi_DsReplicaCoursorEx,
10183         &ett_drsuapi_DsReplicaCoursorEx05Ctr,
10184         &ett_drsuapi_DsGetNCChangesCtr6,
10185         &ett_drsuapi_DsGetNCChangesCtr7,
10186         &ett_drsuapi_DsGetNCChangesCtr,
10187         &ett_drsuapi_DsReplicaUpdateRefsOptions,
10188         &ett_drsuapi_DsReplicaUpdateRefsRequest1,
10189         &ett_drsuapi_DsReplicaUpdateRefsRequest,
10190         &ett_drsuapi_DsReplicaAddOptions,
10191         &ett_drsuapi_DsReplicaDeleteOptions,
10192         &ett_drsuapi_DsReplicaModifyOptions,
10193         &ett_drsuapi_DsNameString,
10194         &ett_drsuapi_DsNameRequest1,
10195         &ett_drsuapi_DsNameRequest,
10196         &ett_drsuapi_DsNameInfo1,
10197         &ett_drsuapi_DsNameCtr1,
10198         &ett_drsuapi_DsNameCtr,
10199         &ett_drsuapi_DsWriteAccountSpnRequest1,
10200         &ett_drsuapi_DsWriteAccountSpnRequest,
10201         &ett_drsuapi_DsWriteAccountSpnResult1,
10202         &ett_drsuapi_DsWriteAccountSpnResult,
10203         &ett_drsuapi_DsGetDCInfoRequest1,
10204         &ett_drsuapi_DsGetDCInfoRequest,
10205         &ett_drsuapi_DsGetDCInfo1,
10206         &ett_drsuapi_DsGetDCInfoCtr1,
10207         &ett_drsuapi_DsGetDCInfo2,
10208         &ett_drsuapi_DsGetDCInfoCtr2,
10209         &ett_drsuapi_DsGetDCInfo01,
10210         &ett_drsuapi_DsGetDCInfoCtr01,
10211         &ett_drsuapi_DsGetDCInfoCtr,
10212         &ett_drsuapi_DsReplicaGetInfoRequest1,
10213         &ett_drsuapi_DsReplicaGetInfoRequest2,
10214         &ett_drsuapi_DsReplicaGetInfoRequest,
10215         &ett_drsuapi_DsReplicaNeighbour,
10216         &ett_drsuapi_DsReplicaNeighbourCtr,
10217         &ett_drsuapi_DsReplicaCoursorCtr,
10218         &ett_drsuapi_DsReplicaObjMetaData,
10219         &ett_drsuapi_DsReplicaObjMetaDataCtr,
10220         &ett_drsuapi_DsReplicaKccDsaFailure,
10221         &ett_drsuapi_DsReplicaKccDsaFailuresCtr,
10222         &ett_drsuapi_DsRplicaOpOptions,
10223         &ett_drsuapi_DsReplicaOp,
10224         &ett_drsuapi_DsReplicaOpCtr,
10225         &ett_drsuapi_DsReplicaAttrValMetaData,
10226         &ett_drsuapi_DsReplicaAttrValMetaDataCtr,
10227         &ett_drsuapi_DsReplicaCoursor2,
10228         &ett_drsuapi_DsReplicaCoursor2Ctr,
10229         &ett_drsuapi_DsReplicaCoursor3,
10230         &ett_drsuapi_DsReplicaCoursor3Ctr,
10231         &ett_drsuapi_DsReplicaObjMetaData2,
10232         &ett_drsuapi_DsReplicaObjMetaData2Ctr,
10233         &ett_drsuapi_DsReplicaAttrValMetaData2,
10234         &ett_drsuapi_DsReplicaAttrValMetaData2Ctr,
10235         &ett_drsuapi_DsReplicaConnection04,
10236         &ett_drsuapi_DsReplicaConnection04Ctr,
10237         &ett_drsuapi_DsReplica06,
10238         &ett_drsuapi_DsReplica06Ctr,
10239         &ett_drsuapi_DsReplicaInfo,
10240 /* END OF INCLUDED FILE : ETH_ETTARR */
10241
10242
10243         };
10244
10245         proto_drsuapi = proto_register_protocol(
10246                 "DRSUAPI", 
10247                 "DRSUAPI", "drsuapi");
10248         proto_register_field_array(proto_drsuapi, hf, array_length(hf));
10249         proto_register_subtree_array(ett, array_length(ett));
10250 }
10251
10252 static dcerpc_sub_dissector function_dissectors[] = {
10253
10254
10255 /* INCLUDED FILE : ETH_FT */
10256     { 0, "DsBind",
10257         drsuapi_dissect_DsBind_request,
10258         drsuapi_dissect_DsBind_response },
10259     { 1, "DsUnbind",
10260         drsuapi_dissect_DsUnbind_request,
10261         drsuapi_dissect_DsUnbind_response },
10262     { 2, "DsReplicaSync",
10263         drsuapi_dissect_DsReplicaSync_request,
10264         drsuapi_dissect_DsReplicaSync_response },
10265     { 3, "DsGetNCChanges",
10266         drsuapi_dissect_DsGetNCChanges_request,
10267         drsuapi_dissect_DsGetNCChanges_response },
10268     { 4, "DsReplicaUpdateRefs",
10269         drsuapi_dissect_DsReplicaUpdateRefs_request,
10270         drsuapi_dissect_DsReplicaUpdateRefs_response },
10271     { 5, "DRSUAPI_REPLICA_ADD",
10272         drsuapi_dissect_DRSUAPI_REPLICA_ADD_request,
10273         drsuapi_dissect_DRSUAPI_REPLICA_ADD_response },
10274     { 6, "DRSUAPI_REPLICA_DEL",
10275         drsuapi_dissect_DRSUAPI_REPLICA_DEL_request,
10276         drsuapi_dissect_DRSUAPI_REPLICA_DEL_response },
10277     { 7, "DRSUAPI_REPLICA_MODIFY",
10278         drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_request,
10279         drsuapi_dissect_DRSUAPI_REPLICA_MODIFY_response },
10280     { 8, "DRSUAPI_VERIFY_NAMES",
10281         drsuapi_dissect_DRSUAPI_VERIFY_NAMES_request,
10282         drsuapi_dissect_DRSUAPI_VERIFY_NAMES_response },
10283     { 9, "DRSUAPI_GET_MEMBERSHIPS",
10284         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_request,
10285         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS_response },
10286     { 10, "DRSUAPI_INTER_DOMAIN_MOVE",
10287         drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_request,
10288         drsuapi_dissect_DRSUAPI_INTER_DOMAIN_MOVE_response },
10289     { 11, "DRSUAPI_GET_NT4_CHANGELOG",
10290         drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_request,
10291         drsuapi_dissect_DRSUAPI_GET_NT4_CHANGELOG_response },
10292     { 12, "DsCrackNames",
10293         drsuapi_dissect_DsCrackNames_request,
10294         drsuapi_dissect_DsCrackNames_response },
10295     { 13, "DsWriteAccountSpn",
10296         drsuapi_dissect_DsWriteAccountSpn_request,
10297         drsuapi_dissect_DsWriteAccountSpn_response },
10298     { 14, "DRSUAPI_REMOVE_DS_SERVER",
10299         drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_request,
10300         drsuapi_dissect_DRSUAPI_REMOVE_DS_SERVER_response },
10301     { 15, "DRSUAPI_REMOVE_DS_DOMAIN",
10302         drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_request,
10303         drsuapi_dissect_DRSUAPI_REMOVE_DS_DOMAIN_response },
10304     { 16, "DsGetDomainControllerInfo",
10305         drsuapi_dissect_DsGetDomainControllerInfo_request,
10306         drsuapi_dissect_DsGetDomainControllerInfo_response },
10307     { 17, "DsAddEntry",
10308         drsuapi_dissect_DsAddEntry_request,
10309         drsuapi_dissect_DsAddEntry_response },
10310     { 18, "DRSUAPI_EXECUTE_KCC",
10311         drsuapi_dissect_DRSUAPI_EXECUTE_KCC_request,
10312         drsuapi_dissect_DRSUAPI_EXECUTE_KCC_response },
10313     { 19, "DsReplicaGetInfo",
10314         drsuapi_dissect_DsReplicaGetInfo_request,
10315         drsuapi_dissect_DsReplicaGetInfo_response },
10316     { 20, "DRSUAPI_ADD_SID_HISTORY",
10317         drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_request,
10318         drsuapi_dissect_DRSUAPI_ADD_SID_HISTORY_response },
10319     { 21, "DRSUAPI_GET_MEMBERSHIPS2",
10320         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_request,
10321         drsuapi_dissect_DRSUAPI_GET_MEMBERSHIPS2_response },
10322     { 22, "DRSUAPI_REPLICA_VERIFY_OBJECTS",
10323         drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_request,
10324         drsuapi_dissect_DRSUAPI_REPLICA_VERIFY_OBJECTS_response },
10325     { 23, "DRSUAPI_GET_OBJECT_EXISTENCE",
10326         drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_request,
10327         drsuapi_dissect_DRSUAPI_GET_OBJECT_EXISTENCE_response },
10328     { 24, "DRSUAPI_QUERY_SITES_BY_COST",
10329         drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_request,
10330         drsuapi_dissect_DRSUAPI_QUERY_SITES_BY_COST_response },
10331 /* END OF INCLUDED FILE : ETH_FT */
10332
10333
10334         { 0, NULL, NULL, NULL },
10335 };
10336
10337 void
10338 proto_reg_handoff_drsuapi(void)
10339 {
10340
10341
10342 /* INCLUDED FILE : ETH_HANDOFF */
10343     dcerpc_init_uuid(proto_drsuapi, ett_drsuapi,
10344         &uuid_dcerpc_drsuapi, ver_drsuapi,
10345         function_dissectors, hf_drsuapi_opnum);
10346 /* END OF INCLUDED FILE : ETH_HANDOFF */
10347
10348
10349 }
10350