check correct valus for ldap config and fix error message format
Merge pull request #525 from opscode/mp/check-correct-values-for-ldap

check correct values for ldap config and fix error message format