Added ldap connection checking

Make sure you install the relevant ldap packages first (openldap-clients for centos7) Resolves #44