Get rid of google bot errors. Added options for ldap