mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
provision: Add missing string parameter token when assigning ldap_backend.
(This used to be commit 7d26145a7fba22b2e1c7c57053aab3180a22089d)
This commit is contained in:
parent
b023ca3e9d
commit
815c0ef2ed
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user