LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-12-2008, 10:41 PM   #31
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

Are you seeing anything in any of the samba logs?
 
Old 11-12-2008, 10:45 PM   #32
samohn
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
hi michaelk,

I do not receive the error messages after I set the host name and IP address in HOSTS file. But, now I see different error mesage:

\\samba is not accessible. You might not have permission to use the network resource....

Thank you very much for your help.
 
Old 11-12-2008, 10:48 PM   #33
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Another question - you say you opened your firewall by using "iptables -F". That will not necessarily work. Can you show "iptables -L"?
 
Old 11-12-2008, 10:57 PM   #34
samohn
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Are you seeing anything in any of the samba logs?
No. I do not see any suspicious logs. But, I think it means that smbd did not receive any request from the client. The log files contains only the log for server's starts and stops.

Also, I just noticed that I gave you wrong information.

I still see the error messages when I run
#net view \\samba command

The error message was "System error 53 has occurred."
"The network path was not found."

MS Tech-net says the error message happned because it could not find the network share resource.
 
Old 11-13-2008, 12:46 AM   #35
samohn
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by billymayday View Post
Another question - you say you opened your firewall by using "iptables -F". That will not necessarily work. Can you show "iptables -L"?
The iptables is:

Quote:
[root@localhost samba]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere state NEW udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:microsoft-ds
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
It does not look like before after I flashed it...
 
Old 11-13-2008, 06:37 AM   #36
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Try enabling netbios over TCP/IP on the windows box.
Do the nmbd logs and smbclient show samba as being the netbios name?
 
Old 11-13-2008, 09:08 AM   #37
samohn
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
Try enabling netbios over TCP/IP on the windows box.
Do the nmbd logs and smbclient show samba as being the netbios name?
Hi,

I posted the results of nmbd log and smbclient command. Please let me know what you think. It looks like there has been no access from the XP?

Mygroup has appeared on the XP's network place, but "access denied.." error occurs.

Currently the share directory is /var/samba/share and the permissions of share and samba directory are 766. the owner of the directories is root.

Net view command on DCW still returns error "System error 53 as
>net view \\xxx.xxx.xxx

Please let me know what you think.



The nmbd logs:
Quote:
[2008/11/13 01:51:41, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(395)
*****

Samba name server SAMBA is now a local master browser for workgroup MYGROUP on subnet 192.168.77.200

*****
The result of smbclient -L samba was:
Quote:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.2.0rc1-15.fc9]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
public Disk Public Stuff
share Disk Share holder
IPC$ IPC IPC Service (Samba Server Version 3.2.0rc1-15.fc9)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.2.0rc1-15.fc9]

Server Comment
--------- -------
SAMBA Samba Server Version 3.2.0rc1-15.fc9

Workgroup Master
--------- -------
GLOBE LT1
MYGROUP SAMBA
 
Old 11-14-2008, 07:04 AM   #38
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
Did you enable netbios over tcp/ip on the windows computer?
 
Old 11-14-2008, 11:20 AM   #39
samohn
Member
 
Registered: Aug 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by michaelk View Post
Did you enable netbios over tcp/ip on the windows computer?
Yes, I did right after you told me, but it did not work.

I have found that some people had the same kind of problem. I've been working on this problem for almost one week, and had no luck
The great thing is that there have been some people like you have helped me for many days.

I just used another computer which also has xp and saw the same problem.

I am checking the router's firewall setting on the LAN.
Is there any firewall setting you can recommend for Samba?
 
  


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
Xp-host can't access internet through my Fedora box?? Techno T Linux - Networking 6 06-14-2007 12:25 PM
Samba - No Write Access from Linux Box HKDude Linux - Networking 6 05-30-2005 02:59 PM
Samba: Windows XP Pro access to Linux box bramadams Slackware 7 02-05-2005 09:25 AM
Access Mandrake box from Fedora Core 1 box btexpress Linux - Networking 0 05-30-2004 07:50 PM
Samba access WIN XP shares from linux box rmanocha Linux - Software 8 10-24-2003 08:28 AM

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

All times are GMT -5. The time now is 01:14 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