LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2009, 01:25 AM   #1
bekiricli
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
Accessing Linux shared folder from Windows XP


Hi all,

I know this is a very common (and simple) question. But somehow I couldn't get it working. I have configured the folder sharing with samba in my Linux computer (Suse 11.0) and can see the shared folders of windows computer no problem. But although I can see the Linux shares in my windows, I cannot get past the user/password barrier. It somehow does not accept it. I have created the user in windows, but still nothing. Is there any other way of accessing them in windows?

And my second simple question: how do I access the windows shared folders from Linux Terminal? Until now, I've accessed via Konquerer, but wanna write a simple shell for file copy from the shared folder.

Best Regards,
Bekir
 
Old 02-10-2009, 03:48 AM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
1. Look at your samba logs. What does it say?
2. Mount your windows share on your linux machine.

-twantrd
 
Old 02-10-2009, 03:58 AM   #3
amuro
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
try put this line on share section :
guest ok = yes

example :
[sharedfolder]
path = /home/me/shared
guest ok = yes
 
Old 02-10-2009, 04:29 AM   #4
bekiricli
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Hi,

Thanks to you both for your replies..

@twantrd:
1- how can I look at the samba logs? where to find them?
2- I've found such an example of how to mount:
"mount /dev/fd0 /mnt/floppy" but how would you specify the path to windows share?? when I connect wia Konqueror, it says in the address bar:
smb://my_user@<ip>/My_Shared_Folder
Could you give me an example?

@amuro: that solved the problem, thanks a lot.

Best wishes,
Bekir
 
Old 02-10-2009, 07:40 AM   #5
engelienart
Member
 
Registered: Feb 2009
Location: Netherlands
Distribution: Kubuntu, Debian
Posts: 73

Rep: Reputation: 16
I am a linux newbee too, so my advise come with No-warranty:

mounting a Windows share, should be something like:

mount ipadres/sharename /mnt/Whatever

where sharename, the name of the shared directory is and Whatever is whatever name you want to give the directory in /mnt

I hope you can understand me. And if I am wrong, some smart kid will proof me wrong
 
Old 02-10-2009, 07:57 AM   #6
bekiricli
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I tried: mount ip_address/share_folder /mnt/Win_Share and it says
mount: mount point /mnt/Win_Share does not exist

What am I doing wrong??
Thanks for the answer of course..

Regards,
Bekir
 
Old 02-10-2009, 08:13 AM   #7
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
logs are usually in
/var/logs

personally wouldn't recommend to just set guest = allow, instead create samba user accounts and assign them.
 
Old 02-10-2009, 08:26 AM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
did you run the smbpasswd on your user accounts to generate them a samba password. Samba uses a different password than the password from the passwd or shadow file.
 
Old 02-10-2009, 03:50 PM   #9
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
1. Depends on where/how you installed samba. The names of the log files are something like log.nmbd and log.smbd.

2.
Quote:
mount: mount point /mnt/Win_Share does not exist
Well, you need to make sure that mount exists first. Create it and try again.

3. I, too, wouldn't recommend 'guest=allow'. I would do that first to make sure my samba setup is up and running. After that, I would start locking it down.

-twantrd
 
  


Reply



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
Access Linux shared folder from Windows OS nitinpjairaj Linux - Software 1 08-26-2008 10:54 AM
how to accessing windows share folder from Linux Machine imughal Linux - Newbie 1 02-29-2008 01:49 AM
Accessing shared memory opened in a windows process in a connected linux pc gonzalesmico Programming 3 06-07-2007 02:31 PM
Accessing windows shared folders in linux srivatsava Linux - Networking 1 09-29-2004 03:01 PM
accessing a shared folder on a server dimitri358 Linux - Software 3 02-16-2004 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration