--On Monday, September 05, 2011 3:35 PM -0700 Kenneth Porter <sh...@sewingwitch.com> wrote:
> I'm setting up BackupPC to back up my Windows clients using rsync. I've > installed cwRsync to the clients. BackupPC uses nmblookup to find the > client's IP address given its Windows NETBIOS name. > nmblookup finds the client by broadcast (the client responds with the > record) but nmblookup -U 127.0.0.1 says there's no record of it. (A query > for the server's own record finds it, so I know the WINS service is at > least working to that degree.) Ah, I needed to look at the man page for nmblookup closer. Whenever you use -U for WINS queries, you must also use -R to force recursion. (If that's the case, why would one ever use -U without -R?) So if you use WINS with BackupPC, you can use "nmblookup -U wins-server-address -R" as your host lookup function. If BackupPC is running on the same host as nmbd, use "nmblookup -U 127.0.0.1 -R". ------------------------------------------------------------------------------ Malware Security Report: Protecting Your Business, Customers, and the Bottom Line. Protect your business and customers by understanding the threat from malware and how it can impact your online business. http://www.accelacomm.com/jaw/sfnl/114/51427462/ _______________________________________________ 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/