From 0f569bd58cc0834dcf206a1193ea6944f6c31035 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 17 Nov 2004 13:47:01 +0000 Subject: r3808: Put these in the same order as the IDL, to make it easier to spot what's unimplemetned (tests of the group members) Andrew Bartlett (This used to be commit 3b81305e2b7ee3e6acabcd8b0e9ed121d4b08840) --- source4/torture/rpc/samsync.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source4/torture/rpc/samsync.c') diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 777e5f36eb..4efb5044dd 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -765,18 +765,22 @@ static BOOL test_DatabaseSync(struct samsync_state *samsync_state, ret &= samsync_handle_domain(mem_ctx, samsync_state, r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); break; - case NETR_DELTA_USER: - ret &= samsync_handle_user(mem_ctx, samsync_state, - r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); - break; case NETR_DELTA_GROUP: ret &= samsync_handle_group(mem_ctx, samsync_state, r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); break; + case NETR_DELTA_USER: + ret &= samsync_handle_user(mem_ctx, samsync_state, + r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); + break; case NETR_DELTA_ALIAS: ret &= samsync_handle_alias(mem_ctx, samsync_state, r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); break; + case NETR_DELTA_POLICY: + ret &= samsync_handle_policy(mem_ctx, samsync_state, + r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); + break; case NETR_DELTA_TRUSTED_DOMAIN: ret &= samsync_handle_trusted_domain(mem_ctx, samsync_state, r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); @@ -785,10 +789,6 @@ static BOOL test_DatabaseSync(struct samsync_state *samsync_state, ret &= samsync_handle_secret(mem_ctx, samsync_state, r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); break; - case NETR_DELTA_POLICY: - ret &= samsync_handle_policy(mem_ctx, samsync_state, - r.in.database_id, &r.out.delta_enum_array->delta_enum[d]); - break; } } } while (NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)); -- cgit