[Samba] How to automatically mount shares.
Joel at HammersHome.com
Thu Jun 13 03:16:02 GMT 2002
You could put that command into rc.local or its equivalent on your system.
On Thu, Jun 13, 2002 at 10:34:22AM +0200, morgan31 at libero.it wrote:
> Hi list, I've installed samba 2.2.3a on my Linux box.
> I have to join into an NT4 domain and all works fine.
> I've got only a question:
> Now I'm able to mount the NT share with the command:
> mount -t smbfs -o username=morgan,password=morgan //SERVERNT/DISC /mnt
> and it works only if I am root.
> Is there any possibility of mounting it automatically on boot?
> I've tough about /etc/fstab but I don't if there is a correct syntax to include username and password.
More information about the samba