server/sources/ldapuser.py
branchstable
changeset 5326 0d9054eb3bd1
parent 5153 3684ccae5cdc
child 5328 c51e8f62652a
child 5407 7730796f9506
--- a/server/sources/ldapuser.py	Mon Apr 19 13:37:32 2010 +0200
+++ b/server/sources/ldapuser.py	Mon Apr 19 13:38:46 2010 +0200
@@ -136,15 +136,15 @@
           }),
 
         ('synchronization-interval',
-         {'type' : 'int',
-          'default': 24*60*60,
+         {'type' : 'time',
+          'default': '1d',
           'help': 'interval between synchronization with the ldap \
 directory (default to once a day).',
           'group': 'ldap-source', 'inputlevel': 2,
           }),
         ('cache-life-time',
-         {'type' : 'int',
-          'default': 2*60,
+         {'type' : 'time',
+          'default': '2h',
           'help': 'life time of query cache in minutes (default to two hours).',
           'group': 'ldap-source', 'inputlevel': 2,
           }),