Mockldap

Latest version: v0.3.0.post1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.2.1

----------------------------------------

- Raise ldap.ALREADY_EXISTS when renaming an object and the target already
exists.


v0.2.0 - April 9, 2014 - Experimental Python 3 support
------------------------------------------------------

- mockldap now provides experimental Python 3 support. Python 2.5 was dropped.

To sum up, mockldap works with Python 2.6, 2.7, 3.3 and 3.4.

Since python-ldap still isn't making progress toward Python 3, if you're
using Python 3, you need to install a fork::

$ pip install git+https://github.com/rbarrois/python-ldap.gitpy3

Thanks to `Aymeric Augustin <https://myks.org/en/>`_ for making this happen.

0.1.8

--------------------------------------------

- A previous fix to modify_s was erroneous. `section 4.6`_ of RFC 4511 states
that modify operations will create new attributes and delete empty ones as
necessary.

.. _section 4.6: http://tools.ietf.org/html/rfc4511section-4.6

.. warning::

mockldap wil no longer raise `ldap.UNDEFINED_TYPE`. mockldap has no schema
support, so it assumes that all attributes are valid.

0.1.7

-------------------------------------------------

- Filter strings with '&', '|', and '!' in the assertion values should now be
parsed correctly.

0.1.6

-------------------------------------

- Add whoami_s() method.

0.1.5

--------------------------------------------

- MOD_DELETE should not remove the key from the directory. Thanks to
https://bitbucket.org/jlec.

0.1.4

-------------------------------------------------

- Raise :exc:`~ldap.INVALID_DN_SYNTAX` for invalid DNs.

- Raise :exc:`~ldap.FILTER_ERROR` on filter string parse errors.

- Include the full method call signature in :exc:`~mockldap.SeedRequired`
exceptions.


v0.1.3 - September 18, 2013 - Python 2.5 support
------------------------------------------------

- mockldap is now compatible with Python 2.5.

Since python-ldap doesn't seem to be making progress toward Python 3, there's
no need to drop Python 2.5 support here yet.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.