Howard Chu wrote:
John Lewis wrote:
What if I wanted to write a OpenLDAP backend for a systemd journal file
or Elasticsearch so I can present my logs as an LDAP subtree so I can
use my LDAP tools to filter my logs? Should I use back-shell for
prototyping? If so, what is the usual work flow?
back-shell might work for rough prototyping. back-sock would be more reasonable these
days.
For prototyping a back-sock listener in Python you could give module slapdsock a try:
https://pypi.python.org/pypi/slapdsock
Personally I use it for OATH-LDAP's bind listeners which seem to work fairly robust on
moderate load. But the release 0.5.2 should also work with all other request types.
If you have a non-trivial deployment the sheer amount of log data can cause some
interesting performance issues.