diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-08-02 23:57:03 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-08-02 23:57:03 +0200 |
commit | 9d20b49533afad2488078e96e89b686a8b516063 (patch) | |
tree | 768bc6c74d700694f425bc5a9fdc7f420b3f2e64 | |
parent | 0686afc5f8bc1c4b01ad359fa82988d63954487e (diff) | |
download | pykolab-9d20b49533afad2488078e96e89b686a8b516063.tar.gz |
Add size, time and lookthrough limits, and idle timeout for the service account by default
-rw-r--r-- | pykolab/setup/setup_ldap.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pykolab/setup/setup_ldap.py b/pykolab/setup/setup_ldap.py index 7c2bcf2..fd17d53 100644 --- a/pykolab/setup/setup_ldap.py +++ b/pykolab/setup/setup_ldap.py @@ -367,10 +367,10 @@ ServerAdminPwd = %(admin_pass)s attrs['surname'] = "Service" attrs['cn'] = "Kolab Service" attrs['userPassword'] = _input['kolab_service_pass'] - attrs['nslookthroughlimit'] = -1 - attrs['nssizelimit'] = -1 - attrs['nstimelimit'] = -1 - attrs['nsidletimeout'] = -1 + attrs['nslookthroughlimit'] = '-1' + attrs['nssizelimit'] = '-1' + attrs['nstimelimit'] = '-1' + attrs['nsidletimeout'] = '-1' # Convert our dict to nice syntax for the add-function using modlist-module ldif = ldap.modlist.addModlist(attrs) |