summaryrefslogtreecommitdiff
path: root/source4/param/provision.c
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/provision.c
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/provision.c')
-rw-r--r--source4/param/provision.c2
1 files changed, 2 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);