4 uuid(e3514235
-4b06
-11d1
-ab04
-00c04fc2dcd2
),
6 endpoints
(lsass
,protected_storage
,TCP
-0),
7 helpstring("Active Directory Replication"),
8 pointer_default(unique)
15 typedef [flag
(NDR_PAHEX
)] struct {
16 [range(1,10000)] uint32 length
;
17 [size_is(length
)] uint8 data
[];
20 NTSTATUS drsuapi_DsBind
(
21 [in] GUID
*server_guid
,
22 [in,out] drsuapi_BindInfo
*bind_info
,
23 [out,ref] policy_handle
*bind_handle
28 NTSTATUS drsuapi_DsUnbind
(
29 [in,out,ref] policy_handle
*bind_handle
34 NTSTATUS DRSUAPI_REPLICA_SYNC
();
38 NTSTATUS DRSUAPI_GET_NC_CHANGES
();
42 NTSTATUS DRSUAPI_UPDATE_REFS
();
46 NTSTATUS DRSUAPI_REPLICA_ADD
();
50 NTSTATUS DRSUAPI_REPLICA_DEL
();
54 NTSTATUS DRSUAPI_REPLICA_MODIFY
();
58 NTSTATUS DRSUAPI_VERIFY_NAMES
();
62 NTSTATUS DRSUAPI_GET_MEMBERSHIPS
();
66 NTSTATUS DRSUAPI_INTER_DOMAIN_MOVE
();
70 NTSTATUS DRSUAPI_GET_NT4_CHANGELOG
();
75 DRSUAPI_DS_NAME_STATUS_OK
= 0,
76 DRSUAPI_DS_NAME_STATUS_RESOLVE_ERROR
= 1,
77 DRSUAPI_DS_NAME_STATUS_NOT_FOUND
= 2,
78 DRSUAPI_DS_NAME_STATUS_NOT_UNIQUE
= 3,
79 DRSUAPI_DS_NAME_STATUS_NO_MAPPING
= 4,
80 DRSUAPI_DS_NAME_STATUS_DOMAIN_ONLY
= 5,
81 DRSUAPI_DS_NAME_STATUS_NO_SYNTACTICAL_MAPPING
= 6,
82 DRSUAPI_DS_NAME_STATUS_TRUST_REFERRAL
= 7
83 } drsuapi_DsNameStatus
;
86 DRSUAPI_DS_NAME_FLAG_NO_FLAGS
= 0x0,
87 DRSUAPI_DS_NAME_FLAG_SYNTACTICAL_ONLY
= 0x1,
88 DRSUAPI_DS_NAME_FLAG_EVAL_AT_DC
= 0x2,
89 DRSUAPI_DS_NAME_FLAG_GCVERIFY
= 0x4,
90 DRSUAPI_DS_NAME_FLAG_TRUST_REFERRAL
= 0x8
91 } drsuapi_DsNameFlags
;
94 DRSUAPI_DS_NAME_FORMAT_UKNOWN
= 0,
95 DRSUAPI_DS_NAME_FORMAT_FQDN_1779
= 1,
96 DRSUAPI_DS_NAME_FORMAT_NT4_ACCOUNT
= 2,
97 DRSUAPI_DS_NAME_FORMAT_DISPLAY
= 3,
98 DRSUAPI_DS_NAME_FORMAT_GUID
= 6,
99 DRSUAPI_DS_NAME_FORMAT_CANONICAL
= 7,
100 DRSUAPI_DS_NAME_FORMAT_USER_PRINCIPAL
= 8,
101 DRSUAPI_DS_NAME_FORMAT_CANONICAL_EX
= 9,
102 DRSUAPI_DS_NAME_FORMAT_SERVICE_PRINCIPAL
= 10,
103 DRSUAPI_DS_NAME_FORMAT_SID_OR_SID_HISTORY
= 11,
104 DRSUAPI_DS_NAME_FORMAT_DNS_DOMAIN
= 12
105 } drsuapi_DsNameFormat
;
109 } drsuapi_DsNameString
;
112 uint32 unknown1
; /* 0x000004e4 */
113 uint32 unknown2
; /* 0x00000407 */
115 uint32 format_offered
;
116 uint32 format_desired
;
117 [range(1,10000)] uint32 count
;
118 [size_is(count
)] drsuapi_DsNameString
*names
;
119 } drsuapi_DsNameRequest1
;
122 [case(1)] drsuapi_DsNameRequest1 req1
;
123 } drsuapi_DsNameRequest
;
127 unistr
*dns_domain_name
;
129 } drsuapi_DsNameInfo1
;
133 [size_is(count
)] drsuapi_DsNameInfo1
*array
;
134 } drsuapi_DsNameCtr1
;
137 [case(1)] drsuapi_DsNameCtr1
*ctr1
;
140 NTSTATUS drsuapi_DsCrackNames
(
141 [in,ref] policy_handle
*bind_handle
,
142 [in, out] uint32 level
,
143 [in,switch_is(level
)] drsuapi_DsNameRequest req
,
144 [out,switch_is(level
)] drsuapi_DsNameCtr ctr
149 NTSTATUS DRSUAPI_WRITE_SPN
();
153 NTSTATUS DRSUAPI_REMOVE_DS_SERVER
();
157 NTSTATUS DRSUAPI_REMOVE_DS_DOMAIN
();
161 NTSTATUS DRSUAPI_DOMAIN_CONTROLLER_INFO
();
165 NTSTATUS DRSUAPI_ADD_ENTRY
();
169 NTSTATUS DRSUAPI_EXECUTE_KCC
();
173 NTSTATUS DRSUAPI_GET_REPL_INFO
();
177 NTSTATUS DRSUAPI_ADD_SID_HISTORY
();
181 NTSTATUS DRSUAPI_GET_MEMBERSHIPS2
();
185 NTSTATUS DRSUAPI_REPLICA_VERIFY_OBJECTS
();
189 NTSTATUS DRSUAPI_GET_OBJECT_EXISTENCE
();
193 NTSTATUS DRSUAPI_QUERY_SITES_BY_COST
();