This is an announcement that two new repositories have just been added on Gitlab:
This is a project to support real-time monitoring of OpenLDAP's replication. It comes as a Python module using the asyncio library to provide a fully reactive interface. An asyncio wrapper around Michael's python-ldap0 is included for that reason.
A sample terminal application is also provided to showcase what is possible.
https://git.openldap.org/ondra/pldap (in personal namespace for now)
The above mentioned asyncio wrapper is a bit of a break with how traditional python-ldap wrappers are used. This comes out of attempts to use and extend the existing Python LDAP modules to do what I needed them to do and discussions with Michael Ströder, maintainer of python-ldap0, how that might be achieved.
In the end I've drafted a new module that has two goals: - explore a new API that can stay mostly uniform across plain Python and async code, where result and intermediate responses are extracted in a more natural way - move towards run-time wrapping of libldap so that the module is immediately usable in environments without the need to compile a native wrapper
At some point, this code should either be extended to cover the scope that the other two wrappers (python-ldap and python-ldap0) provide or the approach should be adopted in either. It is my understanding that the OpenLDAP project might be interested in adopting either of the modules at some point (subject to that module adopting the OpenLDAP Public License).
In view of the above, I've kept it in my personal namespace for now so as not to give any impression that this the official Python module to use for all things LDAP.
At some point, these (just like the mod-harness module published last year) should be the building blocks for the test suite that I hope to build at some point. As such, there are many smaller tools of general utility bundled in there, especially in the syncmonitor repository.
Should you find them useful, let's turn them into something more complete. Please review and come back with suggestions or, if you feel so inclined, patches.