server/sources/ldapuser.py
branchstable
changeset 5326 0d9054eb3bd1
parent 5153 3684ccae5cdc
child 5328 c51e8f62652a
child 5407 7730796f9506
equal deleted inserted replaced
5325:f1c660e1169e 5326:0d9054eb3bd1
   134           'help': 'map from ldap user attributes to cubicweb attributes',
   134           'help': 'map from ldap user attributes to cubicweb attributes',
   135           'group': 'ldap-source', 'inputlevel': 1,
   135           'group': 'ldap-source', 'inputlevel': 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', 'inputlevel': 2,
   143           'group': 'ldap-source', 'inputlevel': 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', 'inputlevel': 2,
   149           'group': 'ldap-source', 'inputlevel': 2,
   150           }),
   150           }),
   151 
   151 
   152     )
   152     )