Update README for dependencies and fix a deprecation warning in ldap module.