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
|
#include "librpc/gen_ndr/ndr_drsuapi.h"
#ifndef __CLI_DRSUAPI__
#define __CLI_DRSUAPI__
NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct GUID *bind_guid /* [in] [unique] */,
struct drsuapi_DsBindInfoCtr *bind_info /* [in,out] [unique] */,
struct policy_handle *bind_handle /* [out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in,out] [ref] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsReplicaSyncRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t *level /* [in,out] [ref] */,
union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(*level)] */,
union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_REPLICA_ADD(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_REPLICA_DEL(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_REPLICA_MODIFY(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
uint32_t level /* [in] */,
union drsuapi_DsGetNT4ChangeLogRequest *req /* [in] [ref,switch_is(level)] */,
uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetNT4ChangeLogInfo *info /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsNameRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsNameCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsWriteAccountSpnRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsWriteAccountSpnResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsRemoveDSServerRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsRemoveDSServerResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsGetDCInfoRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetDCInfoCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsAddEntryRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsAddEntryCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_EXECUTE_KCC(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
enum drsuapi_DsReplicaGetInfoLevel level /* [in] */,
union drsuapi_DsReplicaGetInfoRequest *req /* [in] [ref,switch_is(level)] */,
enum drsuapi_DsReplicaInfoType *info_type /* [out] [ref] */,
union drsuapi_DsReplicaInfo *info /* [out] [ref,switch_is(*info_type)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_DsGetMemberships2Request *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMemberships2Ctr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
WERROR *werror);
NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
int32_t level /* [in] */,
union drsuapi_QuerySitesByCostRequest *req /* [in] [ref,switch_is(level)] */,
int32_t *level_out /* [out] [ref] */,
union drsuapi_QuerySitesByCostCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
#endif /* __CLI_DRSUAPI__ */
|