summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-01 10:59:23 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-01 10:59:23 +0100
commitc68eb41b30872f6620284b827e3aad680f7aa679 (patch)
tree784d7f64ea7d211b743adcb890775f48a0b5a798 /pykolab
parent4ff69e9753435b90e8b9eb538dd6fdabcd7282f8 (diff)
downloadpykolab-c68eb41b30872f6620284b827e3aad680f7aa679.tar.gz
Explain what user / group we are expecting to get.
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_ldap.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py
index 43ed653..1e00616 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -93,6 +93,14 @@ def execute(*args, **kw):
confirm=True
)
+ print >> sys.stderr, utils.multiline_message(
+ _("""
+ Please choose the system user and group the service
+ should use to run under. These should be existing,
+ unprivileged, local system POSIX accounts with no shell.
+ """)
+ )
+
_input['userid'] = utils.ask_question(_("User"), default="nobody")
_input['group'] = utils.ask_question(_("Group"), default="nobody")
@@ -102,6 +110,8 @@ def execute(*args, **kw):
_input['userid'] = "nobody"
_input['group'] = "nobody"
+ # TODO: Verify the user and group exist.
+
# TODO: This takes the system fqdn, domainname and hostname, rather then
# the desired fqdn, domainname and hostname.
#
@@ -171,6 +181,8 @@ def execute(*args, **kw):
""")
)
+ # TODO: Loudly complain if the fqdn does not resolve back to this system.
+
data = """
[General]
FullMachineName = %(fqdn)s