diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-04-04 12:55:45 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-04 12:55:45 +1100 |
commit | 9f96f39ca095a5f450f673e607a72efed504fdad (patch) | |
tree | 9a0639c12354caa2b0787c7284ebd9d9d27d5d2b /source4/torture/util_provision.c | |
parent | c764791100079ed447c07ca6b99d33f9695255c3 (diff) | |
download | samba-9f96f39ca095a5f450f673e607a72efed504fdad.tar.gz samba-9f96f39ca095a5f450f673e607a72efed504fdad.tar.bz2 samba-9f96f39ca095a5f450f673e607a72efed504fdad.zip |
Pass discovered server DN down to provision.
This uses the new 'serverdn' argument added to provision in the
previous commit.
Andrew Bartlett
(This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
Diffstat (limited to 'source4/torture/util_provision.c')
-rw-r--r-- | source4/torture/util_provision.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/util_provision.c b/source4/torture/util_provision.c index cce8e18fdc..3167a37cdf 100644 --- a/source4/torture/util_provision.c +++ b/source4/torture/util_provision.c @@ -105,6 +105,10 @@ NTSTATUS provision_bare(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, PyDict_SetItemString(parameters, "configdn", PyString_FromString(settings->config_dn_str)); + if (settings->server_dn_str) + PyDict_SetItemString(parameters, "serverdn", + PyString_FromString(settings->server_dn_str)); + if (settings->site_name) PyDict_SetItemString(parameters, "sitename", PyString_FromString(settings->site_name)); |