summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-21 19:58:18 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-22 01:31:57 +0200
commitb5c2747cad0f9bbb69cceb4b90aab20546a5cf66 (patch)
treec6953eb718b87361d71358d178787aa7cdd91f0b /source4/param
parentc4b9c3aba8a448812d401fc28ad65ac818af5b04 (diff)
downloadsamba-b5c2747cad0f9bbb69cceb4b90aab20546a5cf66.tar.gz
samba-b5c2747cad0f9bbb69cceb4b90aab20546a5cf66.tar.bz2
samba-b5c2747cad0f9bbb69cceb4b90aab20546a5cf66.zip
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
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 766babead4..298e1c3bfa 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 fc0287831c..2f6f582e5d 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 ? */