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