Hi Pai,
   Thanks for your valuable information. Its working now.
Here we can choose different domain as well.  e.g

#smbmount //my-nt-machine/share /mnt -o username='mydomain\administrator',debug='10'

So that i can choose a single username & pass to take the backup from different Windoz 
NT m/cs.

Here *debug* parmameter has helped me at lot in identifying the problem.
Regards,
-Yash



On Sat, Jun 15, 2002 at 05:21:12PM +0518, M.K.Pai spoke out thus:
> Hi there Yash,
> 
> >     I do want to mount some NTFS shares on different machines in my network
> > to my Dedicated linux backup m/c. And then running rsync over it.
> > I do have SAMBA PDC domain in my LAN. All machine are logged in to this.
> > I have tried through mount.smbfs But no luck.
> > Everery time it says invalid shares...I have checked it and given it full access 
>to everyone.
> > 
> 
> I had written a shell script to handle a similar situation.
> IIRC it went something like this -
> 
> #!/bin/bash -x
> export PASSWD=foobar
> smbmount //name-of-win-machine/share-name /mnt -o username=administrator
> rsync /mnt /backup/name-of-win-machine/share-name
> 
> The PASSWD variable is set to the value of the administrator
> password. Do check out the man pages of smbclient and smbmount.
> 
> Hope this helps.
> 
> -- Pai
> 
>           ================================================
> To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
> To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
>header
> Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
>           =================================================
> 

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to