Re: perl-ldap-0.52 breaks Amavis

Quanah Gibson-Mount <[email protected]> Fri, 25 Jan 2013 13:04:38 -0800
Newsgroups gmane.comp.lang.perl.modules.ldap,gmane.mail.virus.amavis.user
Message-ID <129C746567E25451424364C3@[192.168.1.42]>
--On Friday, January 25, 2013 12:53 PM -0800 Quanah Gibson-Mount 
<[email protected]> 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.

--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