Solved

Connecting to NT network from Linux

Posted on 2002-07-30
5
203 Views
Last Modified: 2010-04-20
I just installed Slackware on my laptop, along with the samba client.  However, since I have never tried to connect to a windows network via Linux, I'm not sure how to do it.  There is no "net use" command, or anything of that nature.  If someone can give me some help...
0
Comment
Question by:AsenathWaite
  • 2
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 100 total points
ID: 7188997
smbclient
xsmbrowser
LinNeighborhood
0
 
LVL 1

Expert Comment

by:leochan72
ID: 7191233
You can use command "mount" to mount the windows share. Then you can get connected to windows shares:

1) Create a directory, for example, winshare in linux
   mkdir winshare

2) mount the windows share in that directoy
   mount -t smbfs -o username=name, password=password //Windows/Share
(The above comment should be in one line, name is the windows user name and password is the user password)

3) change to that directory and you can see the files. Of course, before you do the mount, you should have samba running.

Leo
0
 
LVL 1

Expert Comment

by:leochan72
ID: 7191237
Sorry, the 2) comment should be :

mount -t smbfs -o username=name,password=pwd //Windows/Share /winshare

where name is username and pwd is user password.

Leo
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7191543
mount itself cannot do it, you need smbmount for that (even, depending on you installation and mount version, mount calls smbmount).
Anyway, the smbmount looks like:

  smbmount //Windows/Share /winshare -o username=name,password=pwd
0
 
LVL 20

Expert Comment

by:Gns
ID: 7193137
... and dont forget that you might have to specify a NT Domain, which would mean the above should be:
smbmount //Windows/Share /winshare -o username=name,password=pwd,workgroup=DomainnameOrWorkgroup

or

mount -t smbfs -o username=name,password=pwd,workgroup=DomainnameOrWorkgroup //Windows/Share /winshare

-- Glenn
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question