by Howard Miller.
Doubt it's a Moodle issue.
Install 'ldapsearch' on your server and make sure you can access the LDAP server using that before you do anything else. Ldapsearch tends to give more helpful error messages too.