summary refs log tree commit diff
path: root/synapse/federation/federation_base.py
diff options
context:
space:
mode:
authorDaniel Ehlers <danielehlers@mindeye.net>2016-08-14 02:30:54 +0200
committerDaniel Ehlers <danielehlers@mindeye.net>2016-08-14 16:48:33 +0200
commite380538b594d4fa55e98818df0061efbdf3cb35b (patch)
tree82f75c98188ddaf4a6ace2d6f22e5039ce7c05ba /synapse/federation/federation_base.py
parentOnly process one local membership event per room at a time (diff)
downloadsynapse-e380538b594d4fa55e98818df0061efbdf3cb35b.tar.xz
Fix AttributeError when bind_dn is not defined.
In case one does not define bind_dn in ldap configuration, filter
attribute is not declared. Since auth code only uses ldap_filter attribute
when according LDAP mode is selected, it is safe to only declare the
attribute in that case.

Signed-off-by: Daniel Ehlers <sargon@toppoint.de>
Diffstat (limited to 'synapse/federation/federation_base.py')
0 files changed, 0 insertions, 0 deletions