[Bug 729181] Re: Can't connect to IPv6 LDAP servers
"after the line 322 else" = "after the else condition found at line 322" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/729181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 729181] Re: Can't connect to IPv6 LDAP servers
I'll admit that I've not got my head around smbldap totally, but for reference, the error points to line 322 of /usr/share/perl5/smbldap_tools.pm and the adjustment suggested above is to line 324 - after the line 322 else that's causing the trouble? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/729181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 729181] Re: Can't connect to IPv6 LDAP servers
Unfortuantely the fix you have offered here didn't work for me? I've installed the package and patched /usr/share/perl5/smbldap_tools.pm but to no effect - I'm getting the same error despite rebooting? I've just updated to the current Lucid: 10.04.3 Any ideas appreciated -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/729181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 729181] Re: Can't connect to IPv6 LDAP servers
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: smbldap-tools (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smbldap-tools/+bug/729181/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 729181] Re: Can't connect to IPv6 LDAP servers
** Description changed: Binary package hint: smbldap-tools - Connecting to IPv6 LDAP servers gives "erreur LDAP: Can't contact master - ldap server for writing (IO::Socket::INET: connect: Connection refused) - at /usr/share/perl5/smbldap_tools.pm line 322." + Connecting to IPv6-only LDAP servers gives a (somewhat French): "erreur + LDAP: Can't contact master ldap server for writing (IO::Socket::INET: + connect: Connection refused) at /usr/share/perl5/smbldap_tools.pm line + 322." Net::LDAP in Lucid does support IPv6. However this has to be explicitly set, and if you do, you also need libio-socket-inet6-perl. Once you install that, and change /usr/share/perl5/smbldap_tools.pm like: $ldap_master = Net::LDAP->new( "$config{masterLDAP}", inet6 => 1, port=> "$config{masterPort}", Then it works. - Looking around I discovered that the entire state of IPv6 in Perl is, well, sub-optimal. - It could be fixed at several levels: smbldap-tools, Net::LDAP, or in the Perl core. + However it seems a bit of a kludge to have to manually define inet6 + boolean. + + Looking at http://search.cpan.org/~shlomif/IO-Socket-INET6-2.67/lib/IO/Socket/INET6.pm, I see that that does 4+6. + So I guess the long-term solution is to fix Net::LDAP so that it uses only INET6.pm, and accepts an optional flag to force address family in case of connection problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 729181] Re: Can't connect to IPv6 LDAP servers
** Description changed: Binary package hint: smbldap-tools Connecting to IPv6 LDAP servers gives "erreur LDAP: Can't contact master ldap server for writing (IO::Socket::INET: connect: Connection refused) at /usr/share/perl5/smbldap_tools.pm line 322." Net::LDAP in Lucid does support IPv6. However this has to be explicitly set, and if you do, you also need libio-socket-inet6-perl. Once you install that, and change /usr/share/perl5/smbldap_tools.pm like: - $ldap_master = Net::LDAP->new( - "$config{masterLDAP}", - inet6 => 1, - port=> "$config{masterPort}", + $ldap_master = Net::LDAP->new( + "$config{masterLDAP}", + inet6 => 1, + port=> "$config{masterPort}", Then it works. - However it seems a bit of a kludge to have to manually define inet6 - boolean. - - Looking at http://search.cpan.org/~shlomif/IO-Socket-INET6-2.67/lib/IO/Socket/INET6.pm, I see that that does 4+6. - So I guess the long-term solution is to fix Net::LDAP so that it uses only INET6.pm, and accepts an optional flag to force address family in case of connection problems. + Looking around I discovered that the entire state of IPv6 in Perl is, well, sub-optimal. + It could be fixed at several levels: smbldap-tools, Net::LDAP, or in the Perl core. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/729181 Title: Can't connect to IPv6 LDAP servers -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs