> I'm in an environment where some workstation may be in the domain, others > not. However, either way, we'll have a "backuppc" user account for > connecting to the machine for smb backup. > > Instead of having to choose one or the other username (backuppc vs. > Domain/backuppc) and having to do a client override for the other, I was > hoping to be able to create/define a wrapper script such that it will > attempt connection using the domain credentials: > > $smbClientPath \\$host\$shareName $I_option -U Domain/backuppc > > > and if that fails, try connecting with the local user account > > $smbClientPath \\$host\$shareName $I_option -U backuppc > > > Do any of you creative geniuses know how I can make that happen?
Is skipping all that and using rsync an option? ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
