Really outdated net-ldap gem fails with Apache DS

The really outdated net-ldap gem fails with Apache DS. See https://community.openproject.org/topics/1013.