I think i may have found a small bug. I just started using BackupPc, and found 
that every time i used a host name; it did not work, but the with an IP it did 
work. After a few test i found the problem is with perl trying to lookup the 
host by gethostbuname, and that it returns true all the time. On the other hand 
nmblookup works fine, but is nevcer used since the program thinks gethostbyname 
worked.Bellow i triued to prove it [EMAIL PROTECTED]:~$ smbtree -bPassword: 
THE_BRUCESTER_N        \\N00B-SERVER                   n00b-Server server 
(Samba, Ubuntu)                \\N00B-SERVER\PDF               PDF              
  \\N00B-SERVER\print$            Printer Drivers                
\\N00B-SERVER\share                          \\N00B-SERVER\IPC$              
IPC Service (n00b-Server server (Samba, Ubuntu))        \\LAPTOP                
        Dell 5150 Laptoptimeout connecting to 208.69.32.132:445timeout 
connecting to 208.69.32.132:139Error connecting to 208.69.32.132 (Operation 
already in progress)cli_start_connection: failed to connect to LAPTOP<20> 
(208.69.32.132). Error NT_STATUS_ACCESS_DENIED        \\DREAM-MACHINE           
      Computer Roomtimeout connecting to 208.69.32.132:445timeout connecting to 
208.69.32.132:139Error connecting to 208.69.32.132 (Operation already in 
progress)cli_start_connection: failed to connect to DREAM-MACHINE<20> 
(208.69.32.132). Error NT_STATUS_ACCESS_DENIED        \\DAD-LINUX-BOX           
      Dad-Linux-Box server (Samba, Ubuntu)timeout connecting to 
208.69.32.132:445timeout connecting to 208.69.32.132:139Error connecting to 
208.69.32.132 (Operation already in progress)cli_start_connection: failed to 
connect to DAD-LINUX-BOX<20> (208.69.32.132). Error [EMAIL PROTECTED]:~$ perl 
-e 'print(gethostbyname("DREAM-MACHINE") ? "ok\n" : "not found\n");'[EMAIL 
PROTECTED]:~$ nmblookup DREAM-MACHINEquerying DREAM-MACHINE on 
172.28.65.255172.28.64.176 DREAM-MACHINE<00>[EMAIL PROTECTED]:~$ nmblookup -A 
172.28.64.176Looking up status of 172.28.64.176    DREAM-MACHINE   <00> -       
  B <ACTIVE>     THE_BRUCESTER_N <00> - <GROUP> B <ACTIVE>     DREAM-MACHINE   
<20> -         B <ACTIVE>     THE_BRUCESTER_N <1e> - <GROUP> B <ACTIVE>     MAC 
Address = [EMAIL PROTECTED]:~$ perl -e 
'print(gethostbyname("NotRealCompOnNetwork") ? "ok\n" : "not found\n");'[EMAIL 
PROTECTED]:~$ nmblookup NotRealCompOnNetworkquerying NotRealCompOnNetwork on 
172.28.65.255querying NotRealCompOnNetwork on 172.28.65.255name_query failed to 
find name [EMAIL PROTECTED]:~$
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to