BER to LDAP conversion