Added missing checks on LDAP connections
Ignore bin/ folder and LDAP credentials file