[BUG] Connection is failing
See original GitHub issueWith LDAP_AUTH_USE_TLS=True
, LDAP connection is failing with django-python3-ldap==0.15.0
:
File "/app/venv/lib/python3.8/site-packages/django_python3_ldap/ldap.py", line 182, in connection
c = ldap3.Connection(
TypeError: __init__() got an unexpected keyword argument 'tls'
It seems to be originating here: https://github.com/etianen/django-python3-ldap/blob/master/django_python3_ldap/ldap.py#L178
When I examined ldap3
library I indeed didn’t find any tls
argument in ldap3.Connection
. It’s quite weird that it passed the tests at all.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
FIX: A connection failure may be reported even though the ...
Fixes a problem where a connection failure is reported when you use the ADO.NET 2.0 SqlConnection object to connect to a database server...
Read more >Fix connection errors - Google Chrome Help
Fix most connection errors. If you go to a website and get an error, try these troubleshooting steps first: Check the web address...
Read more >How to Fix a Connection Failed Error in Multiplayer Stardew ...
One common cause for the “Connection Failed” error is either a lack of signal strength from the user's Wi-Fi or a communication issue...
Read more >How to Fix Connection Failed With Error 651 - Lifewire
Test the connection on another device. · Try a different connection. · Check for loose cables. · Reboot the modem and router. ·...
Read more >How To Fix The "Error Establishing a Database Connection" in ...
Check Your Database Login Credentials The first thing to do is check to ensure your database login credentials are correct. This is by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Merged and released as 0.15.1.
Thanks for the quick spot and bugfix everyone!
On Fri, 24 Jun 2022 at 22:28, Jon Beilke @.***> wrote:
@FlipperPA The fix in this branch works for my usecase 👍. I also checked the code diff, LGTM 🙂.