Use python3-ldap for Python 3 (untested).