From f461a72ec3aa990c357b754b5311add4bba48485 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 17 Jan 2010 21:59:56 +1100 Subject: idl: switched to using the WSPP names for the 'neighbour' DRS options The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations. --- source4/torture/libnet/libnet_BecomeDC.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source4/torture/libnet/libnet_BecomeDC.c') diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c index ce6262197d..104a5a2f2d 100644 --- a/source4/torture/libnet/libnet_BecomeDC.c +++ b/source4/torture/libnet/libnet_BecomeDC.c @@ -170,9 +170,9 @@ static NTSTATUS test_apply_schema(struct test_become_dc_state *s, return NT_STATUS_INVALID_PARAMETER; } - s_dsa->replica_flags = DRSUAPI_DS_REPLICA_NEIGHBOUR_WRITEABLE - | DRSUAPI_DS_REPLICA_NEIGHBOUR_SYNC_ON_STARTUP - | DRSUAPI_DS_REPLICA_NEIGHBOUR_DO_SCHEDULED_SYNCS; + s_dsa->replica_flags = DRSUAPI_DRS_WRIT_REP + | DRSUAPI_DRS_INIT_SYNC + | DRSUAPI_DRS_PER_SYNC; memset(s_dsa->schedule, 0x11, sizeof(s_dsa->schedule)); tmp_dns_name = GUID_string(s_dsa->other_info, &s_dsa->source_dsa_obj_guid); @@ -488,9 +488,9 @@ static NTSTATUS test_become_dc_store_chunk(void *private_data, return NT_STATUS_INVALID_PARAMETER; } - s_dsa->replica_flags = DRSUAPI_DS_REPLICA_NEIGHBOUR_WRITEABLE - | DRSUAPI_DS_REPLICA_NEIGHBOUR_SYNC_ON_STARTUP - | DRSUAPI_DS_REPLICA_NEIGHBOUR_DO_SCHEDULED_SYNCS; + s_dsa->replica_flags = DRSUAPI_DRS_WRIT_REP + | DRSUAPI_DRS_INIT_SYNC + | DRSUAPI_DRS_PER_SYNC; memset(s_dsa->schedule, 0x11, sizeof(s_dsa->schedule)); tmp_dns_name = GUID_string(s_dsa->other_info, &s_dsa->source_dsa_obj_guid); -- cgit