summaryrefslogtreecommitdiffstats
path: root/source4/param
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/provision.c2
-rw-r--r--source4/param/provision.h1
2 files changed, 3 insertions, 0 deletions
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 ? */