mockldap¶
This project provides a mock replacement for python-ldap (pyldap on Python 3). It’s useful for any project that would like to write unit tests against LDAP code without relying on a running LDAP server.
- Repository: https://bitbucket.org/psagers/mockldap
- Documentation: https://mockldap.readthedocs.io/
- Mailing list: https://groups.google.com/group/django-auth-ldap
- Overview
- Mock Directories
- LDAP Operations
- Change Log
- v0.3.0 - October 15, 2017
- v0.2.6 - September 29, 2015 - pyldap
- v0.2.5 - June 16, 2015 - passwd_s
- v0.2.4 - January 26, 2015 - SSHA fix
- v0.2.3 - October 23, 2014 - Fix for Windows
- v0.2.2 - July 21, 2014 - Password hashing
- v0.2.1 - May 13, 2014 - Fix for rename_s
- v0.2.0 - April 9, 2014 - Experimental Python 3 support
- v0.1.8 - March 31, 2014 - Fixes for modify_s
- v0.1.7 - March 7, 2014 - Filter string parser fix
- v0.1.6 - March 6, 2014 - Add whoami_s
- v0.1.5 - February 19, 2014 - Fix to modify_s
- v0.1.4 - September 20, 2013 - Miscellaneous fixes
- v0.1.3 - September 18, 2013 - Python 2.5 support
- v0.1.2 - September 17, 2013 - Fix simple_bind_s exception
- v0.1.1 - September 8, 2013 - Setup fixes
- v0.1.0 - September 7, 2013 - Initial Release
License¶
Copyright (c) 2013, Peter Sagerson All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.