I am connecting to a samba share using the following command..
/usr/bin/smbclient \\\\server78\\publicfolder It asks me for my linux account password before it will connect.
This isn't a problem if I am running it manually but how can I use this within a bash script without it asking me for the password?