diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-21 19:58:18 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-22 01:31:57 +0200 |
commit | b5c2747cad0f9bbb69cceb4b90aab20546a5cf66 (patch) | |
tree | c6953eb718b87361d71358d178787aa7cdd91f0b /source4/param | |
parent | c4b9c3aba8a448812d401fc28ad65ac818af5b04 (diff) | |
download | samba-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.c | 2 | ||||
-rw-r--r-- | source4/param/provision.h | 1 |
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 ? */ |