pykolab/setup
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Thu Aug 2 18:43:34 CEST 2012
pykolab/setup/setup_ldap.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
New commits:
commit c68eb41b30872f6620284b827e3aad680f7aa679
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed Aug 1 10:59:23 2012 +0100
Explain what user / group we are expecting to get.
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
More information about the commits
mailing list