sobjects/ldapparser.py
changeset 8694 d901c36bcfce
parent 8683 d537786e52b8
child 8888 738f97bc3e19
equal deleted inserted replaced
8693:a6ca96ec8693 8694:d901c36bcfce
    18 """cubicweb ldap feed source
    18 """cubicweb ldap feed source
    19 
    19 
    20 unlike ldapuser source, this source is copy based and will import ldap content
    20 unlike ldapuser source, this source is copy based and will import ldap content
    21 (beside passwords for authentication) into the system source.
    21 (beside passwords for authentication) into the system source.
    22 """
    22 """
    23 from __future__ import with_statement
       
    24 
       
    25 from logilab.common.decorators import cached, cachedproperty
    23 from logilab.common.decorators import cached, cachedproperty
    26 from logilab.common.shellutils import generate_password
    24 from logilab.common.shellutils import generate_password
    27 
    25 
    28 from cubicweb import Binary, ConfigurationError
    26 from cubicweb import Binary, ConfigurationError
    29 from cubicweb.server.utils import crypt_password
    27 from cubicweb.server.utils import crypt_password