summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-14 20:00:32 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-14 20:00:32 +0200
commit18f8f5d6561d50b9179541ea24e03a5a807a2a2a (patch)
tree4759b1bc65e703213178d7ab4ef7c1a80e713161 /source4/param
parenta15b6f1606e1c761c2c4037b734137e97f00489f (diff)
parent68a2c547d00d7a8d0c15744172489d9d010c31a3 (diff)
downloadsamba-18f8f5d6561d50b9179541ea24e03a5a807a2a2a.tar.gz
samba-18f8f5d6561d50b9179541ea24e03a5a807a2a2a.tar.bz2
samba-18f8f5d6561d50b9179541ea24e03a5a807a2a2a.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/provision.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/param/provision.c b/source4/param/provision.c
index 70ef618b6e..0e54acf9e4 100644
--- a/source4/param/provision.c
+++ b/source4/param/provision.c
@@ -76,6 +76,9 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx,
settings->targetdir));
parameters = PyDict_New();
+ PyDict_SetItemString(parameters, "smbconf",
+ PyString_FromString(lp_configfile(lp_ctx)));
+
PyDict_SetItemString(parameters, "rootdn",
PyString_FromString(settings->root_dn_str));
if (settings->targetdir != NULL)
@@ -129,7 +132,6 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx,
result->domaindn = talloc_strdup(mem_ctx, PyString_AsString(PyObject_GetAttrString(py_result, "domaindn")));
/* FIXME paths */
- /* FIXME samdb */
result->lp_ctx = lp_from_py_object(PyObject_GetAttrString(py_result, "lp"));
result->samdb = ldb_context_from_py_object(PyObject_GetAttrString(py_result, "samdb"));