Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-25-2003, 05:30 AM   #1
LQ Newbie
Registered: May 2003
Posts: 2

Rep: Reputation: 0
windows xp and samba access denied

Hello All,

I'm having a problem communicating b/w my Linux box and my Windows XP using samba. I have no problem talking to my XP from my samba, but I am getting an "access denied" when I try to do a 'net view \\sambaserver'.

first question is : do i have to set up the Xp Pro to logon to the box as a domain user?

secondly: when I try to view the system from my Xp pro system I get an access denied, why is this? I even get this error when I try to browse the network, even though I am the network administrator.

thirdly: in samba when I do a 'smbclient -L samba-server' ; it gives me the follow

added interface ip= bcast= nmask=
Got a positive name query response from ( )

why does it asks me for a password when I am root?

I have created users and the workstation infromation for the smb.conf. Below is my smb.conf file:

If you can help it would be greatly appreciated!!!

;Make sure restart the server after making changes to this file, ex:
;/etc/rc.d/init.d/smb stop
;/etc/rc.d/init.d/smb start

;Uncommnet this if you want a gues account
;guest account=nobody
workgroup = MSHOME
hosts allow =192.168.1.
admin users = root
domain logons = yes
domain master = yes
logon home = \\eradiate-linux\home\%u
security = user
wins support = no
log file=/var/log/samba-log.%m
lock directory=/var/lock/samba
share modes=yes
smb passwd file = /etc/samba/smbpasswd

create mode =0600
directory mode = 0700
read only = no
valid users = %S
path = /usr/Data
read only=yes
public =yes

Old 05-25-2003, 09:55 PM   #2
LQ Newbie
Registered: May 2003
Distribution: RedHat
Posts: 6

Rep: Reputation: 0
Check out the link below....Lots of great info. re. Win2K & XP joining the domain....
Old 05-27-2003, 08:07 AM   #3
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
9 times out of 10 this is caused by the Linux firewall. By default the Linux firewall blocks all communication from the LAN.

Disable the Linux firewall or configure it to see eth0 as a trusted device.

What distro are you using?
Old 05-27-2003, 02:14 PM   #4
LQ Newbie
Registered: May 2003
Posts: 1

Rep: Reputation: 0

i'm having the same problem as the original poster (linux can see windows ok, windows cannot see linux).

you mention that the firewall may be the problem and then adding eth0 as a trusted device.

since i am a newbie, would you mind stepping me through this or point me to a reference that explains how to do this?

i'm running redhat 9.0 (mostly default installation).


Old 06-01-2003, 09:58 PM   #5
LQ Newbie
Registered: May 2003
Posts: 2

Original Poster
Rep: Reputation: 0

finally a solution...

the problem seemed to have been my firewall. I just totally disabled it.

Run "lokkit"

after disabling the firewall i had no further problems. i'll eventually have to put it back up again, with the proper security... but until then everything works!

thanks all.



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
Samba - access denied on windows time112852 Linux - Software 11 06-04-2010 10:08 AM
samba/swat access denied bob_man_uk Linux - Software 2 10-19-2005 03:12 AM
Samba - access denied on windows suco Linux - Software 6 09-26-2005 10:30 PM
Samba - Access denied aikempshall Linux - Networking 22 08-24-2004 06:50 AM
Access denied XP samba shares djtsa Linux - Software 0 10-02-2003 06:26 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:08 PM.

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