1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-06 08:59:08 +03:00

s4: Fix missing TLS dir when targetdir is not the default one

This commit is contained in:
Matthieu Patou
2009-11-22 20:51:24 +03:00
committed by Andrew Bartlett
parent 4b8859840b
commit 3ed0cae14b

View File

@ -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="")