BackupPC-users

Re: [BackupPC-users] SmbClient for Workgroup and Domain authentication

2012-07-09 10:19:15
Subject: Re: [BackupPC-users] SmbClient for Workgroup and Domain authentication
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 9 Jul 2012 09:17:42 -0500
> 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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>