Whilst `mail` and `name` attributes are used only in the `search` mode, synapse will not start without them in the `simple` mode. https://github.com/matrix-org/matrix-synapse-ldap3/blob/ddb3ec97fc4c35cf0ac57164655c14cbb68df481/ldap_auth_provider.py#L369-L373