1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// This version of Windows is not compatible with the behavior version of directory forest, domain or domain controller.
pub const VERSION_CHECK_FAILURE : ErrorCode = from_constant; // ERROR_DS_VERSION_CHECK_FAILURE
/// An error occurred while installing the directory service. For more information, see the event log.
pub const NOT_INSTALLED : ErrorCode = from_constant; // ERROR_DS_NOT_INSTALLED
/// The directory service evaluated group memberships locally.
pub const MEMBERSHIP_EVALUATED_LOCALLY : ErrorCode = from_constant; // ERROR_DS_MEMBERSHIP_EVALUATED_LOCALLY
/// The specified directory service attribute or value does not exist.
pub const NO_ATTRIBUTE_OR_VALUE : ErrorCode = from_constant; // ERROR_DS_NO_ATTRIBUTE_OR_VALUE
/// The attribute syntax specified to the directory service is invalid.
pub const INVALID_ATTRIBUTE_SYNTAX : ErrorCode = from_constant; // ERROR_DS_INVALID_ATTRIBUTE_SYNTAX
/// The attribute type specified to the directory service is not defined.
pub const ATTRIBUTE_TYPE_UNDEFINED : ErrorCode = from_constant; // ERROR_DS_ATTRIBUTE_TYPE_UNDEFINED
/// The specified directory service attribute or value already exists.
pub const ATTRIBUTE_OR_VALUE_EXISTS : ErrorCode = from_constant; // ERROR_DS_ATTRIBUTE_OR_VALUE_EXISTS
/// The directory service is busy.
pub const BUSY : ErrorCode = from_constant; // ERROR_DS_BUSY
/// The directory service is unavailable.
pub const UNAVAILABLE : ErrorCode = from_constant; // ERROR_DS_UNAVAILABLE
/// The directory service was unable to allocate a relative identifier.
pub const NO_RIDS_ALLOCATED : ErrorCode = from_constant; // ERROR_DS_NO_RIDS_ALLOCATED
/// The directory service has exhausted the pool of relative identifiers.
pub const NO_MORE_RIDS : ErrorCode = from_constant; // ERROR_DS_NO_MORE_RIDS
/// The requested operation could not be performed because the directory service is not the master for that type of operation.
pub const INCORRECT_ROLE_OWNER : ErrorCode = from_constant; // ERROR_DS_INCORRECT_ROLE_OWNER
/// The directory service was unable to initialize the subsystem that allocates relative identifiers.
pub const RIDMGR_INIT_ERROR : ErrorCode = from_constant; // ERROR_DS_RIDMGR_INIT_ERROR
/// The requested operation did not satisfy one or more constraints associated with the class of the object.
pub const OBJ_CLASS_VIOLATION : ErrorCode = from_constant; // ERROR_DS_OBJ_CLASS_VIOLATION
/// The directory service can perform the requested operation only on a leaf object.
pub const CANT_ON_NON_LEAF : ErrorCode = from_constant; // ERROR_DS_CANT_ON_NON_LEAF
/// The directory service cannot perform the requested operation on the RDN attribute of an object.
pub const CANT_ON_RDN : ErrorCode = from_constant; // ERROR_DS_CANT_ON_RDN
/// The directory service detected an attempt to modify the object class of an object.
pub const CANT_MOD_OBJ_CLASS : ErrorCode = from_constant; // ERROR_DS_CANT_MOD_OBJ_CLASS
/// The requested cross-domain move operation could not be performed.
pub const CROSS_DOM_MOVE_ERROR : ErrorCode = from_constant; // ERROR_DS_CROSS_DOM_MOVE_ERROR
/// Unable to contact the global catalog server.
pub const GC_NOT_AVAILABLE : ErrorCode = from_constant; // ERROR_DS_GC_NOT_AVAILABLE
/// An operations error occurred.
pub const OPERATIONS_ERROR : ErrorCode = from_constant; // ERROR_DS_OPERATIONS_ERROR
/// A protocol error occurred.
pub const PROTOCOL_ERROR : ErrorCode = from_constant; // ERROR_DS_PROTOCOL_ERROR
/// The time limit for this request was exceeded.
pub const TIMELIMIT_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_TIMELIMIT_EXCEEDED
/// The size limit for this request was exceeded.
pub const SIZELIMIT_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_SIZELIMIT_EXCEEDED
/// The administrative limit for this request was exceeded.
pub const ADMIN_LIMIT_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_ADMIN_LIMIT_EXCEEDED
/// The compare response was false.
pub const COMPARE_FALSE : ErrorCode = from_constant; // ERROR_DS_COMPARE_FALSE
/// The compare response was true.
pub const COMPARE_TRUE : ErrorCode = from_constant; // ERROR_DS_COMPARE_TRUE
/// The requested authentication method is not supported by the server.
pub const AUTH_METHOD_NOT_SUPPORTED : ErrorCode = from_constant; // ERROR_DS_AUTH_METHOD_NOT_SUPPORTED
/// A more secure authentication method is required for this server.
pub const STRONG_AUTH_REQUIRED : ErrorCode = from_constant; // ERROR_DS_STRONG_AUTH_REQUIRED
/// Inappropriate authentication.
pub const INAPPROPRIATE_AUTH : ErrorCode = from_constant; // ERROR_DS_INAPPROPRIATE_AUTH
/// The authentication mechanism is unknown.
pub const AUTH_UNKNOWN : ErrorCode = from_constant; // ERROR_DS_AUTH_UNKNOWN
/// A referral was returned from the server.
pub const REFERRAL : ErrorCode = from_constant; // ERROR_DS_REFERRAL
/// The server does not support the requested critical extension.
pub const UNAVAILABLE_CRIT_EXTENSION : ErrorCode = from_constant; // ERROR_DS_UNAVAILABLE_CRIT_EXTENSION
/// This request requires a secure connection.
pub const CONFIDENTIALITY_REQUIRED : ErrorCode = from_constant; // ERROR_DS_CONFIDENTIALITY_REQUIRED
/// Inappropriate matching.
pub const INAPPROPRIATE_MATCHING : ErrorCode = from_constant; // ERROR_DS_INAPPROPRIATE_MATCHING
/// A constraint violation occurred.
pub const CONSTRAINT_VIOLATION : ErrorCode = from_constant; // ERROR_DS_CONSTRAINT_VIOLATION
/// There is no such object on the server.
pub const NO_SUCH_OBJECT : ErrorCode = from_constant; // ERROR_DS_NO_SUCH_OBJECT
/// There is an alias problem.
pub const ALIAS_PROBLEM : ErrorCode = from_constant; // ERROR_DS_ALIAS_PROBLEM
/// An invalid dn syntax has been specified.
pub const INVALID_DN_SYNTAX : ErrorCode = from_constant; // ERROR_DS_INVALID_DN_SYNTAX
/// The object is a leaf object.
pub const IS_LEAF : ErrorCode = from_constant; // ERROR_DS_IS_LEAF
/// There is an alias dereferencing problem.
pub const ALIAS_DEREF_PROBLEM : ErrorCode = from_constant; // ERROR_DS_ALIAS_DEREF_PROBLEM
/// The server is unwilling to process the request.
pub const UNWILLING_TO_PERFORM : ErrorCode = from_constant; // ERROR_DS_UNWILLING_TO_PERFORM
/// A loop has been detected.
pub const LOOP_DETECT : ErrorCode = from_constant; // ERROR_DS_LOOP_DETECT
/// There is a naming violation.
pub const NAMING_VIOLATION : ErrorCode = from_constant; // ERROR_DS_NAMING_VIOLATION
/// The result set is too large.
pub const OBJECT_RESULTS_TOO_LARGE : ErrorCode = from_constant; // ERROR_DS_OBJECT_RESULTS_TOO_LARGE
/// The operation affects multiple DSAs
pub const AFFECTS_MULTIPLE_DSAS : ErrorCode = from_constant; // ERROR_DS_AFFECTS_MULTIPLE_DSAS
/// The server is not operational.
pub const SERVER_DOWN : ErrorCode = from_constant; // ERROR_DS_SERVER_DOWN
/// A local error has occurred.
pub const LOCAL_ERROR : ErrorCode = from_constant; // ERROR_DS_LOCAL_ERROR
/// An encoding error has occurred.
pub const ENCODING_ERROR : ErrorCode = from_constant; // ERROR_DS_ENCODING_ERROR
/// A decoding error has occurred.
pub const DECODING_ERROR : ErrorCode = from_constant; // ERROR_DS_DECODING_ERROR
/// The search filter cannot be recognized.
pub const FILTER_UNKNOWN : ErrorCode = from_constant; // ERROR_DS_FILTER_UNKNOWN
/// One or more parameters are illegal.
pub const PARAM_ERROR : ErrorCode = from_constant; // ERROR_DS_PARAM_ERROR
/// The specified method is not supported.
pub const NOT_SUPPORTED : ErrorCode = from_constant; // ERROR_DS_NOT_SUPPORTED
/// No results were returned.
pub const NO_RESULTS_RETURNED : ErrorCode = from_constant; // ERROR_DS_NO_RESULTS_RETURNED
/// The specified control is not supported by the server.
pub const CONTROL_NOT_FOUND : ErrorCode = from_constant; // ERROR_DS_CONTROL_NOT_FOUND
/// A referral loop was detected by the client.
pub const CLIENT_LOOP : ErrorCode = from_constant; // ERROR_DS_CLIENT_LOOP
/// The preset referral limit was exceeded.
pub const REFERRAL_LIMIT_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_REFERRAL_LIMIT_EXCEEDED
/// The search requires a SORT control.
pub const SORT_CONTROL_MISSING : ErrorCode = from_constant; // ERROR_DS_SORT_CONTROL_MISSING
/// The search results exceed the offset range specified.
pub const OFFSET_RANGE_ERROR : ErrorCode = from_constant; // ERROR_DS_OFFSET_RANGE_ERROR
/// The directory service detected the subsystem that allocates relative identifiers is disabled. This can occur as a protective mechanism when the system determines a significant portion of relative identifiers (RIDs) have been exhausted. Please see <http://go.microsoft.com/fwlink/?LinkId=228610> for recommended diagnostic steps and the procedure to re-enable account creation.
pub const RIDMGR_DISABLED : ErrorCode = from_constant; // ERROR_DS_RIDMGR_DISABLED
/// The root object must be the head of a naming context. The root object cannot have an instantiated parent.
pub const ROOT_MUST_BE_NC : ErrorCode = from_constant; // ERROR_DS_ROOT_MUST_BE_NC
/// The add replica operation cannot be performed. The naming context must be writeable in order to create the replica.
pub const ADD_REPLICA_INHIBITED : ErrorCode = from_constant; // ERROR_DS_ADD_REPLICA_INHIBITED
/// A reference to an attribute that is not defined in the schema occurred.
pub const ATT_NOT_DEF_IN_SCHEMA : ErrorCode = from_constant; // ERROR_DS_ATT_NOT_DEF_IN_SCHEMA
/// The maximum size of an object has been exceeded.
pub const MAX_OBJ_SIZE_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_MAX_OBJ_SIZE_EXCEEDED
/// An attempt was made to add an object to the directory with a name that is already in use.
pub const OBJ_STRING_NAME_EXISTS : ErrorCode = from_constant; // ERROR_DS_OBJ_STRING_NAME_EXISTS
/// An attempt was made to add an object of a class that does not have an RDN defined in the schema.
pub const NO_RDN_DEFINED_IN_SCHEMA : ErrorCode = from_constant; // ERROR_DS_NO_RDN_DEFINED_IN_SCHEMA
/// An attempt was made to add an object using an RDN that is not the RDN defined in the schema.
pub const RDN_DOESNT_MATCH_SCHEMA : ErrorCode = from_constant; // ERROR_DS_RDN_DOESNT_MATCH_SCHEMA
/// None of the requested attributes were found on the objects.
pub const NO_REQUESTED_ATTS_FOUND : ErrorCode = from_constant; // ERROR_DS_NO_REQUESTED_ATTS_FOUND
/// The user buffer is too small.
pub const USER_BUFFER_TO_SMALL : ErrorCode = from_constant; // ERROR_DS_USER_BUFFER_TO_SMALL
/// The attribute specified in the operation is not present on the object.
pub const ATT_IS_NOT_ON_OBJ : ErrorCode = from_constant; // ERROR_DS_ATT_IS_NOT_ON_OBJ
/// Illegal modify operation. Some aspect of the modification is not permitted.
pub const ILLEGAL_MOD_OPERATION : ErrorCode = from_constant; // ERROR_DS_ILLEGAL_MOD_OPERATION
/// The specified object is too large.
pub const OBJ_TOO_LARGE : ErrorCode = from_constant; // ERROR_DS_OBJ_TOO_LARGE
/// The specified instance type is not valid.
pub const BAD_INSTANCE_TYPE : ErrorCode = from_constant; // ERROR_DS_BAD_INSTANCE_TYPE
/// The operation must be performed at a master DSA.
pub const MASTERDSA_REQUIRED : ErrorCode = from_constant; // ERROR_DS_MASTERDSA_REQUIRED
/// The object class attribute must be specified.
pub const OBJECT_CLASS_REQUIRED : ErrorCode = from_constant; // ERROR_DS_OBJECT_CLASS_REQUIRED
/// A required attribute is missing.
pub const MISSING_REQUIRED_ATT : ErrorCode = from_constant; // ERROR_DS_MISSING_REQUIRED_ATT
/// An attempt was made to modify an object to include an attribute that is not legal for its class.
pub const ATT_NOT_DEF_FOR_CLASS : ErrorCode = from_constant; // ERROR_DS_ATT_NOT_DEF_FOR_CLASS
/// The specified attribute is already present on the object.
pub const ATT_ALREADY_EXISTS : ErrorCode = from_constant; // ERROR_DS_ATT_ALREADY_EXISTS
/// The specified attribute is not present, or has no values.
pub const CANT_ADD_ATT_VALUES : ErrorCode = from_constant; // ERROR_DS_CANT_ADD_ATT_VALUES
/// Multiple values were specified for an attribute that can have only one value.
pub const SINGLE_VALUE_CONSTRAINT : ErrorCode = from_constant; // ERROR_DS_SINGLE_VALUE_CONSTRAINT
/// A value for the attribute was not in the acceptable range of values.
pub const RANGE_CONSTRAINT : ErrorCode = from_constant; // ERROR_DS_RANGE_CONSTRAINT
/// The specified value already exists.
pub const ATT_VAL_ALREADY_EXISTS : ErrorCode = from_constant; // ERROR_DS_ATT_VAL_ALREADY_EXISTS
/// The attribute cannot be removed because it is not present on the object.
pub const CANT_REM_MISSING_ATT : ErrorCode = from_constant; // ERROR_DS_CANT_REM_MISSING_ATT
/// The attribute value cannot be removed because it is not present on the object.
pub const CANT_REM_MISSING_ATT_VAL : ErrorCode = from_constant; // ERROR_DS_CANT_REM_MISSING_ATT_VAL
/// The specified root object cannot be a subref.
pub const ROOT_CANT_BE_SUBREF : ErrorCode = from_constant; // ERROR_DS_ROOT_CANT_BE_SUBREF
/// Chaining is not permitted.
pub const NO_CHAINING : ErrorCode = from_constant; // ERROR_DS_NO_CHAINING
/// Chained evaluation is not permitted.
pub const NO_CHAINED_EVAL : ErrorCode = from_constant; // ERROR_DS_NO_CHAINED_EVAL
/// The operation could not be performed because the object's parent is either uninstantiated or deleted.
pub const NO_PARENT_OBJECT : ErrorCode = from_constant; // ERROR_DS_NO_PARENT_OBJECT
/// Having a parent that is an alias is not permitted. Aliases are leaf objects.
pub const PARENT_IS_AN_ALIAS : ErrorCode = from_constant; // ERROR_DS_PARENT_IS_AN_ALIAS
/// The object and parent must be of the same type, either both masters or both replicas.
pub const CANT_MIX_MASTER_AND_REPS : ErrorCode = from_constant; // ERROR_DS_CANT_MIX_MASTER_AND_REPS
/// The operation cannot be performed because child objects exist. This operation can only be performed on a leaf object.
pub const CHILDREN_EXIST : ErrorCode = from_constant; // ERROR_DS_CHILDREN_EXIST
/// Directory object not found.
pub const OBJ_NOT_FOUND : ErrorCode = from_constant; // ERROR_DS_OBJ_NOT_FOUND
/// The aliased object is missing.
pub const ALIASED_OBJ_MISSING : ErrorCode = from_constant; // ERROR_DS_ALIASED_OBJ_MISSING
/// The object name has bad syntax.
pub const BAD_NAME_SYNTAX : ErrorCode = from_constant; // ERROR_DS_BAD_NAME_SYNTAX
/// It is not permitted for an alias to refer to another alias.
pub const ALIAS_POINTS_TO_ALIAS : ErrorCode = from_constant; // ERROR_DS_ALIAS_POINTS_TO_ALIAS
/// The alias cannot be dereferenced.
pub const CANT_DEREF_ALIAS : ErrorCode = from_constant; // ERROR_DS_CANT_DEREF_ALIAS
/// The operation is out of scope.
pub const OUT_OF_SCOPE : ErrorCode = from_constant; // ERROR_DS_OUT_OF_SCOPE
/// The operation cannot continue because the object is in the process of being removed.
pub const OBJECT_BEING_REMOVED : ErrorCode = from_constant; // ERROR_DS_OBJECT_BEING_REMOVED
/// The DSA object cannot be deleted.
pub const CANT_DELETE_DSA_OBJ : ErrorCode = from_constant; // ERROR_DS_CANT_DELETE_DSA_OBJ
/// A directory service error has occurred.
pub const GENERIC_ERROR : ErrorCode = from_constant; // ERROR_DS_GENERIC_ERROR
/// The operation can only be performed on an internal master DSA object.
pub const DSA_MUST_BE_INT_MASTER : ErrorCode = from_constant; // ERROR_DS_DSA_MUST_BE_INT_MASTER
/// The object must be of class DSA.
pub const CLASS_NOT_DSA : ErrorCode = from_constant; // ERROR_DS_CLASS_NOT_DSA
/// Insufficient access rights to perform the operation.
pub const INSUFF_ACCESS_RIGHTS : ErrorCode = from_constant; // ERROR_DS_INSUFF_ACCESS_RIGHTS
/// The object cannot be added because the parent is not on the list of possible superiors.
pub const ILLEGAL_SUPERIOR : ErrorCode = from_constant; // ERROR_DS_ILLEGAL_SUPERIOR
/// Access to the attribute is not permitted because the attribute is owned by the Security Accounts Manager (SAM).
pub const ATTRIBUTE_OWNED_BY_SAM : ErrorCode = from_constant; // ERROR_DS_ATTRIBUTE_OWNED_BY_SAM
/// The name has too many parts.
pub const NAME_TOO_MANY_PARTS : ErrorCode = from_constant; // ERROR_DS_NAME_TOO_MANY_PARTS
/// The name is too long.
pub const NAME_TOO_LONG : ErrorCode = from_constant; // ERROR_DS_NAME_TOO_LONG
/// The name value is too long.
pub const NAME_VALUE_TOO_LONG : ErrorCode = from_constant; // ERROR_DS_NAME_VALUE_TOO_LONG
/// The directory service encountered an error parsing a name.
pub const NAME_UNPARSEABLE : ErrorCode = from_constant; // ERROR_DS_NAME_UNPARSEABLE
/// The directory service cannot get the attribute type for a name.
pub const NAME_TYPE_UNKNOWN : ErrorCode = from_constant; // ERROR_DS_NAME_TYPE_UNKNOWN
/// The name does not identify an object; the name identifies a phantom.
pub const NOT_AN_OBJECT : ErrorCode = from_constant; // ERROR_DS_NOT_AN_OBJECT
/// The security descriptor is too short.
pub const SEC_DESC_TOO_SHORT : ErrorCode = from_constant; // ERROR_DS_SEC_DESC_TOO_SHORT
/// The security descriptor is invalid.
pub const SEC_DESC_INVALID : ErrorCode = from_constant; // ERROR_DS_SEC_DESC_INVALID
/// Failed to create name for deleted object.
pub const NO_DELETED_NAME : ErrorCode = from_constant; // ERROR_DS_NO_DELETED_NAME
/// The parent of a new subref must exist.
pub const SUBREF_MUST_HAVE_PARENT : ErrorCode = from_constant; // ERROR_DS_SUBREF_MUST_HAVE_PARENT
/// The object must be a naming context.
pub const NCNAME_MUST_BE_NC : ErrorCode = from_constant; // ERROR_DS_NCNAME_MUST_BE_NC
/// It is not permitted to add an attribute which is owned by the system.
pub const CANT_ADD_SYSTEM_ONLY : ErrorCode = from_constant; // ERROR_DS_CANT_ADD_SYSTEM_ONLY
/// The class of the object must be structural; you cannot instantiate an abstract class.
pub const CLASS_MUST_BE_CONCRETE : ErrorCode = from_constant; // ERROR_DS_CLASS_MUST_BE_CONCRETE
/// The schema object could not be found.
pub const INVALID_DMD : ErrorCode = from_constant; // ERROR_DS_INVALID_DMD
/// A local object with this GUID (dead or alive) already exists.
pub const OBJ_GUID_EXISTS : ErrorCode = from_constant; // ERROR_DS_OBJ_GUID_EXISTS
/// The operation cannot be performed on a back link.
pub const NOT_ON_BACKLINK : ErrorCode = from_constant; // ERROR_DS_NOT_ON_BACKLINK
/// The cross reference for the specified naming context could not be found.
pub const NO_CROSSREF_FOR_NC : ErrorCode = from_constant; // ERROR_DS_NO_CROSSREF_FOR_NC
/// The operation could not be performed because the directory service is shutting down.
pub const SHUTTING_DOWN : ErrorCode = from_constant; // ERROR_DS_SHUTTING_DOWN
/// The directory service request is invalid.
pub const UNKNOWN_OPERATION : ErrorCode = from_constant; // ERROR_DS_UNKNOWN_OPERATION
/// The role owner attribute could not be read.
pub const INVALID_ROLE_OWNER : ErrorCode = from_constant; // ERROR_DS_INVALID_ROLE_OWNER
/// The requested FSMO operation failed. The current FSMO holder could not be contacted.
pub const COULDNT_CONTACT_FSMO : ErrorCode = from_constant; // ERROR_DS_COULDNT_CONTACT_FSMO
/// Modification of a DN across a naming context is not permitted.
pub const CROSS_NC_DN_RENAME : ErrorCode = from_constant; // ERROR_DS_CROSS_NC_DN_RENAME
/// The attribute cannot be modified because it is owned by the system.
pub const CANT_MOD_SYSTEM_ONLY : ErrorCode = from_constant; // ERROR_DS_CANT_MOD_SYSTEM_ONLY
/// Only the replicator can perform this function.
pub const REPLICATOR_ONLY : ErrorCode = from_constant; // ERROR_DS_REPLICATOR_ONLY
/// The specified class is not defined.
pub const OBJ_CLASS_NOT_DEFINED : ErrorCode = from_constant; // ERROR_DS_OBJ_CLASS_NOT_DEFINED
/// The specified class is not a subclass.
pub const OBJ_CLASS_NOT_SUBCLASS : ErrorCode = from_constant; // ERROR_DS_OBJ_CLASS_NOT_SUBCLASS
/// The name reference is invalid.
pub const NAME_REFERENCE_INVALID : ErrorCode = from_constant; // ERROR_DS_NAME_REFERENCE_INVALID
/// A cross reference already exists.
pub const CROSS_REF_EXISTS : ErrorCode = from_constant; // ERROR_DS_CROSS_REF_EXISTS
/// It is not permitted to delete a master cross reference.
pub const CANT_DEL_MASTER_CROSSREF : ErrorCode = from_constant; // ERROR_DS_CANT_DEL_MASTER_CROSSREF
/// Subtree notifications are only supported on NC heads.
pub const SUBTREE_NOTIFY_NOT_NC_HEAD : ErrorCode = from_constant; // ERROR_DS_SUBTREE_NOTIFY_NOT_NC_HEAD
/// Notification filter is too complex.
pub const NOTIFY_FILTER_TOO_COMPLEX : ErrorCode = from_constant; // ERROR_DS_NOTIFY_FILTER_TOO_COMPLEX
/// Schema update failed: duplicate RDN.
pub const DUP_RDN : ErrorCode = from_constant; // ERROR_DS_DUP_RDN
/// Schema update failed: duplicate OID.
pub const DUP_OID : ErrorCode = from_constant; // ERROR_DS_DUP_OID
/// Schema update failed: duplicate MAPI identifier.
pub const DUP_MAPI_ID : ErrorCode = from_constant; // ERROR_DS_DUP_MAPI_ID
/// Schema update failed: duplicate schema-id GUID.
pub const DUP_SCHEMA_ID_GUID : ErrorCode = from_constant; // ERROR_DS_DUP_SCHEMA_ID_GUID
/// Schema update failed: duplicate LDAP display name.
pub const DUP_LDAP_DISPLAY_NAME : ErrorCode = from_constant; // ERROR_DS_DUP_LDAP_DISPLAY_NAME
/// Schema update failed: range-lower less than range upper.
pub const SEMANTIC_ATT_TEST : ErrorCode = from_constant; // ERROR_DS_SEMANTIC_ATT_TEST
/// Schema update failed: syntax mismatch.
pub const SYNTAX_MISMATCH : ErrorCode = from_constant; // ERROR_DS_SYNTAX_MISMATCH
/// Schema deletion failed: attribute is used in must-contain.
pub const EXISTS_IN_MUST_HAVE : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_MUST_HAVE
/// Schema deletion failed: attribute is used in may-contain.
pub const EXISTS_IN_MAY_HAVE : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_MAY_HAVE
/// Schema update failed: attribute in may-contain does not exist.
pub const NONEXISTENT_MAY_HAVE : ErrorCode = from_constant; // ERROR_DS_NONEXISTENT_MAY_HAVE
/// Schema update failed: attribute in must-contain does not exist.
pub const NONEXISTENT_MUST_HAVE : ErrorCode = from_constant; // ERROR_DS_NONEXISTENT_MUST_HAVE
/// Schema update failed: class in aux-class list does not exist or is not an auxiliary class.
pub const AUX_CLS_TEST_FAIL : ErrorCode = from_constant; // ERROR_DS_AUX_CLS_TEST_FAIL
/// Schema update failed: class in poss-superiors does not exist.
pub const NONEXISTENT_POSS_SUP : ErrorCode = from_constant; // ERROR_DS_NONEXISTENT_POSS_SUP
/// Schema update failed: class in subclassof list does not exist or does not satisfy hierarchy rules.
pub const SUB_CLS_TEST_FAIL : ErrorCode = from_constant; // ERROR_DS_SUB_CLS_TEST_FAIL
/// Schema update failed: Rdn-Att-Id has wrong syntax.
pub const BAD_RDN_ATT_ID_SYNTAX : ErrorCode = from_constant; // ERROR_DS_BAD_RDN_ATT_ID_SYNTAX
/// Schema deletion failed: class is used as auxiliary class.
pub const EXISTS_IN_AUX_CLS : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_AUX_CLS
/// Schema deletion failed: class is used as sub class.
pub const EXISTS_IN_SUB_CLS : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_SUB_CLS
/// Schema deletion failed: class is used as poss superior.
pub const EXISTS_IN_POSS_SUP : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_POSS_SUP
/// Schema update failed in recalculating validation cache.
pub const RECALCSCHEMA_FAILED : ErrorCode = from_constant; // ERROR_DS_RECALCSCHEMA_FAILED
/// The tree deletion is not finished. The request must be made again to continue deleting the tree.
pub const TREE_DELETE_NOT_FINISHED : ErrorCode = from_constant; // ERROR_DS_TREE_DELETE_NOT_FINISHED
/// The requested delete operation could not be performed.
pub const CANT_DELETE : ErrorCode = from_constant; // ERROR_DS_CANT_DELETE
/// Cannot read the governs class identifier for the schema record.
pub const ATT_SCHEMA_REQ_ID : ErrorCode = from_constant; // ERROR_DS_ATT_SCHEMA_REQ_ID
/// The attribute schema has bad syntax.
pub const BAD_ATT_SCHEMA_SYNTAX : ErrorCode = from_constant; // ERROR_DS_BAD_ATT_SCHEMA_SYNTAX
/// The attribute could not be cached.
pub const CANT_CACHE_ATT : ErrorCode = from_constant; // ERROR_DS_CANT_CACHE_ATT
/// The class could not be cached.
pub const CANT_CACHE_CLASS : ErrorCode = from_constant; // ERROR_DS_CANT_CACHE_CLASS
/// The attribute could not be removed from the cache.
pub const CANT_REMOVE_ATT_CACHE : ErrorCode = from_constant; // ERROR_DS_CANT_REMOVE_ATT_CACHE
/// The class could not be removed from the cache.
pub const CANT_REMOVE_CLASS_CACHE : ErrorCode = from_constant; // ERROR_DS_CANT_REMOVE_CLASS_CACHE
/// The distinguished name attribute could not be read.
pub const CANT_RETRIEVE_DN : ErrorCode = from_constant; // ERROR_DS_CANT_RETRIEVE_DN
/// No superior reference has been configured for the directory service. The directory service is therefore unable to issue referrals to objects outside this forest.
pub const MISSING_SUPREF : ErrorCode = from_constant; // ERROR_DS_MISSING_SUPREF
/// The instance type attribute could not be retrieved.
pub const CANT_RETRIEVE_INSTANCE : ErrorCode = from_constant; // ERROR_DS_CANT_RETRIEVE_INSTANCE
/// An internal error has occurred.
pub const CODE_INCONSISTENCY : ErrorCode = from_constant; // ERROR_DS_CODE_INCONSISTENCY
/// A database error has occurred.
pub const DATABASE_ERROR : ErrorCode = from_constant; // ERROR_DS_DATABASE_ERROR
/// The attribute GOVERNSID is missing.
pub const GOVERNSID_MISSING : ErrorCode = from_constant; // ERROR_DS_GOVERNSID_MISSING
/// An expected attribute is missing.
pub const MISSING_EXPECTED_ATT : ErrorCode = from_constant; // ERROR_DS_MISSING_EXPECTED_ATT
/// The specified naming context is missing a cross reference.
pub const NCNAME_MISSING_CR_REF : ErrorCode = from_constant; // ERROR_DS_NCNAME_MISSING_CR_REF
/// A security checking error has occurred.
pub const SECURITY_CHECKING_ERROR : ErrorCode = from_constant; // ERROR_DS_SECURITY_CHECKING_ERROR
/// The schema is not loaded.
pub const SCHEMA_NOT_LOADED : ErrorCode = from_constant; // ERROR_DS_SCHEMA_NOT_LOADED
/// Schema allocation failed. Please check if the machine is running low on memory.
pub const SCHEMA_ALLOC_FAILED : ErrorCode = from_constant; // ERROR_DS_SCHEMA_ALLOC_FAILED
/// Failed to obtain the required syntax for the attribute schema.
pub const ATT_SCHEMA_REQ_SYNTAX : ErrorCode = from_constant; // ERROR_DS_ATT_SCHEMA_REQ_SYNTAX
/// The global catalog verification failed. The global catalog is not available or does not support the operation. Some part of the directory is currently not available.
pub const GCVERIFY_ERROR : ErrorCode = from_constant; // ERROR_DS_GCVERIFY_ERROR
/// The replication operation failed because of a schema mismatch between the servers involved.
pub const DRA_SCHEMA_MISMATCH : ErrorCode = from_constant; // ERROR_DS_DRA_SCHEMA_MISMATCH
/// The DSA object could not be found.
pub const CANT_FIND_DSA_OBJ : ErrorCode = from_constant; // ERROR_DS_CANT_FIND_DSA_OBJ
/// The naming context could not be found.
pub const CANT_FIND_EXPECTED_NC : ErrorCode = from_constant; // ERROR_DS_CANT_FIND_EXPECTED_NC
/// The naming context could not be found in the cache.
pub const CANT_FIND_NC_IN_CACHE : ErrorCode = from_constant; // ERROR_DS_CANT_FIND_NC_IN_CACHE
/// The child object could not be retrieved.
pub const CANT_RETRIEVE_CHILD : ErrorCode = from_constant; // ERROR_DS_CANT_RETRIEVE_CHILD
/// The modification was not permitted for security reasons.
pub const SECURITY_ILLEGAL_MODIFY : ErrorCode = from_constant; // ERROR_DS_SECURITY_ILLEGAL_MODIFY
/// The operation cannot replace the hidden record.
pub const CANT_REPLACE_HIDDEN_REC : ErrorCode = from_constant; // ERROR_DS_CANT_REPLACE_HIDDEN_REC
/// The hierarchy file is invalid.
pub const BAD_HIERARCHY_FILE : ErrorCode = from_constant; // ERROR_DS_BAD_HIERARCHY_FILE
/// The attempt to build the hierarchy table failed.
pub const BUILD_HIERARCHY_TABLE_FAILED : ErrorCode = from_constant; // ERROR_DS_BUILD_HIERARCHY_TABLE_FAILED
/// The directory configuration parameter is missing from the registry.
pub const CONFIG_PARAM_MISSING : ErrorCode = from_constant; // ERROR_DS_CONFIG_PARAM_MISSING
/// The attempt to count the address book indices failed.
pub const COUNTING_AB_INDICES_FAILED : ErrorCode = from_constant; // ERROR_DS_COUNTING_AB_INDICES_FAILED
/// The allocation of the hierarchy table failed.
pub const HIERARCHY_TABLE_MALLOC_FAILED : ErrorCode = from_constant; // ERROR_DS_HIERARCHY_TABLE_MALLOC_FAILED
/// The directory service encountered an internal failure.
pub const INTERNAL_FAILURE : ErrorCode = from_constant; // ERROR_DS_INTERNAL_FAILURE
/// The directory service encountered an unknown failure.
pub const UNKNOWN_ERROR : ErrorCode = from_constant; // ERROR_DS_UNKNOWN_ERROR
/// A root object requires a class of 'top'.
pub const ROOT_REQUIRES_CLASS_TOP : ErrorCode = from_constant; // ERROR_DS_ROOT_REQUIRES_CLASS_TOP
/// This directory server is shutting down, and cannot take ownership of new floating single-master operation roles.
pub const REFUSING_FSMO_ROLES : ErrorCode = from_constant; // ERROR_DS_REFUSING_FSMO_ROLES
/// The directory service is missing mandatory configuration information, and is unable to determine the ownership of floating single-master operation roles.
pub const MISSING_FSMO_SETTINGS : ErrorCode = from_constant; // ERROR_DS_MISSING_FSMO_SETTINGS
/// The directory service was unable to transfer ownership of one or more floating single-master operation roles to other servers.
pub const UNABLE_TO_SURRENDER_ROLES : ErrorCode = from_constant; // ERROR_DS_UNABLE_TO_SURRENDER_ROLES
/// The replication operation failed.
pub const DRA_GENERIC : ErrorCode = from_constant; // ERROR_DS_DRA_GENERIC
/// An invalid parameter was specified for this replication operation.
pub const DRA_INVALID_PARAMETER : ErrorCode = from_constant; // ERROR_DS_DRA_INVALID_PARAMETER
/// The directory service is too busy to complete the replication operation at this time.
pub const DRA_BUSY : ErrorCode = from_constant; // ERROR_DS_DRA_BUSY
/// The distinguished name specified for this replication operation is invalid.
pub const DRA_BAD_DN : ErrorCode = from_constant; // ERROR_DS_DRA_BAD_DN
/// The naming context specified for this replication operation is invalid.
pub const DRA_BAD_NC : ErrorCode = from_constant; // ERROR_DS_DRA_BAD_NC
/// The distinguished name specified for this replication operation already exists.
pub const DRA_DN_EXISTS : ErrorCode = from_constant; // ERROR_DS_DRA_DN_EXISTS
/// The replication system encountered an internal error.
pub const DRA_INTERNAL_ERROR : ErrorCode = from_constant; // ERROR_DS_DRA_INTERNAL_ERROR
/// The replication operation encountered a database inconsistency.
pub const DRA_INCONSISTENT_DIT : ErrorCode = from_constant; // ERROR_DS_DRA_INCONSISTENT_DIT
/// The server specified for this replication operation could not be contacted.
pub const DRA_CONNECTION_FAILED : ErrorCode = from_constant; // ERROR_DS_DRA_CONNECTION_FAILED
/// The replication operation encountered an object with an invalid instance type.
pub const DRA_BAD_INSTANCE_TYPE : ErrorCode = from_constant; // ERROR_DS_DRA_BAD_INSTANCE_TYPE
/// The replication operation failed to allocate memory.
pub const DRA_OUT_OF_MEM : ErrorCode = from_constant; // ERROR_DS_DRA_OUT_OF_MEM
/// The replication operation encountered an error with the mail system.
pub const DRA_MAIL_PROBLEM : ErrorCode = from_constant; // ERROR_DS_DRA_MAIL_PROBLEM
/// The replication reference information for the target server already exists.
pub const DRA_REF_ALREADY_EXISTS : ErrorCode = from_constant; // ERROR_DS_DRA_REF_ALREADY_EXISTS
/// The replication reference information for the target server does not exist.
pub const DRA_REF_NOT_FOUND : ErrorCode = from_constant; // ERROR_DS_DRA_REF_NOT_FOUND
/// The naming context cannot be removed because it is replicated to another server.
pub const DRA_OBJ_IS_REP_SOURCE : ErrorCode = from_constant; // ERROR_DS_DRA_OBJ_IS_REP_SOURCE
/// The replication operation encountered a database error.
pub const DRA_DB_ERROR : ErrorCode = from_constant; // ERROR_DS_DRA_DB_ERROR
/// The naming context is in the process of being removed or is not replicated from the specified server.
pub const DRA_NO_REPLICA : ErrorCode = from_constant; // ERROR_DS_DRA_NO_REPLICA
/// Replication access was denied.
pub const DRA_ACCESS_DENIED : ErrorCode = from_constant; // ERROR_DS_DRA_ACCESS_DENIED
/// The requested operation is not supported by this version of the directory service.
pub const DRA_NOT_SUPPORTED : ErrorCode = from_constant; // ERROR_DS_DRA_NOT_SUPPORTED
/// The replication remote procedure call was cancelled.
pub const DRA_RPC_CANCELLED : ErrorCode = from_constant; // ERROR_DS_DRA_RPC_CANCELLED
/// The source server is currently rejecting replication requests.
pub const DRA_SOURCE_DISABLED : ErrorCode = from_constant; // ERROR_DS_DRA_SOURCE_DISABLED
/// The destination server is currently rejecting replication requests.
pub const DRA_SINK_DISABLED : ErrorCode = from_constant; // ERROR_DS_DRA_SINK_DISABLED
/// The replication operation failed due to a collision of object names.
pub const DRA_NAME_COLLISION : ErrorCode = from_constant; // ERROR_DS_DRA_NAME_COLLISION
/// The replication source has been reinstalled.
pub const DRA_SOURCE_REINSTALLED : ErrorCode = from_constant; // ERROR_DS_DRA_SOURCE_REINSTALLED
/// The replication operation failed because a required parent object is missing.
pub const DRA_MISSING_PARENT : ErrorCode = from_constant; // ERROR_DS_DRA_MISSING_PARENT
/// The replication operation was preempted.
pub const DRA_PREEMPTED : ErrorCode = from_constant; // ERROR_DS_DRA_PREEMPTED
/// The replication synchronization attempt was abandoned because of a lack of updates.
pub const DRA_ABANDON_SYNC : ErrorCode = from_constant; // ERROR_DS_DRA_ABANDON_SYNC
/// The replication operation was terminated because the system is shutting down.
pub const DRA_SHUTDOWN : ErrorCode = from_constant; // ERROR_DS_DRA_SHUTDOWN
/// Synchronization attempt failed because the destination DC is currently waiting to synchronize new partial attributes from source. This condition is normal if a recent schema change modified the partial attribute set. The destination partial attribute set is not a subset of source partial attribute set.
pub const DRA_INCOMPATIBLE_PARTIAL_SET : ErrorCode = from_constant; // ERROR_DS_DRA_INCOMPATIBLE_PARTIAL_SET
/// The replication synchronization attempt failed because a master replica attempted to sync from a partial replica.
pub const DRA_SOURCE_IS_PARTIAL_REPLICA : ErrorCode = from_constant; // ERROR_DS_DRA_SOURCE_IS_PARTIAL_REPLICA
/// The server specified for this replication operation was contacted, but that server was unable to contact an additional server needed to complete the operation.
pub const DRA_EXTN_CONNECTION_FAILED : ErrorCode = from_constant; // ERROR_DS_DRA_EXTN_CONNECTION_FAILED
/// The version of the directory service schema of the source forest is not compatible with the version of directory service on this computer.
pub const INSTALL_SCHEMA_MISMATCH : ErrorCode = from_constant; // ERROR_DS_INSTALL_SCHEMA_MISMATCH
/// Schema update failed: An attribute with the same link identifier already exists.
pub const DUP_LINK_ID : ErrorCode = from_constant; // ERROR_DS_DUP_LINK_ID
/// Name translation: Generic processing error.
pub const NAME_ERROR_RESOLVING : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_RESOLVING
/// Name translation: Could not find the name or insufficient right to see name.
pub const NAME_ERROR_NOT_FOUND : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_NOT_FOUND
/// Name translation: Input name mapped to more than one output name.
pub const NAME_ERROR_NOT_UNIQUE : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_NOT_UNIQUE
/// Name translation: Input name found, but not the associated output format.
pub const NAME_ERROR_NO_MAPPING : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_NO_MAPPING
/// Name translation: Unable to resolve completely, only the domain was found.
pub const NAME_ERROR_DOMAIN_ONLY : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_DOMAIN_ONLY
/// Name translation: Unable to perform purely syntactical mapping at the client without going out to the wire.
pub const NAME_ERROR_NO_SYNTACTICAL_MAPPING : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_NO_SYNTACTICAL_MAPPING
/// Modification of a constructed attribute is not allowed.
pub const CONSTRUCTED_ATT_MOD : ErrorCode = from_constant; // ERROR_DS_CONSTRUCTED_ATT_MOD
/// The OM-Object-Class specified is incorrect for an attribute with the specified syntax.
pub const WRONG_OM_OBJ_CLASS : ErrorCode = from_constant; // ERROR_DS_WRONG_OM_OBJ_CLASS
/// The replication request has been posted; waiting for reply.
pub const DRA_REPL_PENDING : ErrorCode = from_constant; // ERROR_DS_DRA_REPL_PENDING
/// The requested operation requires a directory service, and none was available.
pub const DS_REQUIRED : ErrorCode = from_constant; // ERROR_DS_DS_REQUIRED
/// The LDAP display name of the class or attribute contains non-ASCII characters.
pub const INVALID_LDAP_DISPLAY_NAME : ErrorCode = from_constant; // ERROR_DS_INVALID_LDAP_DISPLAY_NAME
/// The requested search operation is only supported for base searches.
pub const NON_BASE_SEARCH : ErrorCode = from_constant; // ERROR_DS_NON_BASE_SEARCH
/// The search failed to retrieve attributes from the database.
pub const CANT_RETRIEVE_ATTS : ErrorCode = from_constant; // ERROR_DS_CANT_RETRIEVE_ATTS
/// The schema update operation tried to add a backward link attribute that has no corresponding forward link.
pub const BACKLINK_WITHOUT_LINK : ErrorCode = from_constant; // ERROR_DS_BACKLINK_WITHOUT_LINK
/// Source and destination of a cross-domain move do not agree on the object's epoch number. Either source or destination does not have the latest version of the object.
pub const EPOCH_MISMATCH : ErrorCode = from_constant; // ERROR_DS_EPOCH_MISMATCH
/// Source and destination of a cross-domain move do not agree on the object's current name. Either source or destination does not have the latest version of the object.
pub const SRC_NAME_MISMATCH : ErrorCode = from_constant; // ERROR_DS_SRC_NAME_MISMATCH
/// Source and destination for the cross-domain move operation are identical. Caller should use local move operation instead of cross-domain move operation.
pub const SRC_AND_DST_NC_IDENTICAL : ErrorCode = from_constant; // ERROR_DS_SRC_AND_DST_NC_IDENTICAL
/// Source and destination for a cross-domain move are not in agreement on the naming contexts in the forest. Either source or destination does not have the latest version of the Partitions container.
pub const DST_NC_MISMATCH : ErrorCode = from_constant; // ERROR_DS_DST_NC_MISMATCH
/// Destination of a cross-domain move is not authoritative for the destination naming context.
pub const NOT_AUTHORITIVE_FOR_DST_NC : ErrorCode = from_constant; // ERROR_DS_NOT_AUTHORITIVE_FOR_DST_NC
/// Source and destination of a cross-domain move do not agree on the identity of the source object. Either source or destination does not have the latest version of the source object.
pub const SRC_GUID_MISMATCH : ErrorCode = from_constant; // ERROR_DS_SRC_GUID_MISMATCH
/// Object being moved across-domains is already known to be deleted by the destination server. The source server does not have the latest version of the source object.
pub const CANT_MOVE_DELETED_OBJECT : ErrorCode = from_constant; // ERROR_DS_CANT_MOVE_DELETED_OBJECT
/// Another operation which requires exclusive access to the PDC FSMO is already in progress.
pub const PDC_OPERATION_IN_PROGRESS : ErrorCode = from_constant; // ERROR_DS_PDC_OPERATION_IN_PROGRESS
/// A cross-domain move operation failed such that two versions of the moved object exist - one each in the source and destination domains. The destination object needs to be removed to restore the system to a consistent state.
pub const CROSS_DOMAIN_CLEANUP_REQD : ErrorCode = from_constant; // ERROR_DS_CROSS_DOMAIN_CLEANUP_REQD
/// This object may not be moved across domain boundaries either because cross-domain moves for this class are disallowed, or the object has some special characteristics, e.g.: trust account or restricted RID, which prevent its move.
pub const ILLEGAL_XDOM_MOVE_OPERATION : ErrorCode = from_constant; // ERROR_DS_ILLEGAL_XDOM_MOVE_OPERATION
/// Can't move objects with memberships across domain boundaries as once moved, this would violate the membership conditions of the account group. Remove the object from any account group memberships and retry.
pub const CANT_WITH_ACCT_GROUP_MEMBERSHPS : ErrorCode = from_constant; // ERROR_DS_CANT_WITH_ACCT_GROUP_MEMBERSHPS
/// A naming context head must be the immediate child of another naming context head, not of an interior node.
pub const NC_MUST_HAVE_NC_PARENT : ErrorCode = from_constant; // ERROR_DS_NC_MUST_HAVE_NC_PARENT
/// The directory cannot validate the proposed naming context name because it does not hold a replica of the naming context above the proposed naming context. Please ensure that the domain naming master role is held by a server that is configured as a global catalog server, and that the server is up to date with its replication partners. (Applies only to Windows 2000 Domain Naming masters)
pub const CR_IMPOSSIBLE_TO_VALIDATE : ErrorCode = from_constant; // ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE
/// Destination domain must be in native mode.
pub const DST_DOMAIN_NOT_NATIVE : ErrorCode = from_constant; // ERROR_DS_DST_DOMAIN_NOT_NATIVE
/// The operation cannot be performed because the server does not have an infrastructure container in the domain of interest.
pub const MISSING_INFRASTRUCTURE_CONTAINER : ErrorCode = from_constant; // ERROR_DS_MISSING_INFRASTRUCTURE_CONTAINER
/// Cross-domain move of non-empty account groups is not allowed.
pub const CANT_MOVE_ACCOUNT_GROUP : ErrorCode = from_constant; // ERROR_DS_CANT_MOVE_ACCOUNT_GROUP
/// Cross-domain move of non-empty resource groups is not allowed.
pub const CANT_MOVE_RESOURCE_GROUP : ErrorCode = from_constant; // ERROR_DS_CANT_MOVE_RESOURCE_GROUP
/// The search flags for the attribute are invalid. The ANR bit is valid only on attributes of Unicode or Teletex strings.
pub const INVALID_SEARCH_FLAG : ErrorCode = from_constant; // ERROR_DS_INVALID_SEARCH_FLAG
/// Tree deletions starting at an object which has an NC head as a descendant are not allowed.
pub const NO_TREE_DELETE_ABOVE_NC : ErrorCode = from_constant; // ERROR_DS_NO_TREE_DELETE_ABOVE_NC
/// The directory service failed to lock a tree in preparation for a tree deletion because the tree was in use.
pub const COULDNT_LOCK_TREE_FOR_DELETE : ErrorCode = from_constant; // ERROR_DS_COULDNT_LOCK_TREE_FOR_DELETE
/// The directory service failed to identify the list of objects to delete while attempting a tree deletion.
pub const COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE : ErrorCode = from_constant; // ERROR_DS_COULDNT_IDENTIFY_OBJECTS_FOR_TREE_DELETE
/// Security Accounts Manager initialization failed because of the following error: `%1`.
/// Error Status: `0x%2`. Please shutdown this system and reboot into Directory Services Restore Mode, check the event log for more detailed information.
pub const SAM_INIT_FAILURE : ErrorCode = from_constant; // ERROR_DS_SAM_INIT_FAILURE
/// Only an administrator can modify the membership list of an administrative group.
pub const SENSITIVE_GROUP_VIOLATION : ErrorCode = from_constant; // ERROR_DS_SENSITIVE_GROUP_VIOLATION
/// Cannot change the primary group ID of a domain controller account.
pub const CANT_MOD_PRIMARYGROUPID : ErrorCode = from_constant; // ERROR_DS_CANT_MOD_PRIMARYGROUPID
/// An attempt is made to modify the base schema.
pub const ILLEGAL_BASE_SCHEMA_MOD : ErrorCode = from_constant; // ERROR_DS_ILLEGAL_BASE_SCHEMA_MOD
/// Adding a new mandatory attribute to an existing class, deleting a mandatory attribute from an existing class, or adding an optional attribute to the special class Top that is not a backlink attribute (directly or through inheritance, for example, by adding or deleting an auxiliary class) is not allowed.
pub const NONSAFE_SCHEMA_CHANGE : ErrorCode = from_constant; // ERROR_DS_NONSAFE_SCHEMA_CHANGE
/// Schema update is not allowed on this DC because the DC is not the schema FSMO Role Owner.
pub const SCHEMA_UPDATE_DISALLOWED : ErrorCode = from_constant; // ERROR_DS_SCHEMA_UPDATE_DISALLOWED
/// An object of this class cannot be created under the schema container. You can only create attribute-schema and class-schema objects under the schema container.
pub const CANT_CREATE_UNDER_SCHEMA : ErrorCode = from_constant; // ERROR_DS_CANT_CREATE_UNDER_SCHEMA
/// The replica/child install failed to get the objectVersion attribute on the schema container on the source DC. Either the attribute is missing on the schema container or the credentials supplied do not have permission to read it.
pub const INSTALL_NO_SRC_SCH_VERSION : ErrorCode = from_constant; // ERROR_DS_INSTALL_NO_SRC_SCH_VERSION
/// The replica/child install failed to read the objectVersion attribute in the SCHEMA section of the file schema.ini in the system32 directory.
pub const INSTALL_NO_SCH_VERSION_IN_INIFILE : ErrorCode = from_constant; // ERROR_DS_INSTALL_NO_SCH_VERSION_IN_INIFILE
/// The specified group type is invalid.
pub const INVALID_GROUP_TYPE : ErrorCode = from_constant; // ERROR_DS_INVALID_GROUP_TYPE
/// You cannot nest global groups in a mixed domain if the group is security-enabled.
pub const NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN : ErrorCode = from_constant; // ERROR_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
/// You cannot nest local groups in a mixed domain if the group is security-enabled.
pub const NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN : ErrorCode = from_constant; // ERROR_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
/// A global group cannot have a local group as a member.
pub const GLOBAL_CANT_HAVE_LOCAL_MEMBER : ErrorCode = from_constant; // ERROR_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
/// A global group cannot have a universal group as a member.
pub const GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER : ErrorCode = from_constant; // ERROR_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
/// A universal group cannot have a local group as a member.
pub const UNIVERSAL_CANT_HAVE_LOCAL_MEMBER : ErrorCode = from_constant; // ERROR_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
/// A global group cannot have a cross-domain member.
pub const GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER : ErrorCode = from_constant; // ERROR_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
/// A local group cannot have another cross domain local group as a member.
pub const LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER : ErrorCode = from_constant; // ERROR_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
/// A group with primary members cannot change to a security-disabled group.
pub const HAVE_PRIMARY_MEMBERS : ErrorCode = from_constant; // ERROR_DS_HAVE_PRIMARY_MEMBERS
/// The schema cache load failed to convert the string default SD on a class-schema object.
pub const STRING_SD_CONVERSION_FAILED : ErrorCode = from_constant; // ERROR_DS_STRING_SD_CONVERSION_FAILED
/// Only DSAs configured to be Global Catalog servers should be allowed to hold the Domain Naming Master FSMO role. (Applies only to Windows 2000 servers)
pub const NAMING_MASTER_GC : ErrorCode = from_constant; // ERROR_DS_NAMING_MASTER_GC
/// The DSA operation is unable to proceed because of a DNS lookup failure.
pub const DNS_LOOKUP_FAILURE : ErrorCode = from_constant; // ERROR_DS_DNS_LOOKUP_FAILURE
/// While processing a change to the DNS Host Name for an object, the Service Principal Name values could not be kept in sync.
pub const COULDNT_UPDATE_SPNS : ErrorCode = from_constant; // ERROR_DS_COULDNT_UPDATE_SPNS
/// The Security Descriptor attribute could not be read.
pub const CANT_RETRIEVE_SD : ErrorCode = from_constant; // ERROR_DS_CANT_RETRIEVE_SD
/// The object requested was not found, but an object with that key was found.
pub const KEY_NOT_UNIQUE : ErrorCode = from_constant; // ERROR_DS_KEY_NOT_UNIQUE
/// The syntax of the linked attribute being added is incorrect. Forward links can only have syntax 2.5.5.1, 2.5.5.7, and 2.5.5.14, and backlinks can only have syntax 2.5.5.1
pub const WRONG_LINKED_ATT_SYNTAX : ErrorCode = from_constant; // ERROR_DS_WRONG_LINKED_ATT_SYNTAX
/// Security Account Manager needs to get the boot password.
pub const SAM_NEED_BOOTKEY_PASSWORD : ErrorCode = from_constant; // ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD
/// Security Account Manager needs to get the boot key from floppy disk.
pub const SAM_NEED_BOOTKEY_FLOPPY : ErrorCode = from_constant; // ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
/// Directory Service cannot start.
pub const CANT_START : ErrorCode = from_constant; // ERROR_DS_CANT_START
/// Directory Services could not start.
pub const INIT_FAILURE : ErrorCode = from_constant; // ERROR_DS_INIT_FAILURE
/// The connection between client and server requires packet privacy or better.
pub const NO_PKT_PRIVACY_ON_CONNECTION : ErrorCode = from_constant; // ERROR_DS_NO_PKT_PRIVACY_ON_CONNECTION
/// The source domain may not be in the same forest as destination.
pub const SOURCE_DOMAIN_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_SOURCE_DOMAIN_IN_FOREST
/// The destination domain must be in the forest.
pub const DESTINATION_DOMAIN_NOT_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_DESTINATION_DOMAIN_NOT_IN_FOREST
/// The operation requires that destination domain auditing be enabled.
pub const DESTINATION_AUDITING_NOT_ENABLED : ErrorCode = from_constant; // ERROR_DS_DESTINATION_AUDITING_NOT_ENABLED
/// The operation couldn't locate a DC for the source domain.
pub const CANT_FIND_DC_FOR_SRC_DOMAIN : ErrorCode = from_constant; // ERROR_DS_CANT_FIND_DC_FOR_SRC_DOMAIN
/// The source object must be a group or user.
pub const SRC_OBJ_NOT_GROUP_OR_USER : ErrorCode = from_constant; // ERROR_DS_SRC_OBJ_NOT_GROUP_OR_USER
/// The source object's SID already exists in destination forest.
pub const SRC_SID_EXISTS_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_SRC_SID_EXISTS_IN_FOREST
/// The source and destination object must be of the same type.
pub const SRC_AND_DST_OBJECT_CLASS_MISMATCH : ErrorCode = from_constant; // ERROR_DS_SRC_AND_DST_OBJECT_CLASS_MISMATCH
/// Schema information could not be included in the replication request.
pub const DRA_SCHEMA_INFO_SHIP : ErrorCode = from_constant; // ERROR_DS_DRA_SCHEMA_INFO_SHIP
/// The replication operation could not be completed due to a schema incompatibility.
pub const DRA_SCHEMA_CONFLICT : ErrorCode = from_constant; // ERROR_DS_DRA_SCHEMA_CONFLICT
/// The replication operation could not be completed due to a previous schema incompatibility.
pub const DRA_EARLIER_SCHEMA_CONFLICT : ErrorCode = from_constant; // ERROR_DS_DRA_EARLIER_SCHEMA_CONFLICT
/// The replication update could not be applied because either the source or the destination has not yet received information regarding a recent cross-domain move operation.
pub const DRA_OBJ_NC_MISMATCH : ErrorCode = from_constant; // ERROR_DS_DRA_OBJ_NC_MISMATCH
/// The requested domain could not be deleted because there exist domain controllers that still host this domain.
pub const NC_STILL_HAS_DSAS : ErrorCode = from_constant; // ERROR_DS_NC_STILL_HAS_DSAS
/// The requested operation can be performed only on a global catalog server.
pub const GC_REQUIRED : ErrorCode = from_constant; // ERROR_DS_GC_REQUIRED
/// A local group can only be a member of other local groups in the same domain.
pub const LOCAL_MEMBER_OF_LOCAL_ONLY : ErrorCode = from_constant; // ERROR_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
/// Foreign security principals cannot be members of universal groups.
pub const NO_FPO_IN_UNIVERSAL_GROUPS : ErrorCode = from_constant; // ERROR_DS_NO_FPO_IN_UNIVERSAL_GROUPS
/// The attribute is not allowed to be replicated to the GC because of security reasons.
pub const CANT_ADD_TO_GC : ErrorCode = from_constant; // ERROR_DS_CANT_ADD_TO_GC
/// The checkpoint with the PDC could not be taken because there too many modifications being processed currently.
pub const NO_CHECKPOINT_WITH_PDC : ErrorCode = from_constant; // ERROR_DS_NO_CHECKPOINT_WITH_PDC
/// The operation requires that source domain auditing be enabled.
pub const SOURCE_AUDITING_NOT_ENABLED : ErrorCode = from_constant; // ERROR_DS_SOURCE_AUDITING_NOT_ENABLED
/// Security principal objects can only be created inside domain naming contexts.
pub const CANT_CREATE_IN_NONDOMAIN_NC : ErrorCode = from_constant; // ERROR_DS_CANT_CREATE_IN_NONDOMAIN_NC
/// A Service Principal Name (SPN) could not be constructed because the provided hostname is not in the necessary format.
pub const INVALID_NAME_FOR_SPN : ErrorCode = from_constant; // ERROR_DS_INVALID_NAME_FOR_SPN
/// A Filter was passed that uses constructed attributes.
pub const FILTER_USES_CONTRUCTED_ATTRS : ErrorCode = from_constant; // ERROR_DS_FILTER_USES_CONTRUCTED_ATTRS
/// The unicodePwd attribute value must be enclosed in double quotes.
pub const UNICODEPWD_NOT_IN_QUOTES : ErrorCode = from_constant; // ERROR_DS_UNICODEPWD_NOT_IN_QUOTES
/// Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased.
pub const MACHINE_ACCOUNT_QUOTA_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
/// For security reasons, the operation must be run on the destination DC.
pub const MUST_BE_RUN_ON_DST_DC : ErrorCode = from_constant; // ERROR_DS_MUST_BE_RUN_ON_DST_DC
/// For security reasons, the source DC must be NT4SP4 or greater.
pub const SRC_DC_MUST_BE_SP4_OR_GREATER : ErrorCode = from_constant; // ERROR_DS_SRC_DC_MUST_BE_SP4_OR_GREATER
/// Critical Directory Service System objects cannot be deleted during tree delete operations. The tree delete may have been partially performed.
pub const CANT_TREE_DELETE_CRITICAL_OBJ : ErrorCode = from_constant; // ERROR_DS_CANT_TREE_DELETE_CRITICAL_OBJ
/// Directory Services could not start because of the following error: `%1`.
/// Error Status: `0x%2`. Please click OK to shutdown the system. You can use the recovery console to diagnose the system further.
pub const INIT_FAILURE_CONSOLE : ErrorCode = from_constant; // ERROR_DS_INIT_FAILURE_CONSOLE
/// Security Accounts Manager initialization failed because of the following error: `%1`.
/// Error Status: `0x%2`. Please click OK to shutdown the system. You can use the recovery console to diagnose the system further.
pub const SAM_INIT_FAILURE_CONSOLE : ErrorCode = from_constant; // ERROR_DS_SAM_INIT_FAILURE_CONSOLE
/// The version of the operating system is incompatible with the current AD DS forest functional level or AD LDS Configuration Set functional level. You must upgrade to a new version of the operating system before this server can become an AD DS Domain Controller or add an AD LDS Instance in this AD DS Forest or AD LDS Configuration Set.
pub const FOREST_VERSION_TOO_HIGH : ErrorCode = from_constant; // ERROR_DS_FOREST_VERSION_TOO_HIGH
/// The version of the operating system installed is incompatible with the current domain functional level. You must upgrade to a new version of the operating system before this server can become a domain controller in this domain.
pub const DOMAIN_VERSION_TOO_HIGH : ErrorCode = from_constant; // ERROR_DS_DOMAIN_VERSION_TOO_HIGH
/// The version of the operating system installed on this server no longer supports the current AD DS Forest functional level or AD LDS Configuration Set functional level. You must raise the AD DS Forest functional level or AD LDS Configuration Set functional level before this server can become an AD DS Domain Controller or an AD LDS Instance in this Forest or Configuration Set.
pub const FOREST_VERSION_TOO_LOW : ErrorCode = from_constant; // ERROR_DS_FOREST_VERSION_TOO_LOW
/// The version of the operating system installed on this server no longer supports the current domain functional level. You must raise the domain functional level before this server can become a domain controller in this domain.
pub const DOMAIN_VERSION_TOO_LOW : ErrorCode = from_constant; // ERROR_DS_DOMAIN_VERSION_TOO_LOW
/// The version of the operating system installed on this server is incompatible with the functional level of the domain or forest.
pub const INCOMPATIBLE_VERSION : ErrorCode = from_constant; // ERROR_DS_INCOMPATIBLE_VERSION
/// The functional level of the domain (or forest) cannot be raised to the requested value, because there exist one or more domain controllers in the domain (or forest) that are at a lower incompatible functional level.
pub const LOW_DSA_VERSION : ErrorCode = from_constant; // ERROR_DS_LOW_DSA_VERSION
/// The forest functional level cannot be raised to the requested value since one or more domains are still in mixed domain mode. All domains in the forest must be in native mode, for you to raise the forest functional level.
pub const NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN : ErrorCode = from_constant; // ERROR_DS_NO_BEHAVIOR_VERSION_IN_MIXEDDOMAIN
/// The sort order requested is not supported.
pub const NOT_SUPPORTED_SORT_ORDER : ErrorCode = from_constant; // ERROR_DS_NOT_SUPPORTED_SORT_ORDER
/// The requested name already exists as a unique identifier.
pub const NAME_NOT_UNIQUE : ErrorCode = from_constant; // ERROR_DS_NAME_NOT_UNIQUE
/// The machine account was created pre-NT4. The account needs to be recreated.
pub const MACHINE_ACCOUNT_CREATED_PRENT4 : ErrorCode = from_constant; // ERROR_DS_MACHINE_ACCOUNT_CREATED_PRENT4
/// The database is out of version store.
pub const OUT_OF_VERSION_STORE : ErrorCode = from_constant; // ERROR_DS_OUT_OF_VERSION_STORE
/// Unable to continue operation because multiple conflicting controls were used.
pub const INCOMPATIBLE_CONTROLS_USED : ErrorCode = from_constant; // ERROR_DS_INCOMPATIBLE_CONTROLS_USED
/// Unable to find a valid security descriptor reference domain for this partition.
pub const NO_REF_DOMAIN : ErrorCode = from_constant; // ERROR_DS_NO_REF_DOMAIN
/// Schema update failed: The link identifier is reserved.
pub const RESERVED_LINK_ID : ErrorCode = from_constant; // ERROR_DS_RESERVED_LINK_ID
/// Schema update failed: There are no link identifiers available.
pub const LINK_ID_NOT_AVAILABLE : ErrorCode = from_constant; // ERROR_DS_LINK_ID_NOT_AVAILABLE
/// An account group cannot have a universal group as a member.
pub const AG_CANT_HAVE_UNIVERSAL_MEMBER : ErrorCode = from_constant; // ERROR_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
/// Rename or move operations on naming context heads or read-only objects are not allowed.
pub const MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE : ErrorCode = from_constant; // ERROR_DS_MODIFYDN_DISALLOWED_BY_INSTANCE_TYPE
/// Move operations on objects in the schema naming context are not allowed.
pub const NO_OBJECT_MOVE_IN_SCHEMA_NC : ErrorCode = from_constant; // ERROR_DS_NO_OBJECT_MOVE_IN_SCHEMA_NC
/// A system flag has been set on the object and does not allow the object to be moved or renamed.
pub const MODIFYDN_DISALLOWED_BY_FLAG : ErrorCode = from_constant; // ERROR_DS_MODIFYDN_DISALLOWED_BY_FLAG
/// This object is not allowed to change its grandparent container. Moves are not forbidden on this object, but are restricted to sibling containers.
pub const MODIFYDN_WRONG_GRANDPARENT : ErrorCode = from_constant; // ERROR_DS_MODIFYDN_WRONG_GRANDPARENT
/// Unable to resolve completely, a referral to another forest is generated.
pub const NAME_ERROR_TRUST_REFERRAL : ErrorCode = from_constant; // ERROR_DS_NAME_ERROR_TRUST_REFERRAL
/// Could not access a partition of the directory service located on a remote server. Make sure at least one server is running for the partition in question.
pub const CANT_ACCESS_REMOTE_PART_OF_AD : ErrorCode = from_constant; // ERROR_DS_CANT_ACCESS_REMOTE_PART_OF_AD
/// The directory cannot validate the proposed naming context (or partition) name because it does not hold a replica nor can it contact a replica of the naming context above the proposed naming context. Please ensure that the parent naming context is properly registered in DNS, and at least one replica of this naming context is reachable by the Domain Naming master.
pub const CR_IMPOSSIBLE_TO_VALIDATE_V2 : ErrorCode = from_constant; // ERROR_DS_CR_IMPOSSIBLE_TO_VALIDATE_V2
/// The thread limit for this request was exceeded.
pub const THREAD_LIMIT_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_THREAD_LIMIT_EXCEEDED
/// The Global catalog server is not in the closest site.
pub const NOT_CLOSEST : ErrorCode = from_constant; // ERROR_DS_NOT_CLOSEST
/// The DS cannot derive a service principal name (SPN) with which to mutually authenticate the target server because the corresponding server object in the local DS database has no serverReference attribute.
pub const CANT_DERIVE_SPN_WITHOUT_SERVER_REF : ErrorCode = from_constant; // ERROR_DS_CANT_DERIVE_SPN_WITHOUT_SERVER_REF
/// The Directory Service failed to enter single user mode.
pub const SINGLE_USER_MODE_FAILED : ErrorCode = from_constant; // ERROR_DS_SINGLE_USER_MODE_FAILED
/// The Directory Service cannot parse the script because of a syntax error.
pub const NTDSCRIPT_SYNTAX_ERROR : ErrorCode = from_constant; // ERROR_DS_NTDSCRIPT_SYNTAX_ERROR
/// The Directory Service cannot process the script because of an error.
pub const NTDSCRIPT_PROCESS_ERROR : ErrorCode = from_constant; // ERROR_DS_NTDSCRIPT_PROCESS_ERROR
/// The directory service cannot perform the requested operation because the servers involved are of different replication epochs (which is usually related to a domain rename that is in progress).
pub const DIFFERENT_REPL_EPOCHS : ErrorCode = from_constant; // ERROR_DS_DIFFERENT_REPL_EPOCHS
/// The directory service binding must be renegotiated due to a change in the server extensions information.
pub const DRS_EXTENSIONS_CHANGED : ErrorCode = from_constant; // ERROR_DS_DRS_EXTENSIONS_CHANGED
/// Operation not allowed on a disabled cross ref.
pub const REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR : ErrorCode = from_constant; // ERROR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR
/// Schema update failed: No values for msDS-IntId are available.
pub const NO_MSDS_INTID : ErrorCode = from_constant; // ERROR_DS_NO_MSDS_INTID
/// Schema update failed: Duplicate msDS-INtId. Retry the operation.
pub const DUP_MSDS_INTID : ErrorCode = from_constant; // ERROR_DS_DUP_MSDS_INTID
/// Schema deletion failed: attribute is used in rDNAttID.
pub const EXISTS_IN_RDNATTID : ErrorCode = from_constant; // ERROR_DS_EXISTS_IN_RDNATTID
/// The directory service failed to authorize the request.
pub const AUTHORIZATION_FAILED : ErrorCode = from_constant; // ERROR_DS_AUTHORIZATION_FAILED
/// The Directory Service cannot process the script because it is invalid.
pub const INVALID_SCRIPT : ErrorCode = from_constant; // ERROR_DS_INVALID_SCRIPT
/// The remote create cross reference operation failed on the Domain Naming Master FSMO. The operation's error is in the extended data.
pub const REMOTE_CROSSREF_OP_FAILED : ErrorCode = from_constant; // ERROR_DS_REMOTE_CROSSREF_OP_FAILED
/// A cross reference is in use locally with the same name.
pub const CROSS_REF_BUSY : ErrorCode = from_constant; // ERROR_DS_CROSS_REF_BUSY
/// The DS cannot derive a service principal name (SPN) with which to mutually authenticate the target server because the server's domain has been deleted from the forest.
pub const CANT_DERIVE_SPN_FOR_DELETED_DOMAIN : ErrorCode = from_constant; // ERROR_DS_CANT_DERIVE_SPN_FOR_DELETED_DOMAIN
/// Writeable NCs prevent this DC from demoting.
pub const CANT_DEMOTE_WITH_WRITEABLE_NC : ErrorCode = from_constant; // ERROR_DS_CANT_DEMOTE_WITH_WRITEABLE_NC
/// The requested object has a non-unique identifier and cannot be retrieved.
pub const DUPLICATE_ID_FOUND : ErrorCode = from_constant; // ERROR_DS_DUPLICATE_ID_FOUND
/// Insufficient attributes were given to create an object. This object may not exist because it may have been deleted and already garbage collected.
pub const INSUFFICIENT_ATTR_TO_CREATE_OBJECT : ErrorCode = from_constant; // ERROR_DS_INSUFFICIENT_ATTR_TO_CREATE_OBJECT
/// The group cannot be converted due to attribute restrictions on the requested group type.
pub const GROUP_CONVERSION_ERROR : ErrorCode = from_constant; // ERROR_DS_GROUP_CONVERSION_ERROR
/// Cross-domain move of non-empty basic application groups is not allowed.
pub const CANT_MOVE_APP_BASIC_GROUP : ErrorCode = from_constant; // ERROR_DS_CANT_MOVE_APP_BASIC_GROUP
/// Cross-domain move of non-empty query based application groups is not allowed.
pub const CANT_MOVE_APP_QUERY_GROUP : ErrorCode = from_constant; // ERROR_DS_CANT_MOVE_APP_QUERY_GROUP
/// The FSMO role ownership could not be verified because its directory partition has not replicated successfully with at least one replication partner.
pub const ROLE_NOT_VERIFIED : ErrorCode = from_constant; // ERROR_DS_ROLE_NOT_VERIFIED
/// The target container for a redirection of a well known object container cannot already be a special container.
pub const WKO_CONTAINER_CANNOT_BE_SPECIAL : ErrorCode = from_constant; // ERROR_DS_WKO_CONTAINER_CANNOT_BE_SPECIAL
/// The Directory Service cannot perform the requested operation because a domain rename operation is in progress.
pub const DOMAIN_RENAME_IN_PROGRESS : ErrorCode = from_constant; // ERROR_DS_DOMAIN_RENAME_IN_PROGRESS
/// The directory service detected a child partition below the requested partition name. The partition hierarchy must be created in a top down method.
pub const EXISTING_AD_CHILD_NC : ErrorCode = from_constant; // ERROR_DS_EXISTING_AD_CHILD_NC
/// The directory service cannot replicate with this server because the time since the last replication with this server has exceeded the tombstone lifetime.
pub const REPL_LIFETIME_EXCEEDED : ErrorCode = from_constant; // ERROR_DS_REPL_LIFETIME_EXCEEDED
/// The requested operation is not allowed on an object under the system container.
pub const DISALLOWED_IN_SYSTEM_CONTAINER : ErrorCode = from_constant; // ERROR_DS_DISALLOWED_IN_SYSTEM_CONTAINER
/// The LDAP servers network send queue has filled up because the client is not processing the results of its requests fast enough. No more requests will be processed until the client catches up. If the client does not catch up then it will be disconnected.
pub const LDAP_SEND_QUEUE_FULL : ErrorCode = from_constant; // ERROR_DS_LDAP_SEND_QUEUE_FULL
/// The scheduled replication did not take place because the system was too busy to execute the request within the schedule window. The replication queue is overloaded. Consider reducing the number of partners or decreasing the scheduled replication frequency.
pub const DRA_OUT_SCHEDULE_WINDOW : ErrorCode = from_constant; // ERROR_DS_DRA_OUT_SCHEDULE_WINDOW
/// At this time, it cannot be determined if the branch replication policy is available on the hub domain controller. Please retry at a later time to account for replication latencies.
pub const POLICY_NOT_KNOWN : ErrorCode = from_constant; // ERROR_DS_POLICY_NOT_KNOWN
/// The server object for the domain controller does not exist.
pub const NO_SERVER_OBJECT : ErrorCode = from_constant; // ERROR_DS_NO_SERVER_OBJECT
/// The NTDS Settings object for the domain controller does not exist.
pub const NO_NTDSA_OBJECT : ErrorCode = from_constant; // ERROR_DS_NO_NTDSA_OBJECT
/// The requested search operation is not supported for ASQ searches.
pub const NON_ASQ_SEARCH : ErrorCode = from_constant; // ERROR_DS_NON_ASQ_SEARCH
/// A required audit event could not be generated for the operation.
pub const AUDIT_FAILURE : ErrorCode = from_constant; // ERROR_DS_AUDIT_FAILURE
/// The search flags for the attribute are invalid. The subtree index bit is valid only on single valued attributes.
pub const INVALID_SEARCH_FLAG_SUBTREE : ErrorCode = from_constant; // ERROR_DS_INVALID_SEARCH_FLAG_SUBTREE
/// The search flags for the attribute are invalid. The tuple index bit is valid only on attributes of Unicode strings.
pub const INVALID_SEARCH_FLAG_TUPLE : ErrorCode = from_constant; // ERROR_DS_INVALID_SEARCH_FLAG_TUPLE
/// The address books are nested too deeply. Failed to build the hierarchy table.
pub const HIERARCHY_TABLE_TOO_DEEP : ErrorCode = from_constant; // ERROR_DS_HIERARCHY_TABLE_TOO_DEEP
/// The specified up-to-date-ness vector is corrupt.
pub const DRA_CORRUPT_UTD_VECTOR : ErrorCode = from_constant; // ERROR_DS_DRA_CORRUPT_UTD_VECTOR
/// The request to replicate secrets is denied.
pub const DRA_SECRETS_DENIED : ErrorCode = from_constant; // ERROR_DS_DRA_SECRETS_DENIED
/// Schema update failed: The MAPI identifier is reserved.
pub const RESERVED_MAPI_ID : ErrorCode = from_constant; // ERROR_DS_RESERVED_MAPI_ID
/// Schema update failed: There are no MAPI identifiers available.
pub const MAPI_ID_NOT_AVAILABLE : ErrorCode = from_constant; // ERROR_DS_MAPI_ID_NOT_AVAILABLE
/// The replication operation failed because the required attributes of the local krbtgt object are missing.
pub const DRA_MISSING_KRBTGT_SECRET : ErrorCode = from_constant; // ERROR_DS_DRA_MISSING_KRBTGT_SECRET
/// The domain name of the trusted domain already exists in the forest.
pub const DOMAIN_NAME_EXISTS_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_DOMAIN_NAME_EXISTS_IN_FOREST
/// The flat name of the trusted domain already exists in the forest.
pub const FLAT_NAME_EXISTS_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_FLAT_NAME_EXISTS_IN_FOREST
/// OID mapped groups cannot have members.
pub const OID_MAPPED_GROUP_CANT_HAVE_MEMBERS : ErrorCode = from_constant; // ERROR_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS
/// The specified OID cannot be found.
pub const OID_NOT_FOUND : ErrorCode = from_constant; // ERROR_DS_OID_NOT_FOUND
/// The replication operation failed because the target object referred by a link value is recycled.
pub const DRA_RECYCLED_TARGET : ErrorCode = from_constant; // ERROR_DS_DRA_RECYCLED_TARGET
/// The redirect operation failed because the target object is in a NC different from the domain NC of the current domain controller.
pub const DISALLOWED_NC_REDIRECT : ErrorCode = from_constant; // ERROR_DS_DISALLOWED_NC_REDIRECT
/// The functional level of the AD LDS configuration set cannot be lowered to the requested value.
pub const HIGH_ADLDS_FFL : ErrorCode = from_constant; // ERROR_DS_HIGH_ADLDS_FFL
/// The functional level of the domain (or forest) cannot be lowered to the requested value.
pub const HIGH_DSA_VERSION : ErrorCode = from_constant; // ERROR_DS_HIGH_DSA_VERSION
/// The functional level of the AD LDS configuration set cannot be raised to the requested value, because there exist one or more ADLDS instances that are at a lower incompatible functional level.
pub const LOW_ADLDS_FFL : ErrorCode = from_constant; // ERROR_DS_LOW_ADLDS_FFL
/// The undelete operation failed because the Sam Account Name or Additional Sam Account Name of the object being undeleted conflicts with an existing live object.
pub const UNDELETE_SAM_VALIDATION_FAILED : ErrorCode = from_constant; // ERROR_DS_UNDELETE_SAM_VALIDATION_FAILED
/// The operation failed because SPN value provided for addition/modification is not unique forest-wide.
pub const SPN_VALUE_NOT_UNIQUE_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_SPN_VALUE_NOT_UNIQUE_IN_FOREST
/// The operation failed because UPN value provided for addition/modification is not unique forest-wide.
pub const UPN_VALUE_NOT_UNIQUE_IN_FOREST : ErrorCode = from_constant; // ERROR_DS_UPN_VALUE_NOT_UNIQUE_IN_FOREST
/// The operation failed because the addition/modification referenced an inbound forest-wide trust that is not present.
pub const MISSING_FOREST_TRUST : ErrorCode = from_constant; // ERROR_DS_MISSING_FOREST_TRUST
/// The link value specified was not found, but a link value with that key was found.
pub const VALUE_KEY_NOT_UNIQUE : ErrorCode = from_constant; // ERROR_DS_VALUE_KEY_NOT_UNIQUE
/// The add object operation failed because the caller was not authorized to add one or more attributes included in the request.
pub const PER_ATTRIBUTE_AUTHZ_FAILED_DURING_ADD : ErrorCode = from_constant; // ERROR_DS_PER_ATTRIBUTE_AUTHZ_FAILED_DURING_ADD
/// DS codepoint already exists
pub const MAPPING_EXISTS : ErrorCode = from_constant; // ERROR_DS_MAPPING_EXISTS