diff options
| author | Andreas Schneider <asn@samba.org> | 2017-05-03 09:19:38 +0200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2017-05-26 11:26:17 +0200 |
| commit | 330d82c1bc12a6247302ddcdd15c8326753e1436 (patch) | |
| tree | 5b3c1c52b30779b22e2e2a923fca2b6706ba8c4d /python/wscript | |
| parent | acec88dc1fa0f1df04f77c54d175c4d13b919a5f (diff) | |
| download | samba-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/wscript | 8 |
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() |
