LinuxQuestions.org
Help answer threads with 0 replies.
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 07-16-2004, 12:36 AM   #1
vacman
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
WinXP to Linux - Access Denied


Hey guys!

I'm hoping someone will know off the top of their head pertain to this problem.

Ok, I set up Samba (I'm pretty sure) properly. But just to make it easier and narrow down the problem, I changed the smb.conf to bare bones.

Here's a snip of it:
[global]
workgroup = homebase
guest account = pcguest

[scratch]
path = /scratch
guest ok = yes
guest only = yes
writeable = yes
browseable = yes

I can access any Windows Drives/Shares from the linux PC. I can see the Linux PC from the Network Neighborhood...I can access the Linux PC....

BUT when I go to access the share....keeps giving me \\computer\scratch is not accessible. You may not have the right permissions etc...contact your sys admin. Access is Denied.

I've tried all the combinations I could with settings under the share...I even chmod it to 777...I ran testparm and came out good. I can't understand....is it on the windows side?

Few tidbits: WinXP Pro for windows Fedora Core 1 for Linux No firewall between both PC's

What gives? I about to pull my hair out completely...arrrgh. And I don't wanna redo all the machines over...yuck...I just redid the Linux and that's what I dont understand.

HUGE props to the person that can lead me in the direction
 
Old 07-16-2004, 12:41 AM   #2
SirSlappy
Member
 
Registered: Jun 2003
Location: Glendale AZ
Distribution: Slackware 10
Posts: 153

Rep: Reputation: 30
hrm

This is crazy, but I have a home network with only windows computers sharing files. Anyway, the other day I wanted to use my laptop to connect to the shared files, etc.. I was connected via wifi. I coulldn't access the shares however. I did everything I knew to do and hda to reboot 3x 'cause XP sucks. Anyway.. I can see them, but can't access them and I got that same error. If I plug in an ethernet wire though, I can access them with no problem. Dunno what the deal is.

Dunno if this is at all helpful, but anyway.
 
Old 07-16-2004, 12:52 AM   #3
vacman
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the suggestion SirSlappy...all computers are connected by ethernet. All connected to a router and I can share files amongst the Windows PC all day long and from can pull files from the Windows machines to the Linux machine. I just figure why I cant access the Linux machine....I really hope the answer is out there otherwise looks like I got long days ahead of me redoing the machines...yuck!

Last edited by vacman; 07-16-2004 at 12:53 AM.
 
Old 07-16-2004, 01:22 AM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Did you add the guest account to both the system and the Samba password database?
 
Old 07-16-2004, 02:11 AM   #5
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
Never used guest only access but one issue I've come across and tested is that the linux permissions on the share have to have root as the group owner otherwise Samba can't grant permissions.

Hope this helps.
 
Old 07-16-2004, 03:10 AM   #6
vacman
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you all for responding!! I appreciate your time and effort into helping out.

I solved the issue...it was something on the windows side...how did I fix it?....I redid one of my Windows machines and voila....it worked the first time.

I agree with SirSlappy as Winblowz XP suckz

Thanks again guys!!

Good to know my Samba wasnt screwed up at all!!
 
Old 07-16-2004, 05:06 AM   #7
caruso
LQ Newbie
 
Registered: Feb 2004
Location: Bavaria
Distribution: SuSE
Posts: 13

Rep: Reputation: 0
Have you added the windows-username in linux?
 
  


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
Can't access my linux share through samba. I get permission denied. mlsbraves Linux - Software 1 08-16-2005 07:59 PM
Permission denied when access linux from windows through NFS implementation red_colt Linux - Networking 2 08-12-2005 02:54 AM
SuSe Linux and Samba Problem - Access is Denied yong_sa Linux - Networking 6 07-09-2005 02:29 PM
access denied on squirrelmail / dovecot / SE Linux policy rioguia Linux - Security 2 07-06-2005 11:25 PM
access linux shares from winxp flynnhandley Linux - Networking 2 08-27-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration