Now LDAPConnection search() method accepts LDAPDN and string as a base parameter.