To mount a Samba share on a Linux box do the following:
1 – open a shell and become root ‘su –‘
2 – create a mountpoint for your samba share – eg ‘mkdir /mnt/sambashare’
3 – enter ‘mount –t smbfs –o username=foo,password=bar //servername/share /mnt/sambashare’
Where the user and pass are for the windows login.
Examples :
mount -t smbfs -o username=admin,password=admin //10.0.0.15/ftp /mnt/windows
mount –t smbfs –o username=XXXX,password=XXXX,uid=100,gid=101,dmask=0777,fmask=0777 //servername/share /mnt/sambashare
|