Solved

Connecting to NT network from Linux

Posted on 2002-07-30
5
205 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving from Mcrypt to OpenSSL 18 75
how to include conditional log rotate in liunx. 17 103
How many users could squid support? 21 61
Golang on CentOS / Fedora 2 9
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
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é.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 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