zulip/docs
Mateusz Mandera fea4d0b2be ldap: Do a proper search for email in email_belongs_to_ldap.
This fixes a collection of bugs surrounding LDAP configurations A and
C (i.e. LDAP_APPEND_DOMAIN=None) with EmailAuthBackend also enabled.

The core problem was that our desired security model in that setting
of requiring LDAP authentication for accounts managed by LDAP was not
implementable without a way to

Now admins can configure an LDAPSearch query that will find if there
are users in LDAP that have the email address and
email_belongs_to_ldap() will take advantage of that - no longer
returning True in response to all requests and thus blocking email
backend authentication.

In the documentation, we describe this as mandatory configuration for
users (and likely will make it so soon in the code) because the
failure modes for this not being configured are confusing.

But making that change is pending work to improve the relevant error
messages.

Fixes #11715.
2019-10-22 15:53:39 -07:00
..
_static install docs: Tighten "create organization" step. 2018-03-06 19:43:02 -08:00
_templates docs: Fix broken link to stable releases. 2019-10-15 14:03:53 -07:00
contributing docs: Deal with a few broken links. 2019-10-15 14:03:53 -07:00
development docs: Reduce the number of apparently broken links on github. 2019-10-07 12:08:27 -07:00
documentation docs: Reduce the number of apparently broken links on github. 2019-10-07 12:08:27 -07:00
git docs: Reduce the number of apparently broken links on github. 2019-10-07 12:08:27 -07:00
images docs: Update docs/git/ directory to reflect CI changes. 2018-12-11 12:46:18 -08:00
overview docs: Merge "HTML templates" and "HTML and CSS" docs. 2019-10-16 15:44:26 -07:00
production ldap: Do a proper search for email in email_belongs_to_ldap. 2019-10-22 15:53:39 -07:00
subsystems shared: Set up a way to share some frontend code with the mobile app. 2019-10-17 16:48:23 -07:00
testing docs: Reduce the number of apparently broken links on github. 2019-10-07 12:08:27 -07:00
translating docs: Merge "HTML templates" and "HTML and CSS" docs. 2019-10-16 15:44:26 -07:00
tutorials docs: Deal with a few broken links. 2019-10-15 14:03:53 -07:00
.gitignore gitignore: Anchor patterns that should be anchored. 2017-07-19 14:03:49 -07:00
code-of-conduct.md repository: Add CODE_OF_CONDUCT.md. 2017-06-14 18:43:08 -07:00
conf.py docs: add docs/README.md to the exclude_patterns list 2019-10-08 13:40:25 -07:00
index.rst docs: Add missing index.rst for documentation/. 2019-05-29 17:54:02 -07:00
Makefile docs: Treat sphinx-build warnings as errors. 2019-10-10 14:22:38 -07:00
README.md docs: Add README.md to zulip/docs to prevent reading on GitHub. 2018-04-24 10:50:39 -07:00
requirements.readthedocs.txt requirements: Rename requirements files. 2017-11-21 02:38:26 +05:30
THIRDPARTY templates: Move page_params from an inline script to the <body> dataset. 2019-09-17 16:06:33 -07:00

Zulip markdown documentation hosted elsewhere

The markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.