[Samba] How to automatically mount shares.

morgan31 at libero.it morgan31 at libero.it
Thu Jun 13 01:39:02 GMT 2002


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.
Any ideas?
Thanks in advance.


More information about the samba mailing list