BackupPC-users

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

2012-07-09 11:17:11
Subject: Re: [BackupPC-users] SmbClient for Workgroup and Domain authentication
From: "Bryan Keadle (.net)" <bkeadle AT keadle DOT net>
To: mstowe AT chicago.us.mensa DOT org, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 9 Jul 2012 10:15:29 -0500
Thanks for your reply.  rSync is an option, but not "skipping all that" - I still need to make SMB work for situations where I am unable to rSync.


On Mon, Jul 9, 2012 at 9:17 AM, Michael Stowe <mstowe AT chicago.us.mensa DOT org> wrote:
> 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/

------------------------------------------------------------------------------
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>