server/sources/ldapuser.py
changeset 1977 606923dff11b
parent 1954 9b20f3504af8
child 2633 bc9386c3b2c9
equal deleted inserted replaced
1976:851e08142873 1977:606923dff11b
     1 """cubicweb ldap user source
     1 """cubicweb ldap user source
     2 
     2 
     3 this source is for now limited to a read-only CWUser source
     3 this source is for now limited to a read-only CWUser source
     4 
     4 
     5 :organization: Logilab
     5 :organization: Logilab
     6 :copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     6 :copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     8 
     8 
     9 
     9 
    10 Part of the code is coming form Zope's LDAPUserFolder
    10 Part of the code is coming form Zope's LDAPUserFolder
    11 
    11 
    16 Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
    16 Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
    17 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
    17 THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
    18 WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    18 WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
    19 WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    19 WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    20 FOR A PARTICULAR PURPOSE.
    20 FOR A PARTICULAR PURPOSE.
       
    21 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
    21 """
    22 """
    22 
    23 
    23 from base64 import b64decode
    24 from base64 import b64decode
    24 
    25 
    25 from logilab.common.textutils import get_csv
    26 from logilab.common.textutils import get_csv