Solved

Connecting to NT network from Linux

Posted on 2002-07-30
5
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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é.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

617 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