From 44866f0df44dbcfd9b19eee560db77e966b92005 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Oct 2009 18:31:21 +1100 Subject: idl: added WSPP DrsOptions bit names This should make it much easier to work through the logic in MS-DRSR --- librpc/gen_ndr/drsuapi.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'librpc/gen_ndr/drsuapi.h') diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h index 52b6ee9ac2..0a03004f94 100644 --- a/librpc/gen_ndr/drsuapi.h +++ b/librpc/gen_ndr/drsuapi.h @@ -15,6 +15,38 @@ #define DRSUAPI_DS_BIND_GUID_W2K3 ( "6afab99c-6e26-464a-975f-f58f105218bc" ) #define DRSUAPI_DS_MEMBERSHIP_FLAG_GROUP_ATTR ( 0x1 ) #define DRSUAPI_NTDSDSA_KRB5_SERVICE_GUID ( "E3514235-4B06-11D1-AB04-00C04FC2DCD2" ) +/* bitmap drsuapi_DrsOptions */ +#define DRSUAPI_DRS_ASYNC_OP ( 0x00000001 ) +#define DRSUAPI_DRS_GETCHG_CHECK ( 0x00000002 ) +#define DRSUAPI_DRS_ADD_REF ( 0x00000004 ) +#define DRSUAPI_DRS_SYNC_ALL ( 0x00000008 ) +#define DRSUAPI_DRS_DEL_REF ( 0x00000008 ) +#define DRSUAPI_DRS_WRIT_REP ( 0x00000010 ) +#define DRSUAPI_DRS_INIT_SYNC ( 0x00000020 ) +#define DRSUAPI_DRS_PER_SYNC ( 0x00000040 ) +#define DRSUAPI_DRS_MAIL_REP ( 0x00000080 ) +#define DRSUAPI_DRS_ASYNC_REP ( 0x00000100 ) +#define DRSUAPI_DRS_IGNORE_ERROR ( 0x00000100 ) +#define DRSUAPI_DRS_TWOWAY_SYNC ( 0x00000200 ) +#define DRSUAPI_DRS_CRITICAL_ONLY ( 0x00000400 ) +#define DRSUAPI_DRS_GET_ANC ( 0x00000800 ) +#define DRSUAPI_DRS_GET_NC_SIZE ( 0x00001000 ) +#define DRSUAPI_DRS_LOCAL_ONLY ( 0x00001000 ) +#define DRSUAPI_DRS_SYNC_BYNAME ( 0x00004000 ) +#define DRSUAPI_DRS_REF_OK ( 0x00004000 ) +#define DRSUAPI_DRS_FULL_SYNC_NOW ( 0x00008000 ) +#define DRSUAPI_DRS_NO_SOURCE ( 0x00008000 ) +#define DRSUAPI_DRS_FULL_SYNC_PACKET ( 0x00020000 ) +#define DRSUAPI_DRS_REF_GCSPN ( 0x00100000 ) +#define DRSUAPI_DRS_SPECIAL_SECRET_PROCESSING ( 0x00800000 ) +#define DRSUAPI_DRS_SYNC_FORCED ( 0x02000000 ) +#define DRSUAPI_DRS_DISABLE_AUTO_SYNC ( 0x04000000 ) +#define DRSUAPI_DRS_DISABLE_PERIODIC_SYNC ( 0x08000000 ) +#define DRSUAPI_DRS_USE_COMPRESSION ( 0x10000000 ) +#define DRSUAPI_DRS_NEVER_NOTIFY ( 0x20000000 ) +#define DRSUAPI_DRS_SYNC_PAS ( 0x40000000 ) +#define DRSUAPI_DRS_GET_ALL_GROUP_MEMBERSHIP ( 0x80000000 ) + /* bitmap drsuapi_SupportedExtensions */ #define DRSUAPI_SUPPORTED_EXTENSION_BASE ( 0x00000001 ) #define DRSUAPI_SUPPORTED_EXTENSION_ASYNC_REPLICATION ( 0x00000002 ) -- cgit From cb71e8a73105f7dbeff42738b9c32194ed9a4023 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 2 Oct 2009 18:30:14 +0300 Subject: s4/drs(idl): Regenerate idl --- librpc/gen_ndr/drsuapi.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'librpc/gen_ndr/drsuapi.h') diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h index 0a03004f94..96b0651c4f 100644 --- a/librpc/gen_ndr/drsuapi.h +++ b/librpc/gen_ndr/drsuapi.h @@ -293,9 +293,9 @@ struct drsuapi_DsGetNCChangesRequest5 { }; struct drsuapi_DsReplicaOID { - uint32_t __ndr_size;/* [value(ndr_size_drsuapi_DsReplicaOID_oid(oid,0)),range(0,10000)] */ - const char *oid;/* [unique,charset(DOS),size_is(__ndr_size)] */ -}/* [nopush,nopull] */; + uint32_t length;/* [range(0,10000)] */ + uint8_t *binary_oid;/* [unique,size_is(length)] */ +}/* [noprint] */; struct drsuapi_DsReplicaOIDMapping { uint32_t id_prefix; -- cgit