forked-synapse/tests
Martin Weinelt 0a32208e5d Rework ldap integration with ldap3
Use the pure-python ldap3 library, which eliminates the need for a
system dependency.

Offer both a `search` and `simple_bind` mode, for more sophisticated
ldap scenarios.
- `search` tries to find a matching DN within the `user_base` while
  employing the `user_filter`, then tries the bind when a single
  matching DN was found.
- `simple_bind` tries the bind against a specific DN by combining the
  localpart and `user_base`

Offer support for STARTTLS on a plain connection.

The configuration was changed to reflect these new possibilities.

Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2016-06-22 17:51:59 +02:00
..
api Create user with expiry 2016-05-13 15:34:15 +02:00
appservice Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
handlers Fix a bug caused by a change in auth_handler function 2016-06-08 23:22:39 +02:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Move typing handler out of the Handlers object 2016-05-17 15:58:46 +01:00
rest Split out the auth handler 2016-06-02 13:31:45 +01:00
storage Fix AS retries, but with correct ordering 2016-06-07 10:24:50 +01:00
util Deduplicate joins 2016-04-07 14:19:02 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_state.py Create log context in Measure if one doesn't exist 2016-04-18 16:08:32 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
utils.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00