From b5c2747cad0f9bbb69cceb4b90aab20546a5cf66 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 21 Aug 2012 19:58:18 +1000 Subject: s4-provision: pass use_ntvfs from C wrappers and set to true in tests/vampire None of these cases need the complexity of the s3fs backend. Andrew Bartlett --- source4/param/provision.c | 2 ++ source4/param/provision.h | 1 + 2 files changed, 3 insertions(+) (limited to 'source4/param') diff --git a/source4/param/provision.c b/source4/param/provision.c index 766babead46..298e1c3bfa5 100644 --- a/source4/param/provision.c +++ b/source4/param/provision.c @@ -167,6 +167,8 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, PyDict_SetItemString(parameters, "debuglevel", PyInt_FromLong(DEBUGLEVEL)); + PyDict_SetItemString(parameters, "use_ntvfs", PyInt_FromLong(settings->use_ntvfs)); + py_result = PyEval_CallObjectWithKeywords(provision_fn, NULL, parameters); Py_DECREF(parameters); diff --git a/source4/param/provision.h b/source4/param/provision.h index fc0287831c9..2f6f582e5d5 100644 --- a/source4/param/provision.h +++ b/source4/param/provision.h @@ -35,6 +35,7 @@ struct provision_settings { const char *ntds_dn_str; const char *machine_password; const char *targetdir; + bool use_ntvfs; }; /* FIXME: Rename this to hostconfig ? */ -- cgit