Re: [BackupPC-users] patch for auto-detection of Bonjour (apple) clients for 3.2
> This should be even easier: > echo "search local" >> /etc/resolv.conf awesome, done. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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/
Re: [BackupPC-users] patch for auto-detection of Bonjour (apple) clients for 3.2
Jeffrey J. Kosowsky wrote: > James Kyle wrote at about 12:00:46 -0700 on Thursday, August 13, 2009: > > I patched BackupPC_dump to look for bonjour clients. My apologies if > > this is not the most correct way to do so. > > > > What this allows is: > > > > If you have an apple client with hostname foo and Bonjour name > > foo.local, you can enter the client's name as "foo" and backuppc_dump > > will auto-detect its bonjour name. > > > > This makes it so that your clients don't have to run an smb service if > > you don't want to without redundantly entering .local for all your > > clients. > > > > untyped binary data: patch-bin-backuppc_dump.diff [save to a file] > > > > I'm not sure I would want this patch rolled into the sources since all > it really does is check 'hostname'.local and assumes if it exist then > it must be a Bonjour name. But in *nix world, 'foohost.local' itself is a > valid name which may or may not be related to 'foohost'. So this in > general seems more like a hack than a robust, general solution. > > I'm not sure what the problem is with just appending '.local' to the > names of Bonjour hosts in the Backuppc 'hosts' file. Alternatively, > just create the aliases in the /etc/hosts file or equivalents. > This should be even easier: echo "search local" >> /etc/resolv.conf -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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/
Re: [BackupPC-users] patch for auto-detection of Bonjour (apple) clients for 3.2
Hi, On Thu, Aug 13, 2009 at 15:14, Jeffrey J. Kosowsky wrote: > I'm not sure what the problem is with just appending '.local' to the > names of Bonjour hosts in the Backuppc 'hosts' file. Alternatively, > just create the aliases in the /etc/hosts file or equivalents. Or add "search local" to /etc/resolv.conf HTH, Filipe -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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/
Re: [BackupPC-users] patch for auto-detection of Bonjour (apple) clients for 3.2
James Kyle wrote at about 12:00:46 -0700 on Thursday, August 13, 2009: > I patched BackupPC_dump to look for bonjour clients. My apologies if > this is not the most correct way to do so. > > What this allows is: > > If you have an apple client with hostname foo and Bonjour name > foo.local, you can enter the client's name as "foo" and backuppc_dump > will auto-detect its bonjour name. > > This makes it so that your clients don't have to run an smb service if > you don't want to without redundantly entering .local for all your > clients. > > untyped binary data: patch-bin-backuppc_dump.diff [save to a file] > I'm not sure I would want this patch rolled into the sources since all it really does is check 'hostname'.local and assumes if it exist then it must be a Bonjour name. But in *nix world, 'foohost.local' itself is a valid name which may or may not be related to 'foohost'. So this in general seems more like a hack than a robust, general solution. I'm not sure what the problem is with just appending '.local' to the names of Bonjour hosts in the Backuppc 'hosts' file. Alternatively, just create the aliases in the /etc/hosts file or equivalents. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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/
[BackupPC-users] patch for auto-detection of Bonjour (apple) clients for 3.2
I patched BackupPC_dump to look for bonjour clients. My apologies if this is not the most correct way to do so. What this allows is: If you have an apple client with hostname foo and Bonjour name foo.local, you can enter the client's name as "foo" and backuppc_dump will auto-detect its bonjour name. This makes it so that your clients don't have to run an smb service if you don't want to without redundantly entering .local for all your clients. patch-bin-backuppc_dump.diff Description: Binary data Cheers, -james-- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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/