summaryrefslogtreecommitdiff
path: root/source4/torture/util.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-06 21:55:26 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-06 21:55:26 +1100
commit7e0ef3fd0ef4dba827f331cbe43fa0524be91130 (patch)
treed281875ff8563b9abaf96d39d7938d61c8e53054 /source4/torture/util.h
parent3ced8006a6a58b459fd68e9b02d7673b16b2df95 (diff)
downloadsamba-7e0ef3fd0ef4dba827f331cbe43fa0524be91130.tar.gz
Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
To make Samba4, using the python provision system, pass this test required some major rework. Untested code is broken code, and some of the refactoring for a seperate provision test (which also now passes) broke things. Similarly, the iconv work has compiled, but these codepaths have never been run (NULL pointer de-reference). In working to use a local, rather than global, loadparm context, and to support using a target directory, a few things needed to be reworked, particularly around path handling. Andrew Bartlett (This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
Diffstat (limited to 'source4/torture/util.h')
-rw-r--r--source4/torture/util.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/source4/torture/util.h b/source4/torture/util.h
index c5219a5aaad..477a8281201 100644
--- a/source4/torture/util.h
+++ b/source4/torture/util.h
@@ -29,19 +29,13 @@ struct provision_settings {
const char *schema_dn_str;
const struct GUID *invocation_id;
const char *netbios_name;
+ const char *host_ip;
const char *realm;
const char *domain;
const struct GUID *ntds_guid;
const char *ntds_dn_str;
const char *machine_password;
- const char *samdb_ldb;
- const char *secrets_ldb;
- const char *secrets_keytab;
- const char *schemadn_ldb;
- const char *configdn_ldb;
- const char *domaindn_ldb;
- const char *templates_ldb;
- const char *dns_keytab;
+ const char *targetdir;
};
NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx,