summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-02 16:43:38 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-02 16:43:38 +0200
commit0686afc5f8bc1c4b01ad359fa82988d63954487e (patch)
treeb8b47a8f365b47a76b04c911ae808061f60b766d /pykolab
parent1d6cd67de1f83ac1db4daf37a3c54684db185edd (diff)
parentc68eb41b30872f6620284b827e3aad680f7aa679 (diff)
downloadpykolab-0686afc5f8bc1c4b01ad359fa82988d63954487e.tar.gz
Merge branch 'master' of ssh://git.kolab.org/git/pykolab
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 84de47d..7c2bcf2 100644
--- a/pykolab/setup/setup_ldap.py
+++ b/pykolab/setup/setup_ldap.py
@@ -101,6 +101,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")
@@ -110,6 +118,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.
#
@@ -179,6 +189,8 @@ def execute(*args, **kw):
""")
)
+ # TODO: Loudly complain if the fqdn does not resolve back to this system.
+
data = """
[General]
FullMachineName = %(fqdn)s