forked-synapse/synapse
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
app Remove the legacy v0 content upload API. 2016-06-21 11:47:39 +01:00
appservice
config Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00
crypto
events
federation Linearize some federation endpoints based on (origin, room_id) 2016-06-17 16:43:45 +01:00
handlers Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00
http Work around TLS bug in twisted 2016-06-15 10:39:08 +01:00
metrics Don't track total objects as its too expensive to calculate 2016-06-07 17:00:45 +01:00
push Fix `KeyError: 'msgtype'. Use .get` 2016-06-17 13:49:16 +01:00
replication
rest Remove the legacy v0 content upload API. 2016-06-21 11:47:39 +01:00
static/client
storage Add the create_profile method back since the tests use it 2016-06-17 19:20:47 +01:00
streams
util Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
__init__.py Bump version and changelog 2016-06-20 14:17:42 +01:00
notifier.py
python_dependencies.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00
server.py Use worker_ prefixes for worker config, use existing support for multiple config files 2016-06-16 17:29:50 +01:00
state.py
types.py Make get_domain_from_id throw SynapseError on invalid ID 2016-06-14 13:25:29 +01:00
visibility.py