From: Pete W. <pmw...@ya...> - 2003-07-31 18:06:19
|
One of my hosts, a Win2k box, responds to "nmblookup -B <bcast> <hostname>" but not to "nmblookup -A <hostaddr>" (error: no response, this is not unusual). There is no WINS server, and even though it is a DHCP client, I have DHCP set to 0 in the hosts file to prevent BackupPC from querying each address in the DHCP pool. In the global config.pl, $Conf{FixedIPNetBiosNameCheck} = 0; does not have the intended effect. It finds and pings the host, but then tries the "nmblookup -A <hostaddr>" reverse lookup, which fails, resulting in the log message "dump failed: host <hostname> has mismatching netbios name". I believe the bug is in BackupPC_dump sub CorrectHostCheck, where the logic is backwards. The return statement should read: return if ( $hostIP eq $host || !$Conf{FixedIPNetBiosNameCheck} || $Conf{NmbLookupCmd} eq "" ); __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |