How to connect to an NT share from Linux
Posted: 3/8/2000 11:15:05 PM
By: Comfortably Anonymous
Times Read: 2,141
0 Dislikes: 0
Topic: Linux
Parent Message
This requires SAMBA to be installed on Linux. Nothing extra needs to be installed on the NT side.

- Create a mount point by simply creating a directory under the /mnt directory:

MKDIR /mnt/ntshare

- Link to the NT share by using the following command line:

mount -t smbfs -o username=[NT Username],password=[NT password],workgroup=[NT Domain Name] //[NT Server Name]/[Share Name] /mnt/ntshare

For example, assuming the following information:

NT Username = Joe
NT Password = drowssaP
NT Domain   = bigbrother
NT Server Name = lachesis
NT Share Name = mydata

The command line would be:

mount -t smbfs -o username=Joe,password=drowssaP,workgroup=bigbrother //lachesis/mydata /mnt/ntshare

Easy as pie!
Rating: (You must be logged in to vote)