Skip to content

Conversation

@remihb
Copy link

@remihb remihb commented Sep 2, 2020

Hi,

sorry no time to create a real PR but see this :
https://github.com/theatlantic/python-active-directory/blob/a1e2a78a25ea60cbcaf2fc2ec4d5e8743e03ec64/lib/activedirectory/core/client.py#L315
It should be
for key in list(attrs):
instead of
for key in attrs.keys():
to avoid the RuntimeError error (it happens with keys like member;range=0-1499 that needs to be full retrieved)

sampowers and others added 23 commits January 29, 2013 17:53
initialize_krb5_error_table is unnecessary with OS X's version of
com_err. And besides that, it's an undefined symbol
As the class is currently defined, there are potential threading
issues that might arise if different credentials are passed to the
client in different threads, as it is currently a singleton.
activedirectory.protocol.asn1 was operating with str in python 3; this
was resulting in a different value being passed to the socket when
six.ensure_text was called; all of these protocol modules now use
bytes.

Also added the ability for a custom dns.resolver.Resolver instance to be
set on the activedirectory.core.locate.Locator singleton, so that custom
nameservers can be used to resolve the SRV netlogon queries.

fixes FUN-2111
@dakrauth dakrauth deleted the branch geertj:master March 31, 2021 01:43
@dakrauth dakrauth deleted the master branch March 31, 2021 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants