Return from LDAPConnect method if one of the required parameters is missing