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.
Line is too long. [156/99]