summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@sprocks.gotdns.com>2008-05-23 02:20:35 -0500
committerAndrew Kroeger <andrew@sprocks.gotdns.com>2008-05-28 22:43:25 -0500
commit815c0ef2ed3bafe44c687dffe97b309b00df7a8c (patch)
tree57778d3bddf8b2032d2b6f02cb1cb8e484267824 /source4
parentb023ca3e9da21dda21b8242e02778fb8ff4605eb (diff)
downloadsamba-815c0ef2ed3bafe44c687dffe97b309b00df7a8c.tar.gz
samba-815c0ef2ed3bafe44c687dffe97b309b00df7a8c.tar.bz2
samba-815c0ef2ed3bafe44c687dffe97b309b00df7a8c.zip
provision: Add missing string parameter token when assigning ldap_backend.
(This used to be commit 7d26145a7fba22b2e1c7c57053aab3180a22089d)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 3914fa8376..4a9def8aa9 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -969,7 +969,7 @@ def provision(setup_dir, message, session_info,
if ldap_backend is not None:
if ldap_backend == "ldapi":
# provision-backend will set this path suggested slapd command line / fedorads.inf
- ldap_backend = "ldapi://" % urllib.quote(os.path.join(paths.private_dir, "ldap", "ldapi"), safe="")
+ ldap_backend = "ldapi://%s" % urllib.quote(os.path.join(paths.private_dir, "ldap", "ldapi"), safe="")
# only install a new shares config db if there is none
if not os.path.exists(paths.shareconf):