make sure that the ldap file is not present when ldap auth not used