How To: Mount Samba Shares via commandline

To manually mount, in commandline type:
root@locahost ~]# mount -t cifs //servername/sambashare /mount/point -o username=aby,password=aby

To mount during bootup, edit file system table:
root@localhost ~]# vi /etc/fstab

and insert:
//servername/sambashare /mount/point cifs user=aby,pass=aby defaults rw 0 0

Leave a Reply