summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-03-22 11:15:16 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2019-03-22 11:21:30 +0100
commit8e00e9f37828d773d3d03facc997d6601ca0f6b9 (patch)
tree9cfa5cab7b63c4069c4a2f4d7202d3519a46e521 /pykolab
parent3d3f9fb383026cbc164231365107fdb184c9db24 (diff)
downloadpykolab-8e00e9f37828d773d3d03facc997d6601ca0f6b9.tar.gz
Allow setup-ds-admin in /usr/sbin
Resolves T4548
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_ldap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index da393c8..41ae549 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -326,8 +326,8 @@ ServerAdminPwd = %(admin_pass)s
if os.path.isfile("/usr/sbin/setup-ds-admin.pl"):
setup_ds_admin = "/usr/sbin/setup-ds-admin.pl"
- #elif os.path.isfile("/usr/sbin/setup-ds-admin"):
- #setup_ds_admin = "/usr/sbin/setup-ds-admin"
+ elif os.path.isfile("/usr/sbin/setup-ds-admin"):
+ setup_ds_admin = "/usr/sbin/setup-ds-admin"
elif os.path.isfile("/usr/sbin/setup-ds.pl"):
setup_ds_admin = "/usr/sbin/setup-ds.pl"
elif os.path.isfile("/usr/sbin/setup-ds"):