forked-synapse/synapse/handlers
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
..
__init__.py Split out the auth handler 2016-06-02 13:31:45 +01:00
_base.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py copyrights 2016-01-07 04:26:29 +00:00
appservice.py Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
auth.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00
directory.py Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
events.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
federation.py Only re-sign our own events 2016-06-17 14:47:33 +01:00
identity.py Add missing param to the log line 2016-01-29 15:01:26 +00:00
message.py Poke notifier on next reactor tick 2016-06-03 11:24:16 +01:00
presence.py .values() returns list of sets 2016-06-06 16:00:09 +01:00
profile.py Remove registered_users from the distributor. 2016-06-17 19:14:16 +01:00
receipts.py Replaces calls to fetch_room_distributions_into with get_joined_hosts_for_room 2016-05-16 19:48:07 +01:00
register.py Add a comment on why we don't create a profile for upgrading users 2016-06-17 19:18:53 +01:00
room_member.py Remove unused get_joined_rooms_for_user 2016-05-17 10:20:51 +01:00
room.py Pull full state for each room all at once 2016-06-08 15:51:49 +01:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
typing.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00