[ldapfeed] make code compatible with ldap3>=2
* Some constants have been renamed.
* Directly bind when data-cnx-dn/data-cnx-password are provided, some servers,
including ours require this.
* Use raise_exceptions=True to avoid ignored ldap errors
* raise in case of failed anonymous bind
* do not search for "dn" attribute because this raise an "invalid attribute"
with new ldap3 versions
* Password is now returned as bytes, so no longer need to encode them before crypt.
* modification_date is now returned as a datetime object
Co-Authored-By: Philippe Pepiot <philippe.pepiot@logilab.fr>
Closes #16073071
.. _dataimport_module:
:mod:`cubicweb.dataimport`
==========================
.. automodule:: cubicweb.dataimport
Utilities
---------
.. autofunction:: count_lines
.. autofunction:: ucsvreader_pb
.. autofunction:: ucsvreader
.. autofunction:: callfunc_every
.. autofunction:: lazytable
.. autofunction:: lazydbtable
.. autofunction:: mk_entity
Sanitizing/coercing functions
-----------------------------
.. autofunction:: optional
.. autofunction:: required
.. autofunction:: todatetime
.. autofunction:: call_transform_method
.. autofunction:: call_check_method
Integrity functions
-------------------
.. autofunction:: check_doubles
.. autofunction:: check_doubles_not_none
Object Stores
-------------
.. autoclass:: ObjectStore
:members:
.. autoclass:: RQLObjectStore
:show-inheritance:
:members:
.. autoclass:: NoHookRQLObjectStore
:show-inheritance:
:members:
.. autoclass:: SQLGenObjectStore
:show-inheritance:
:members:
Import Controller
-----------------
.. autoclass:: CWImportController
:show-inheritance:
:members: