Fix broken LDAP bind; thanks to Marcel Schleusner