summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-04 11:48:15 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-04 11:48:54 +0100
commite18c12b6c8951738f685d632a1337e1e11c8a31f (patch)
tree714990ef366b81b6f26a622558b72e51669f93a2 /pykolab
parent47805d9733a97d52f1236d9f5adfc08287ae5c21 (diff)
downloadpykolab-e18c12b6c8951738f685d632a1337e1e11c8a31f.tar.gz
Add a notice on the setup now being executed (#919)
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_ldap.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index fd17d53..7241756 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -230,6 +230,14 @@ ServerAdminPwd = %(admin_pass)s
'--file=%s' % (filename)
]
+ print >> sys.stderr, utils.multiline_message(
+ _("""
+ Setup is now going to set up the 389 Directory Server. This
+ may take a little while (during which period there is no
+ output and no progress indication).
+ """)
+ )
+
log.info(_("Setting up 389 Directory Server"))
setup_389 = subprocess.Popen(
@@ -240,6 +248,8 @@ ServerAdminPwd = %(admin_pass)s
(stdoutdata, stderrdata) = setup_389.communicate()
+ # TODO: Get the return code and display output if not successful.
+
log.debug(_("Setup DS stdout:"), level=8)
log.debug(stdoutdata, level=8)