LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-14-2005, 08:12 PM   #1
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Rep: Reputation: 30
Connecting to Windows share.


Hi. I have internal network. I'm trying to access shared folder on my windows machine (I'm not using simple share). I set up a share so that only certain user can access it. I use a program that comes with FC4, which I guess uses SMB. Anyway when I try to connect it asks me for password for user_name@ip_address. When I enter the password the same dialog box pops up again, lik e I entered a wrong password or something.
user_name is the user that can accesss my windows share, and ip is an IP address of my windows share. I can access it from my other windows machine, so I know it's working.

I tried to connect to my friends computer who uses simple sharing and it worked just fine. So are the authentication protocols not compatible or something when I'm trying to connect with specific user name?
Thx.
 
Old 10-15-2005, 07:46 PM   #2
Elomis
Member
 
Registered: Dec 2004
Location: Sydney
Distribution: SUSE
Posts: 89

Rep: Reputation: 15
This is a commonly asked question around here and the answer is best put this way (I've found);

The best way above and beyond to connect to a share is to make a folder and use it as a mountpoint for the remote share. There are programs and such, sure, but they are all different to each other and can all get pretty confusing and not everyone can help you because they may not have seen it before. To create the folder is pretty simple, fire up a terminal session and just mkdir foldername. I usually use "remote" as the folder name.

Then the remaining things you need are a username and password on either a domain or the computer you are connecting to, and the name of the share and computer you are connecting to. For example;

For a computer called "Maibochs" running a share called "disshare" you need a username and password for the Maibochs computer, let's say for argument's sake it's Administrator and 'password' (ignoring the obvious bad form, it keeps it simple).

type the following in to the box you are connecting from;

Code:
mount -t smbfs -o username=Administrator,password=password //Maibochs/disshare remote
Note that this assumes you aren't using a windows domain, if you are, consider the example of a domain called 'global'

Code:
mount -t smbfs -o username=Administrator,password=password,workgroup=global //Maibochs/disshare remote
That commandline calls a domain a workgroup which can be confusing, but that's the syntax.

Give it a bash and let me know if anything needs clarifying.
 
Old 10-16-2005, 07:03 PM   #3
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Hi.
I tried that and I get:
3534: Connection to wbase failed
SMB connection failed
 
Old 10-16-2005, 07:27 PM   #4
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Never mind got it working with that other program. I didn't specify share name. After I entered specific share name it worked without any problems.
Only problem that mounts are only show up on desktop. I have no idea how to get to them through command prompt, or by browsing to them in xmms.

Last edited by UmneyDurak; 10-16-2005 at 07:59 PM.
 
Old 10-17-2005, 10:29 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Did you create the recommended mount point?

Is it not available on the CLI as "/mount/point/for/Winders/share" (or whatever you named it)?
 
Old 10-17-2005, 02:26 PM   #6
UmneyDurak
Member
 
Registered: Jun 2004
Posts: 178

Original Poster
Rep: Reputation: 30
Through the program I used it just creates it on desktop. Although it's not in Desktop folder. I looked under /mnt and there is nothing there. When I tried your way I get an error message I posted above.
 
Old 10-17-2005, 05:31 PM   #7
Elomis
Member
 
Registered: Dec 2004
Location: Sydney
Distribution: SUSE
Posts: 89

Rep: Reputation: 15
You are getting a little confused, perhaps I didn't explain very clearly.

The mount point will only be under /mnt if that's where you deliberatley put it. A mount point is at the end of the day just a folder object that you redirect somewhere else... I create mine under /home/elomis (so for instance /home/elomis/otherpc) and then do;

Quote:
mount -t smbfs -o username=Administrator,password=itsasecret //windowsmachine/theshareimconnecting /home/elomis/otherpc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting to windows share UmneyDurak Fedora 2 10-12-2005 02:48 PM
connecting to a share on linux from windows osiris32 Linux - Networking 7 07-01-2004 12:39 PM
SAMBA: Connecting from rh9.0 smb 3.0 > windows xp share shookie Linux - Software 3 05-16-2004 07:01 PM
Connecting to XP share from Fedora (Samba) thegreatnorth Linux - Software 1 12-12-2003 04:38 PM
connecting to a WinXP share kyrra Linux - Networking 2 11-04-2002 01:25 PM


All times are GMT -5. The time now is 04:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration