-
Notifications
You must be signed in to change notification settings - Fork 126
Can't use ReconnectLDAPObject to bind because of TypeError #448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I guess it's a good thing LDAP never really used a different AuthenticationChoice than In any case, the first argument to |
I think we were just being extra careful with our original code and specifying everything even though the defaults were OK. |
Hi @jnewbigin, could you confirm #471 works as expected? |
👍 works great thanks. |
Issue description:
Using
ReconnectLDAPObject
results in an error:TypeError: _store_last_bind() got multiple values for argument 'method'
Steps to reproduce:
bind_s
invokesself._store_last_bind
Which has 2 parameters called method and hence the exception.
In my case, I can omit the
method=ldap.AUTH_SIMPLE
but if I needed a different auth method then it would not work.Operating system:
Linux
Python version:
3.8.11
python-ldap version:
python-ldap==3.3.1
The text was updated successfully, but these errors were encountered: