python-ad
python-ad copied to clipboard
Active Directory client for Python on Linux
Hello, I found an error in your code, python-ad/lib/ad/protocol/krb5.c Line 146 - strncpy(p1, result_string->data, result_string->length); invalid pointer, must be p2, causing segmentation error
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...
Hello Geert, python-ldap 2.4 introduced a backwards incompatible change to ldap.controls.SimplePagedResultsControl which was causing issues for me when using python-ad. This commit adds to the compat module Jeroen van Meeuwen's...