View Light

How to connect to an NT share from 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)
This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.