You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any attempt to connect to an LDAP server fails with "LDAPSocketOpenError: invalid server address" on FreeBSD. This is because getaddrinfo(3) on FreeBSD does not accept AI_V4MAPPED flag as a hint, and fails with error code 3 ("Invalid value for ai_flags") if this flag is set. The following patch fixed (or worked around) the problem for me: https://gist.github.com/andriy-s/ac502e1d27ba4f19912d
The text was updated successfully, but these errors were encountered:
Good to know, I will include the fix in the next release.
Bye,
Giovanni
----- Messaggio originale -----
Da: "Andriy Syrovenko" notifications@github.com
Inviato: 11/03/2015 15:01
A: "cannatag/ldap3" ldap3@noreply.github.com
Oggetto: Re: [ldap3] Attempts to connect to an LDAP server fail with"LDAPSocketOpenError: invalid server address" on FreeBSD (#31)
Hello and sorry for late reply.
As a followup to your comment at https://gist.github.com/andriy-s/ac502e1d27ba4f19912d,
I have tested your new implementation of the address_info property, and it appears to work fine for me.
Thanks,
Andriy.
—
Reply to this email directly or view it on GitHub.
Any attempt to connect to an LDAP server fails with "LDAPSocketOpenError: invalid server address" on FreeBSD. This is because getaddrinfo(3) on FreeBSD does not accept AI_V4MAPPED flag as a hint, and fails with error code 3 ("Invalid value for ai_flags") if this flag is set. The following patch fixed (or worked around) the problem for me: https://gist.github.com/andriy-s/ac502e1d27ba4f19912d
The text was updated successfully, but these errors were encountered: