Mount Windows share in Linux?

robisc

Platinum Member
Oct 13, 1999
2,664
0
76
I am pretty new to Linux and have Mandrake 7.1 on a small network at home and I want to mount a shared directory on my NT server, I can do this on my BeOS box and all my Windows boxes with no problem, just don't know how to do it in Linux.
 

doug

Senior member
Oct 18, 1999
259
0
0
smbtool is part of Samba, a search in this forum or just the web in general should give you some useful results.
 

Cyph3r

Senior member
Jan 20, 2000
790
0
0
Enable SMB in the kernel. Go into /etc/rc.d/rcX.d where X is the runlevel you are in(this is for Redhat and Mandrake) and ensure that SMB service is enabled(by ensuring the scrpit has a S in front of it).

Boot the kernel, do:
mount -t smbfs //NTMachine/directory /mnt/whereever -o username=Its_Me password=you_know_me

And viola..you've got the share mounted..obviously you can setup the SMB password files so that you don't have to enter your username and password each time you mount the share..look into SAMBA's documents for that detail..Regards