add support for LDAPv2