summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/pdbtest.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/torture/pdbtest.c b/source3/torture/pdbtest.c
index 7ce9aa8482..65f5188cc0 100644
--- a/source3/torture/pdbtest.c
+++ b/source3/torture/pdbtest.c
@@ -255,6 +255,13 @@ int main(int argc, char **argv)
POPT_TABLEEND
};
+ /* test trustdom calls */
+ struct pdb_trusted_domain *td;
+ struct pdb_trusted_domain *new_td;
+ struct trustAuthInOutBlob taiob;
+ struct AuthenticationInformation aia;
+ enum ndr_err_code ndr_err;
+
load_case_tables();
pc = poptGetContext("pdbtest", argc, (const char **) argv,
@@ -374,13 +381,6 @@ int main(int argc, char **argv)
get_friendly_nt_error_msg(rv));
}
- /* test trustdom calls */
- struct pdb_trusted_domain *td;
- struct pdb_trusted_domain *new_td;
- struct trustAuthInOutBlob taiob;
- struct AuthenticationInformation aia;
- enum ndr_err_code ndr_err;
-
td = talloc_zero(ctx ,struct pdb_trusted_domain);
if (!td) {
fprintf(stderr, "talloc failed\n");