From 3ed0cae14bdf88387abc016d678127d477d760b7 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Sun, 22 Nov 2009 20:51:24 +0300 Subject: s4: Fix missing TLS dir when targetdir is not the default one --- source4/scripting/python/samba/provision.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index 01ffc16a24..242951def3 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1130,6 +1130,8 @@ def provision(setup_dir, message, session_info, if not os.path.exists(paths.private_dir): os.mkdir(paths.private_dir) + if not os.path.exists(os.path.join(paths.private_dir,"tls")): + os.mkdir(os.path.join(paths.private_dir,"tls")) ldapi_url = "ldapi://%s" % urllib.quote(paths.s4_ldapi_path, safe="") -- cgit