Tod Detre <tod.de...@maine.edu> wrote on 03/15/2011 03:30:21 PM:
> Actually, that's not quite the whole picture. BackupPC does do dns
> name lookup and those calls are not IPv6 compatible. Once such
> instance is in bin/BackupPC_dump line 503. The gethostbyname()
> function (at least last time I tried to do IPv6 with BackupPC) does
> not support IPv6.
Ah, you are correct: you have to use getaddrinfo, but I'm not sure that
Perl has been updated to reflect this...
> This causes BackupPC to try to do an nmblookup. If
> your client doesn't have and IPv4 address and does not respond to
> nmblookup, BackupPC will fail. However, if you do not use nmblookup,
> you can just get rid of lines 496-508,510 and BackupPC will work just
> fine.
I'd have to look at the rest of the code, but if gethostbyname fails, and
if you remove the nmb stuff, you're left with a hostname. The question
is, does the rest of the code work with a host name string rather than an
IP address?
Timothy J. Massey
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!
http://www.OutOfTheBoxSolutions.com
tmas...@obscorp.com
22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/