setup-ds-admin, incorrect path
Open, Needs TriagePublic

Description

On ubuntu 18.x the corret path in order to setup ds-389 with admin support is /usr/sbin/setup-ds-admin, so it needs to add the commented lines:

cat /etc/issue
Ubuntu 18.04.1 LTS \n \l

dpkg -l | grep kolab-
ii kolab-cli 0.8.10-0~kolab2 all Command-line utilities for Kolab
ii kolab-conf 0.8.10-0~kolab2 all Configuration management for Kolab
ii kolab-freebusy 1.1.1-0~kolab1 all Free/Busy for Kolab Groupware
ii kolab-imap 16.0.1-12 all IMAP server for Kolab Groupware server
ii kolab-ldap 16.0.1-12 all LDAP server for Kolab Groupware server
ii kolab-mta 16.0.1-12 all MTA server for Kolab Groupware server
ii kolab-saslauthd 0.8.10-0~kolab2 all SASL Authentication Daemon for Kolab
ii kolab-schema 3.3-0~kolab1 all LDAP schema files for Kolab Groupware
ii kolab-server 0.8.10-0~kolab2 all Kolab Groupware Server
ii kolab-syncroton 2.3.13-0~kolab1 all ActiveSync for Kolab Groupware
ii kolab-webadmin 3.2.12-0~kolab1 all Kolab administration web interface
ii kolab-webclient 16.0.1-12 all Webmail client for Kolab Groupware server
ii kolab-xml 0.8.10-0~kolab2 all Kolab XML format wrapper for pykolab
ii roundcubemail-plugin-kolab-activesync 1:3.4-0~kolab57 all kolab_activesync plugin for Roundcube
ii roundcubemail-plugin-kolab-addressbook 1:3.4-0~kolab57 all kolab_addressbook plugin for Roundcube
ii roundcubemail-plugin-kolab-auth 1:3.4-0~kolab57 all kolab_auth plugin for Roundcube
ii roundcubemail-plugin-kolab-config 1:3.4-0~kolab57 all kolab_config plugin for Roundcube
ii roundcubemail-plugin-kolab-delegation 1:3.4-0~kolab57 all kolab_delegation plugin for Roundcube
ii roundcubemail-plugin-kolab-files 1:3.4-0~kolab57 all kolab_files plugin for Roundcube
ii roundcubemail-plugin-kolab-folders 1:3.4-0~kolab57 all kolab_folders plugin for Roundcube
ii roundcubemail-plugin-kolab-notes 1:3.4-0~kolab57 all kolab_notes plugin for Roundcube
ii roundcubemail-plugin-kolab-tags 1:3.4-0~kolab57 all kolab_tags plugin for Roundcube

ls -al /usr/sbin/setup-ds-admin
-rwxr-xr-x 1 root root 12705 Oct 7 2017 /usr/sbin/setup-ds-admin

Fix:

pykolab/setup/setup_ldap.py

329,330c329,330
< #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"

Details

Ticket Type
Task