Hi,

I know there has been some debate in the past over Net::LDAP and IPv6.

The problem I have is that Net::LDAP uses IO::Socket::INET6 for it's
IPv6 handling which depends on Socket6. Socket6 has last been updated
in 2008 and does not compile on Windows - see
https://rt.cpan.org/Ticket/Display.html?id=75211

Of course I do understand this is not per se to blame on Net::LDAP,
but it means essentially that you can't use Net::LDAP to connect from
Windows to LDAP servers via IPv6.

I'd like to propose to use IO::Socket::IP
(https://metacpan.org/release/IO-Socket-IP) which is "A drop-in
replacement for IO::Socket::INET supporting both IPv4 and IPv6" - it
will allow to simplify Net::LDAPs code possibly, and improve the IPv6
situation for Windows people.

Of course this should not per se need to pose an extra dependency on
Net::LDAP; in a similar way as today IO::Socket::INET6 is only loaded
if it is present, we could do the same with IO::Socket::IP, and fall
back to IPv4-only IO::Socket::INET.

Please let me know any concerns or suggestions you might have to the above.

--
Mike

Reply via email to