server/sources/ldapfeed.py
changeset 10011 340d4ef55b6f
parent 9662 f13ae1fea212
child 10612 84468b90e9c1
equal deleted inserted replaced
10010:3dd66bdbfe8e 10011:340d4ef55b6f
   124 You can set multiple groups by separating them by a comma.',
   124 You can set multiple groups by separating them by a comma.',
   125           'group': 'ldap-source', 'level': 1,
   125           'group': 'ldap-source', 'level': 1,
   126           }),
   126           }),
   127         ('user-attrs-map',
   127         ('user-attrs-map',
   128          {'type' : 'named',
   128          {'type' : 'named',
   129           'default': {'uid': 'login', 'gecos': 'email', 'userPassword': 'upassword'},
   129           'default': {'uid': 'login'},
   130           'help': 'map from ldap user attributes to cubicweb attributes (with Active Directory, you want to use sAMAccountName:login,mail:email,givenName:firstname,sn:surname)',
   130           'help': 'map from ldap user attributes to cubicweb attributes (with Active Directory, you want to use sAMAccountName:login,mail:email,givenName:firstname,sn:surname)',
   131           'group': 'ldap-source', 'level': 1,
   131           'group': 'ldap-source', 'level': 1,
   132           }),
   132           }),
   133         ('group-base-dn',
   133         ('group-base-dn',
   134          {'type' : 'string',
   134          {'type' : 'string',