FYI I just merged two PRs into the upstream Go LDAP library: https://github.com/nmcclain/ldap I will close this issue in a couple of days.