Ok so all the previous problems weren't Xerte specific but the fact that ldap wasn't enabled. You should have been warned about that during the setup steps?
Anyway progress! Now it looks like just Xerte settings.
You can try changing the ldap settings via management.php.
Verify that the port and other settings are correct - they clearly aren't at the moment.
Login to management in one browser and use a different browser to refresh and test login after each change. e.g. on an install I look after the port is different, the main filter is objectClass=inetorg...... and the second filter is cn=