mirror of
https://github.com/samba-team/samba.git
synced 2025-10-25 19:33:18 +03:00
now do these two calls successfully against w2k3. note that you must use ncacn_ip_tcp, and must enable dcerpc sealing, otherwise w2k3 refuses the first DRSUAPI call.
125 lines
2.5 KiB
Plaintext
125 lines
2.5 KiB
Plaintext
#include "idl_types.h"
|
|
|
|
[
|
|
uuid(e3514235-4b06-11d1-ab04-00c04fc2dcd2),
|
|
version(4.0),
|
|
endpoints(lsass,protected_storage,TCP-0),
|
|
helpstring("Active Directory Replication"),
|
|
pointer_default(unique)
|
|
]
|
|
interface drsuapi
|
|
{
|
|
/*****************/
|
|
/* Function 0x00 */
|
|
|
|
typedef [flag(NDR_PAHEX)] struct {
|
|
uint32 length;
|
|
[size_is(length)] uint8 data[];
|
|
} drsuapi_BindInfo;
|
|
|
|
NTSTATUS drsuapi_Bind(
|
|
[in] GUID *server_guid,
|
|
[in] uint32 unknown,
|
|
[out] drsuapi_BindInfo *info,
|
|
[out,ref] policy_handle *handle
|
|
);
|
|
|
|
/*****************/
|
|
/* Function 0x01 */
|
|
NTSTATUS drsuapi_Unbind(
|
|
[in,out,ref] policy_handle *handle
|
|
);
|
|
|
|
/*****************/
|
|
/* Function 0x02 */
|
|
void DRSUAPI_REPLICA_SYNC();
|
|
|
|
/*****************/
|
|
/* Function 0x03 */
|
|
void DRSUAPI_GET_NC_CHANGES();
|
|
|
|
/*****************/
|
|
/* Function 0x04 */
|
|
void DRSUAPI_UPDATE_REFS();
|
|
|
|
/*****************/
|
|
/* Function 0x05 */
|
|
void DRSUAPI_REPLICA_ADD();
|
|
|
|
/*****************/
|
|
/* Function 0x06 */
|
|
void DRSUAPI_REPLICA_DEL();
|
|
|
|
/*****************/
|
|
/* Function 0x07 */
|
|
void DRSUAPI_REPLICA_MODIFY();
|
|
|
|
/*****************/
|
|
/* Function 0x08 */
|
|
void DRSUAPI_VERIFY_NAMES();
|
|
|
|
/*****************/
|
|
/* Function 0x09 */
|
|
void DRSUAPI_GET_MEMBERSHIPS();
|
|
|
|
/*****************/
|
|
/* Function 0x0a */
|
|
void DRSUAPI_INTER_DOMAIN_MOVE();
|
|
|
|
/*****************/
|
|
/* Function 0x0b */
|
|
void DRSUAPI_GET_NT4_CHANGELOG();
|
|
|
|
/*****************/
|
|
/* Function 0x0c */
|
|
void DRSUAPI_CRACKNAMES();
|
|
|
|
/*****************/
|
|
/* Function 0x0d */
|
|
void DRSUAPI_WRITE_SPN();
|
|
|
|
/*****************/
|
|
/* Function 0x0e */
|
|
void DRSUAPI_REMOVE_DS_SERVER();
|
|
|
|
/*****************/
|
|
/* Function 0x0f */
|
|
void DRSUAPI_REMOVE_DS_DOMAIN();
|
|
|
|
/*****************/
|
|
/* Function 0x10 */
|
|
void DRSUAPI_DOMAIN_CONTROLLER_INFO();
|
|
|
|
/*****************/
|
|
/* Function 0x11 */
|
|
void DRSUAPI_ADD_ENTRY();
|
|
|
|
/*****************/
|
|
/* Function 0x12 */
|
|
void DRSUAPI_EXECUTE_KCC();
|
|
|
|
/*****************/
|
|
/* Function 0x13 */
|
|
void DRSUAPI_GET_REPL_INFO();
|
|
|
|
/*****************/
|
|
/* Function 0x14 */
|
|
void DRSUAPI_ADD_SID_HISTORY();
|
|
|
|
/*****************/
|
|
/* Function 0x15 */
|
|
void DRSUAPI_GET_MEMBERSHIPS2();
|
|
|
|
/*****************/
|
|
/* Function 0x16 */
|
|
void DRSUAPI_REPLICA_VERIFY_OBJECTS();
|
|
|
|
/*****************/
|
|
/* Function 0x17 */
|
|
void DRSUAPI_GET_OBJECT_EXISTENCE();
|
|
|
|
/*****************/
|
|
/* Function 0x18 */
|
|
void DRSUAPI_QUERY_SITES_BY_COST();
|
|
}
|