server/sources/ldapuser.py
changeset 5328 c51e8f62652a
parent 5323 329b4f6d18b4
parent 5326 0d9054eb3bd1
child 5408 120db445c179
--- a/server/sources/ldapuser.py	Mon Apr 19 13:51:16 2010 +0200
+++ b/server/sources/ldapuser.py	Mon Apr 19 13:52:55 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', 'level': 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', 'level': 2,
           }),