summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_ldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/setup/setup_ldap.py')
-rw-r--r--pykolab/setup/setup_ldap.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index c173be4..2960c49 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -223,14 +223,12 @@ ServerAdminPwd = %(admin_pass)s
os.close(fp)
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"
+ setup_ds_admin = "/usr/sbin/setup-ds-admin.pl"
elif os.path.isfile("/usr/sbin/setup-ds"):
- setup_ds_admin = "/usr/sbin/setup-ds"
+ setup_ds_admin = "/usr/sbin/setup-ds"
else:
- log.error(_("No directory server setup tool available."))
-
+ log.error(_("No directory server setup tool available."))
+
command = [
setup_ds_admin,
'--debug',