diff options
author | Matthieu Patou <mat@matws.net> | 2009-11-22 20:51:24 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-24 15:21:56 +1100 |
commit | 3ed0cae14bdf88387abc016d678127d477d760b7 (patch) | |
tree | 243bd21ab7c86abaaa741f350b237c0751a2bfd2 /source4/scripting | |
parent | 4b8859840be2aacc90a2779820e08a09c793df3b (diff) | |
download | samba-3ed0cae14bdf88387abc016d678127d477d760b7.tar.gz samba-3ed0cae14bdf88387abc016d678127d477d760b7.tar.bz2 samba-3ed0cae14bdf88387abc016d678127d477d760b7.zip |
s4: Fix missing TLS dir when targetdir is not the default one
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/provision.py | 2 |
1 files changed, 2 insertions, 0 deletions
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="") |