summaryrefslogtreecommitdiff
path: root/python/wscript
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-05-03 09:19:38 +0200
committerAndrew Bartlett <abartlet@samba.org>2017-05-26 11:26:17 +0200
commit330d82c1bc12a6247302ddcdd15c8326753e1436 (patch)
tree5b3c1c52b30779b22e2e2a923fca2b6706ba8c4d /python/wscript
parentacec88dc1fa0f1df04f77c54d175c4d13b919a5f (diff)
downloadsamba-330d82c1bc12a6247302ddcdd15c8326753e1436.tar.gz
python: Create the kdc.conf in the Samba private directory
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python/wscript')
-rw-r--r--python/wscript8
1 files changed, 1 insertions, 7 deletions
diff --git a/python/wscript b/python/wscript
index 687a268412f..623ca44b005 100644
--- a/python/wscript
+++ b/python/wscript
@@ -27,20 +27,14 @@ def configure(conf):
f.write(header)
data = """kdb_modules_dir = "{0}"
-kdc_default_config_dir = "{1}"
"""
if conf.env.HEIMDAL_KRB5_CONFIG:
f.write(data.format("", ""))
else:
modulesdir = "%s/krb5/plugins/kdb" % conf.env.LIBDIR
- paths = [ "/var/kerberos/krb5kdc", "/var/lib/kerberos/krb5kdc" ]
- kdc_path = None
- for p in paths:
- if os.path.exists(p):
- kdc_path = p
- f.write(data.format(modulesdir, kdc_path))
+ f.write(data.format(modulesdir))
finally:
f.close()