[Samba] Is it possible to write an "smbclient" automated script

Eric Hines eehines at comcast.net
Fri Dec 23 12:48:45 GMT 2005

At 12/23/05 01:04, Beast wrote:
>Pablo Graziano wrote:
>>I'd like to write an automated smbclient script. Something simple, like:
>>cd to a certain directory
>>copy that entire directory to client
>>Is this possible, and how?
>Why not use smbmount instead?
>smbmount //svr/share /mnt/samba -o username=myuser,password=mypasswd
>cp -r /mnt/samba/source /tmp/destination

Wouldn't this transmit the password in the clear?

Eric Hines

There is no nonsense so errant that it cannot be made the creed of 
the vast majority by adequate governmental action.
         --Bertrand Russell

More information about the samba mailing list