On second thought it might not be LDAP related, i receive similar error even if I define connection parameters in tnsnames. At this point I can't connect to anything at all, it seems. Oracle SQLDeveloper connects just fine using same parameters via LDAP or TNSNAMES, though.
Seems like the error...