server/sources/ldapuser.py
changeset 5328 c51e8f62652a
parent 5323 329b4f6d18b4
parent 5326 0d9054eb3bd1
child 5408 120db445c179
equal deleted inserted replaced
5327:34a298eca917 5328:c51e8f62652a
   134           'help': 'map from ldap user attributes to cubicweb attributes',
   134           'help': 'map from ldap user attributes to cubicweb attributes',
   135           'group': 'ldap-source', 'level': 1,
   135           'group': 'ldap-source', 'level': 1,
   136           }),
   136           }),
   137 
   137 
   138         ('synchronization-interval',
   138         ('synchronization-interval',
   139          {'type' : 'int',
   139          {'type' : 'time',
   140           'default': 24*60*60,
   140           'default': '1d',
   141           'help': 'interval between synchronization with the ldap \
   141           'help': 'interval between synchronization with the ldap \
   142 directory (default to once a day).',
   142 directory (default to once a day).',
   143           'group': 'ldap-source', 'level': 2,
   143           'group': 'ldap-source', 'level': 2,
   144           }),
   144           }),
   145         ('cache-life-time',
   145         ('cache-life-time',
   146          {'type' : 'int',
   146          {'type' : 'time',
   147           'default': 2*60,
   147           'default': '2h',
   148           'help': 'life time of query cache in minutes (default to two hours).',
   148           'help': 'life time of query cache in minutes (default to two hours).',
   149           'group': 'ldap-source', 'level': 2,
   149           'group': 'ldap-source', 'level': 2,
   150           }),
   150           }),
   151 
   151 
   152     )
   152     )