[python-ldap] Strange network problems?
Aigars Grins
aigars.grins at sentor.se
Fri Oct 27 03:31:02 EDT 2017
Hi,
On 2017-09-20 10:49, Michael Ströder wrote:
> Aigars Grins wrote:
>> With regards to "errors in the randomness device", the internet tells
>> me that some other projects [1] switched over to bind against
>> OpenSSL instead. Would it be possible to do that for python-ldap as
>> well? Some kind of compiler flag I could set?
>>
>> [1] <https://bugs.launchpad.net/ubuntu/+source/nzbget/+bug/1427486>
>
> The Debian developers, with their infinite wisdom and anti-OpenSSL
> licensing paranoia, decided to link libldap against GnuTLS. This causes
> nothing than grief but they are pretty much ignorant to change that.
>
> If you want to change that you have to compile the whole stack [1]
> yourself and take care of not mixing dynamic linking with OS-installed
> libldap:
>
> [1] https://www.python-ldap.org/doc/html/installing.html#prerequisites
>
> Maybe you could try to build a statically linked python-ldap with all
> the issues with that solution (updates etc.).
I've done just that. That is, built a python-ldap that's statically
linked with OpenSSL. I'm happy to report that my logs no longer contain
any "errors in the randomness device".
--
Aigars
More information about the python-ldap
mailing list