--On Friday, January 25, 2013 1:04 PM -0800 Quanah Gibson-Mount <qua...@zimbra.com> wrote:

--On Friday, January 25, 2013 12:53 PM -0800 Quanah Gibson-Mount
<qua...@zimbra.com> wrote:

The changes in inet6 handling somewhere between Net::LDAP 0.44 and
Net::LDAP 0.52 breaks Amavis' ability to talk to LDAP.

The problem is specifically this bit:

  my $domain = $arg->{inet4} ? AF_INET : ($arg->{inet6} ? AF_INET6 :
AF_UNSPEC);

...
    Domain     => $domain,
...

If I comment out these two lines, connections work as expected.

With further investigation, I believe the fault here is with Amavis. "inet6" for Net::LDAP means ipv6 only (as of 0.52 anyhow).

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to