A bit of background:

- In order to make keystone py3 compatible, we have to make our LDAP code compatible
- We use two libraries for our LDAP code: python-ldap and ldappool, both are not actively maintained
- python-ldap has a py3 port called pyldap. Great!
- ldappool does not have a py3 port.

With all that said, ldappool is only a few hundred lines of code. Can we pull it in-tree?

It looks like ldappool is MPL licensed:
  Version: MPL 1.1/GPL 2.0/LGPL 2.1

Exact license for ldappool is here: https://github.com/mozilla-services/ldappool/blob/master/ldappool/__init__.py#L1-L35 

We have a patch that pulls it in tree up for review (with a few changes to make it py3 friendly): https://review.openstack.org/#/c/311827/3/keystone/common/ldap/ldappool.py


stevemar