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.
Merge branch 'release/4.0' of github.com:MichaelHierweck/openproject into release/4.0