TODO netlogon_user_flags_ntlmv2_enabled
[wireshark-sm.git] / epan / dissectors / asn1 / disp / disp.asn
blobcc76ebf47222587c10c62127b05c1c3395a473db
1 -- Module DirectoryShadowAbstractService (X.525:02/2001)
2 DirectoryShadowAbstractService {joint-iso-itu-t ds(5) module(1)
3   directoryShadowAbstractService(15) 4} DEFINITIONS IMPLICIT TAGS ::=
4 BEGIN
6 -- EXPORTS All 
7 -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 
8 -- within the Directory Specifications, and for the use of other applications which will use them to access 
9 -- directory services. Other applications may use them for their own purposes, but this will not constrain
10 -- extensions and modifications needed to maintain or improve the directory service.
11 IMPORTS
12   -- from ITU-T Rec. X.501 | ISO/IEC 9594-2
13   directoryAbstractService, directoryOperationalBindingTypes,
14     informationFramework, disp, distributedOperations,
15     dsaOperationalAttributeTypes, enhancedSecurity, opBindingManagement
16     FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
17       usefulDefinitions(0) 4}
18   Attribute, AttributeType, CONTEXT, DistinguishedName,
19     RelativeDistinguishedName, SubtreeSpecification
20     FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
21       informationFramework(1) 4}
22   OPERATIONAL-BINDING, OperationalBindingID
23     FROM OperationalBindingManagement {joint-iso-itu-t ds(5) module(1)
24       opBindingManagement(18) 4}
25   DSEType, SupplierAndConsumers
26     FROM DSAOperationalAttributeTypes {joint-iso-itu-t ds(5) module(1)
27       dsaOperationalAttributeTypes(22) 4}
28   OPTIONALLY-PROTECTED{}, OPTIONALLY-PROTECTED-SEQ{}
29     FROM EnhancedSecurity {joint-iso-itu-t ds(5) module(1) enhancedSecurity(28)
30       4}
31   -- from ITU-T Rec. X.511 | ISO/IEC 9594-3
32   CommonResultsSeq, ContextSelection, directoryBind, directoryUnbind, DirectoryBindArgument, DirectoryBindError,
33     EntryModification, SecurityParameters
34     FROM DirectoryAbstractService {joint-iso-itu-t ds(5) module(1)
35       directoryAbstractService(2) 4}
36   -- from ITU-T Rec. X.518 | ISO/IEC 9594-4
37   AccessPoint
38     FROM DistributedOperations {joint-iso-itu-t ds(5) module(1)
39       distributedOperations(3) 4}
40   -- from ITU-T Rec. X.519 | ISO/IEC 9594-5
41   id-op-binding-shadow
42     FROM DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1)
43       directoryOperationalBindingTypes(25) 4}
44   id-errcode-shadowError, id-opcode-coordinateShadowUpdate,
45     id-opcode-requestShadowUpdate, id-opcode-updateShadow,
46     reliableShadowSupplierInitiatedAC, reliableShadowConsumerInitiatedAC,
47     shadowConsumerInitiatedAC, shadowSupplierInitiatedAC
48     FROM DirectoryInformationShadowProtocol {joint-iso-itu-t ds(5) module(1)
49       disp(16) 4}
50   AlgorithmIdentifier, CertificationPath, ENCRYPTED{}, SIGNATURE{}, SIGNED{}
51     FROM AuthenticationFramework {joint-iso-itu-t ds(5) module(1)
52       authenticationFramework(7) 4}
53   -- from ITU-T Rec. X.880 | ISO/IEC 13712-1
54   ERROR, OPERATION
55     FROM Remote-Operations-Information-Objects {joint-iso-itu-t
56       remote-operations(4) informationObjects(5) version1(0)};
59 -- bind and unbind operations 
60 dSAShadowBind OPERATION ::= directoryBind
61 DSAShadowBindArgument ::= DirectoryBindArgument
62 DSAShadowBindResult ::= DirectoryBindArgument
63 DSAShadowBindError ::= DirectoryBindError
65 dSAShadowUnbind OPERATION ::= directoryUnbind
67 -- shadow operational binding 
68 --shadowOperationalBinding OPERATIONAL-BINDING ::= {
69 --  AGREEMENT             ShadowingAgreementInfo
70 --  APPLICATION CONTEXTS
71 --    {{shadowSupplierInitiatedAC
72 --      APPLIES TO  {All-operations-supplier-initiated}} |
73 --      {shadowConsumerInitiatedAC
74 --       APPLIES TO  {All-operations-consumer-initiated}} |
75 --      {reliableShadowSupplierInitiatedAC
76 --       APPLIES TO  {All-operations-supplier-initiated}} |
77 --      {reliableShadowConsumerInitiatedAC
78 --       APPLIES TO  {All-operations-consumer-initiated}}}
79 --  ASYMMETRIC ROLE-A
80 --    { - - shadow supplier roleESTABLISHMENT-INITIATOR  TRUE
81 --                             ESTABLISHMENT-PARAMETER  NULL
82 --                             MODIFICATION-INITIATOR   TRUE
83 --                             TERMINATION-INITIATOR    TRUE}
84 --  ROLE-B
85 --    { - - shadow consumer roleESTABLISHMENT-INITIATOR  TRUE
86 --                             ESTABLISHMENT-PARAMETER  NULL
87 --                             MODIFICATION-INITIATOR   TRUE
88 --                             MODIFICATION-PARAMETER   ModificationParameter
89 --                             TERMINATION-INITIATOR    TRUE}
90 --  ID                    id-op-binding-shadow
91 --}
93 -- types 
95 EstablishParameter ::= NULL
97 ModificationParameter ::= SEQUENCE {
98   secondaryShadows  SET OF SupplierAndConsumers
101 AgreementID ::= OperationalBindingID
103 ShadowingAgreementInfo ::= SEQUENCE {
104   shadowSubject     UnitOfReplication,
105   updateMode        UpdateMode DEFAULT supplierInitiated:onChange:TRUE,
106   master            AccessPoint OPTIONAL,
107   secondaryShadows  [2]  BOOLEAN DEFAULT FALSE
110 UnitOfReplication ::= SEQUENCE {
111   area              AreaSpecification,
112   attributes        AttributeSelection,
113   knowledge         Knowledge OPTIONAL,
114   subordinates      BOOLEAN DEFAULT FALSE,
115   contextSelection  ContextSelection OPTIONAL,
116   supplyContexts
117     [0]  CHOICE {allContexts       NULL,
118                  selectedContexts  SET --SIZE (1..MAX)-- OF --CONTEXT.&id-- OBJECT IDENTIFIER } OPTIONAL
121 AreaSpecification ::= SEQUENCE {
122   contextPrefix    DistinguishedName,
123   replicationArea  SubtreeSpecification
126 Knowledge ::= SEQUENCE {
127   knowledgeType      ENUMERATED {master(0), shadow(1), both(2)},
128   extendedKnowledge  BOOLEAN DEFAULT FALSE
131 AttributeSelection ::= SET OF ClassAttributeSelection
133 ClassAttributeSelection ::= SEQUENCE {
134   class            OBJECT IDENTIFIER OPTIONAL,
135   classAttributes  ClassAttributes DEFAULT allAttributes:NULL
138 ClassAttributes ::= CHOICE {
139   allAttributes  NULL,
140   include        [0]  AttributeTypes,
141   exclude        [1]  AttributeTypes
144 AttributeTypes ::= SET OF AttributeType
146 UpdateMode ::= CHOICE {
147   supplierInitiated  [0]  SupplierUpdateMode,
148   consumerInitiated  [1]  ConsumerUpdateMode
151 SupplierUpdateMode ::= CHOICE {
152   onChange   BOOLEAN,
153   scheduled  SchedulingParameters
156 ConsumerUpdateMode ::= SchedulingParameters
158 SchedulingParameters ::= SEQUENCE {
159   periodic    PeriodicStrategy OPTIONAL, -- shall be present if othertimes is set to FALSE 
160   othertimes  BOOLEAN DEFAULT FALSE
163 PeriodicStrategy ::= SEQUENCE {
164   beginTime       Time OPTIONAL,
165   windowSize      INTEGER,
166   updateInterval  INTEGER
169 Time ::= GeneralizedTime
171 -- as per 34.2 b) and c) of CCITT Rec. X.208 and ISO/IEC 8824
172 -- shadow operations, arguments, and results 
173 --All-operations-consumer-initiated OPERATION ::=
174 --  {requestShadowUpdate | updateShadow}
176 --All-operations-supplier-initiated OPERATION ::=
177 --  {coordinateShadowUpdate | updateShadow}
179 --coordinateShadowUpdate OPERATION ::= {
180 --  ARGUMENT  CoordinateShadowUpdateArgument
181 --  RESULT    CoordinateShadowUpdateResult
182 --  ERRORS    {shadowError}
183 --  CODE      id-opcode-coordinateShadowUpdate
186 CoordinateShadowUpdateArgumentData ::=
187 --  OPTIONALLY-PROTECTED
188 --    {[0] --  SEQUENCE {agreementID         AgreementID,
189                     lastUpdate          Time OPTIONAL,
190                     updateStrategy
191                       CHOICE {standard
192                                 ENUMERATED {noChanges(0), incremental(1),
193                                             total(2)},
194                               other     EXTERNAL},
195                     securityParameters  SecurityParameters OPTIONAL} --}
197 -- expand OPTIONALLY-PROTECTED macro
198 CoordinateShadowUpdateArgument ::= CHOICE {
199   unsignedCoordinateShadowUpdateArgument [0] CoordinateShadowUpdateArgumentData,
200   signedCoordinateShadowUpdateArgument SEQUENCE {
201     coordinateShadowUpdateArgument      [0] CoordinateShadowUpdateArgumentData,
202     algorithmIdentifier                 AlgorithmIdentifier,
203     encrypted                           BIT STRING
204     }
208 CoordinateShadowUpdateResult ::= CHOICE {
209   null         NULL,
210   information  Information
211 --    OPTIONALLY-PROTECTED{ [0]  SEQUENCE {agreementID  AgreementID,
212 --                                        lastUpdate  Time OPTIONAL,
213 --                                        COMPONENTS OF CommonResultsSeq
214 --      }}
217 InformationData ::=  SEQUENCE {
218     agreementID  AgreementID,
219     lastUpdate  Time OPTIONAL,
220 --    COMPONENTS OF CommonResultsSeq
221     securityParameters  [30]  SecurityParameters OPTIONAL,
222     performer           [29]  DistinguishedName OPTIONAL,
223     aliasDereferenced   [28]  BOOLEAN DEFAULT FALSE,
224     notification        [27]  SEQUENCE --SIZE (1..MAX)-- OF Attribute OPTIONAL
225     }
227 -- expand OPTIONALLY-PROTECTED macro
228 Information ::= CHOICE {
229   unsignedInformation [0] InformationData,
230   signedInformation SEQUENCE {
231     information         [0] InformationData,
232     algorithmIdentifier AlgorithmIdentifier,
233     encrypted           BIT STRING
234     }
238 --requestShadowUpdate OPERATION ::= {
239 --  ARGUMENT  RequestShadowUpdateArgument
240 --  RESULT    RequestShadowUpdateResult
241 --  ERRORS    {shadowError}
242 --  CODE      id-opcode-requestShadowUpdate
245 RequestShadowUpdateArgumentData ::=
246 --  OPTIONALLY-PROTECTED
247 --    {  [0] --  SEQUENCE {agreementID         AgreementID,
248                     lastUpdate          Time OPTIONAL,
249                     requestedStrategy
250                       CHOICE {standard  ENUMERATED {incremental(1), total(2)},
251                               other     EXTERNAL},
252                     securityParameters  SecurityParameters OPTIONAL} --}
254 -- expand OPTIONALLY-PROTECTED macro
255 RequestShadowUpdateArgument ::= CHOICE {
256   unsignedRequestShadowUpdateArgument [0] RequestShadowUpdateArgumentData,
257   signedRequestShadowUpdateArgument SEQUENCE {
258     requestShadowUpdateArgument [0] RequestShadowUpdateArgumentData,
259     algorithmIdentifier             AlgorithmIdentifier,
260     encrypted                       BIT STRING
261     }
265 RequestShadowUpdateResult ::= CHOICE {
266   null         NULL,
267   information  Information
268 --    OPTIONALLY-PROTECTED{[0]  SEQUENCE {agreementID  AgreementID,
269 --                                        lastUpdate   Time OPTIONAL,
270 --                                        COMPONENTS OF CommonResultsSeq
271 --     }}
274 --updateShadow OPERATION ::= {
275 --  ARGUMENT  UpdateShadowArgument
276 --  RESULT    UpdateShadowResult
277 --  ERRORS    {shadowError}
278 --  CODE      id-opcode-updateShadow
281 UpdateShadowArgumentData ::=
282 --  OPTIONALLY-PROTECTED
283 --    { [0] --  SEQUENCE {agreementID         AgreementID,
284                     updateTime          Time,
285                     updateWindow        UpdateWindow OPTIONAL,
286                     updatedInfo         RefreshInformation,
287                     securityParameters  SecurityParameters OPTIONAL} --}
289 -- expand OPTIONALLY-PROTECTED macro
290 UpdateShadowArgument ::= CHOICE {
291   unsignedUpdateShadowArgument [0] UpdateShadowArgumentData,
292   signedUpdateShadowArgument SEQUENCE {
293     updateShadowArgument        [0] UpdateShadowArgumentData,
294     algorithmIdentifier             AlgorithmIdentifier,
295     encrypted                       BIT STRING
296     }
300 UpdateShadowResult ::= CHOICE {
301   null         NULL,
302   information  Information
303 --    OPTIONALLY-PROTECTED{ [0]  SEQUENCE {agreementID  AgreementID,
304 --                                        lastUpdate   Time OPTIONAL,
305 --                                        COMPONENTS OF CommonResultsSeq
306 --      }}
309 UpdateWindow ::= SEQUENCE {start  Time,
310                            stop   Time
313 RefreshInformation ::= CHOICE {
314   noRefresh      NULL,
315   total          [0]  TotalRefresh,
316   incremental    [1]  IncrementalRefresh,
317   otherStrategy  EXTERNAL
320 TotalRefresh ::= SEQUENCE {
321   sDSE     SDSEContent OPTIONAL,
322   subtree  SET --SIZE (1..MAX)-- OF Subtree OPTIONAL
325 SDSEContent ::= SEQUENCE {
326   sDSEType          SDSEType,
327   subComplete       [0]  BOOLEAN DEFAULT FALSE,
328   attComplete       [1]  BOOLEAN OPTIONAL,
329   attributes        SET OF Attribute,
330   attValIncomplete  SET OF AttributeType DEFAULT {}
333 SDSEType ::= DSEType
335 Subtree ::= SEQUENCE {
336   rdn  RelativeDistinguishedName,
337 --  COMPONENTS OF TotalRefresh
338   sDSE     SDSEContent OPTIONAL,
339   subtree  SET --SIZE (1..MAX)-- OF Subtree OPTIONAL
342 IncrementalRefresh ::= SEQUENCE OF IncrementalStepRefresh
344 IncrementalStepRefresh ::= SEQUENCE {
345   sDSEChanges
346     CHOICE {add     [0]  SDSEContent,
347             remove  NULL,
348             modify  [1]  ContentChange} OPTIONAL,
349   subordinateUpdates  SEQUENCE --SIZE (1..MAX)-- OF SubordinateChanges OPTIONAL
352 ContentChange ::= SEQUENCE {
353   rename
354     CHOICE {newRDN  RelativeDistinguishedName,
355             newDN   DistinguishedName} OPTIONAL,
356   attributeChanges
357     CHOICE {replace  [0]  SET --SIZE (1..MAX)-- OF Attribute,
358             changes  [1]  SEQUENCE --SIZE (1..MAX)-- OF EntryModification
359   } OPTIONAL,
360   sDSEType          SDSEType,
361   subComplete       [2]  BOOLEAN DEFAULT FALSE,
362   attComplete       [3]  BOOLEAN OPTIONAL,
363   attValIncomplete  SET OF AttributeType DEFAULT {}
366 SubordinateChanges ::= SEQUENCE {
367   subordinate  RelativeDistinguishedName,
368   changes      IncrementalStepRefresh
371 -- errors and parameters 
372 ShadowErrorData ::=  -- ERROR ::= {
373 --  PARAMETER OPTIONALLY-PROTECTED-SEQ
374 --    { --SEQUENCE {problem       ShadowProblem,
375                lastUpdate    Time OPTIONAL,
376                updateWindow  UpdateWindow OPTIONAL,
377 --               COMPONENTS OF CommonResultsSeq}}
378                securityParameters  [30]  SecurityParameters OPTIONAL,
379                performer           [29]  DistinguishedName OPTIONAL,
380                aliasDereferenced   [28]  BOOLEAN DEFAULT FALSE,
381                notification        [27]  SEQUENCE --SIZE (1..MAX)-- OF Attribute OPTIONAL
382 --  CODE                                id-errcode-shadowError
385 -- OPTIONALLY-PROTECTED-SEQ macro expansion
386 ShadowError ::= CHOICE {
387   unsignedShadowError ShadowErrorData,
388   signedShadowError [0] SEQUENCE {
389     shadowError         ShadowErrorData,
390     algorithmIdentifier AlgorithmIdentifier,
391     encrypted           BIT STRING
392     }
396 ShadowProblem ::= INTEGER {
397   invalidAgreementID(1), inactiveAgreement(2), invalidInformationReceived(3),
398   unsupportedStrategy(4), missedPrevious(5), fullUpdateRequired(6),
399   unwillingToPerform(7), unsuitableTiming(8), updateAlreadyReceived(9),
400   invalidSequencing(10), insufficientResources(11)}
402 END -- DirectoryShadowAbstractService
404 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D