mirror of https://github.com/zulip/zulip.git
docs: Clean up documentation for fakeldap testing in development.
This commit is contained in:
parent
a612049ac4
commit
923ecb1851
|
@ -66,8 +66,8 @@ actual flows for LDAP configuration.
|
|||
|
||||
- To enable fakeldap, set `FAKE_LDAP_MODE` in
|
||||
`zproject/dev_settings.py` to one of the following options. For more
|
||||
information on these modes, refer
|
||||
`zproject/prod_settings_template.py`.:
|
||||
information on these modes, refer to
|
||||
[our production docs](../production/authentication-methods.html#ldap-including-active-directory):
|
||||
- `a`: If users' email addresses are in LDAP and used as username.
|
||||
- `b`: If LDAP only has usernames but email addresses are of the form
|
||||
username@example.com
|
||||
|
|
|
@ -94,14 +94,13 @@ ALWAYS_SEND_ALL_HOTSPOTS = False # type: bool
|
|||
#
|
||||
# Three modes are allowed, and each will setup Zulip and the fake LDAP
|
||||
# database in a way appropriate for the corresponding mode described
|
||||
# in zproject/prod_settings_template.py:
|
||||
# in https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#ldap-including-active-directory
|
||||
# (A) If users' email addresses are in LDAP and used as username.
|
||||
# (B) If LDAP only has usernames but email addresses are of the form
|
||||
# username@example.com
|
||||
# (C) If LDAP usernames are completely unrelated to email addresses.
|
||||
#
|
||||
# In any case, the LDAP user account data is available in:
|
||||
# zerver/tests/fixtures/ldap_dir.json
|
||||
# Fake LDAP data has e.g. ("ldapuser1", "ldapuser1@zulip.com") for username/email.
|
||||
FAKE_LDAP_MODE = None # type: Optional[str]
|
||||
# FAKE_LDAP_NUM_USERS = 8
|
||||
|
||||
|
|
Loading…
Reference in New Issue