equal
deleted
inserted
replaced
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 """cubicweb ldap user source |
18 """cubicweb ldap user source |
19 |
19 |
20 this source is for now limited to a read-only CWUser source |
20 this source is for now limited to a read-only CWUser source |
21 """ |
21 """ |
22 from __future__ import division |
22 from __future__ import division, with_statement |
23 from base64 import b64decode |
23 from base64 import b64decode |
24 |
24 |
25 import ldap |
25 import ldap |
26 from ldap.filter import escape_filter_chars |
26 from ldap.filter import escape_filter_chars |
27 |
27 |