--- 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,
}),