Package: matrix-synapse-ldap3 / 0.1.3-4

Metadata

Package Version Patches format
matrix-synapse-ldap3 0.1.3-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 fix string formatting for ldap registration message.patch | (download)

ldap_auth_provider.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix string formatting for ldap registration message

Otherwise, errors will show up:

```
2018-04-16 18:15:47,458 - twisted - 131 - ERROR - POST-0- Traceback (most recent call last):
2018-04-16 18:15:47,458 - twisted - 131 - ERROR - POST-0-   File "/usr/lib/python2.7/logging/__init__.py", line 861, in emit
2018-04-16 18:15:47,458 - twisted - 131 - ERROR - POST-0-     msg = self.format(record)
2018-04-16 18:15:47,458 - twisted - 131 - ERROR - POST-0-   File "/usr/lib/python2.7/logging/__init__.py", line 734, in format
2018-04-16 18:15:47,459 - twisted - 131 - ERROR - POST-0-     return fmt.format(record)
2018-04-16 18:15:47,459 - twisted - 131 - ERROR - POST-0-   File "/usr/lib/python2.7/logging/__init__.py", line 465, in format
2018-04-16 18:15:47,459 - twisted - 131 - ERROR - POST-0-     record.message = record.getMessage()
2018-04-16 18:15:47,460 - twisted - 131 - ERROR - POST-0-   File "/usr/lib/python2.7/logging/__init__.py", line 329, in getMessage
2018-04-16 18:15:47,460 - twisted - 131 - ERROR - POST-0-     msg = msg % self.args
2018-04-16 18:15:47,460 - twisted - 131 - ERROR - POST-0- TypeError: %d format: a number is required, not str
2018-04-16 18:15:47,460 - twisted - 131 - ERROR - POST-0- Logged from file ldap_auth_provider.py, line 202
```


0002 need to catch IndexError as well.patch | (download)

ldap_auth_provider.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] need to catch indexerror as well when parsing the mail
 attribute from LDAP


0003 fetch user attributes using bind_dn.patch | (download)

ldap_auth_provider.py | 11 7 + 4 - 0 !
1 file changed, 7 insertions(+), 4 deletions(-)

 [patch] fetch user attributes using bind_dn