diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-11-17 13:47:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:56 -0500 |
commit | 0f569bd58cc0834dcf206a1193ea6944f6c31035 (patch) | |
tree | 5909d74459f5051dd99034af8189ff9edca42c70 | |
parent | 5ad5c6cc70df2006f694b56c4086af10860b4676 (diff) | |
download | samba-0f569bd58cc0834dcf206a1193ea6944f6c31035.tar.gz samba-0f569bd58cc0834dcf206a1193ea6944f6c31035.tar.bz2 samba-0f569bd58cc0834dcf206a1193ea6944f6c31035.zip |
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)
-rw-r--r-- | source4/torture/rpc/samsync.c | 16 |
1 files changed, 8 insertions, 8 deletions
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)); |