Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] Can't access Samba public directory from MS Windows

44 views
Skip to first unread message

Katherine Chan

unread,
Nov 30, 2003, 11:30:07 PM11/30/03
to

My Linux XP (hostname "isat", IP 192.168.1.8) is in the same workgroup
as my Microsoft PC running Windows 2003 (IP 192.168.1.7).
On my Linux host, I have a [public] section in the smb.conf file, as shown
at the end of this message.

When I typed the command
smbclient '\\isat\public'
the following message was displayed:
added interface ip=192.168.1.8 bcast=192.168.1.15 nmask=255.255.255.240
password:

I typed in the password for the owner of directory /home/public.
The following text was displayed:
Domain=[WORKGROUP] Os=[Unix] Server=[Samba 2.2.7a]
Smb:\>

This shows that I can connect to a file service.

I then go to the DOS command screen on my Windows PC and
typed the following to map network drive g: to directory /home/public on my Linux XP
net use g: \\isat\public

The following error message was displayed:
System error 53 has occurred
The network path was not found

I also tried the following:

>From the Windows PC
My Network Places --> Computers Near Me

I can see "isat" under the "Name" column with
comment "Samba server"

But when I clicked on entry "isat", the following error message
was displayed:
\\isat is not accessible
The Network path was not found
I can ping the Linux IP 192.168.1.8 from my Windows PC
and I can also ping my Windows PC IP 192.168.1.7 from the Linux XP
but I cannot ping the Linux hostname "isat" from the Windows PC.

My /home/public directory on the Linux XP has mode 0777 (rwxrwxrwx).
Do you know what could be causing this problem?

Thanks!

Katherine


=====================================================
Some of the relevant lines in my smb.conf file are shown below:

[global]
workgroup = WORKGROUP
hosts allow = 192.168.1.0/255.255.255.240 127.
security = user
log file = /var/log/samba/%m.log
max log size = 0
dns proxy = no

[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775

[public]
path = /home/public
public = yes
only guest = yes
writable = yes
printable = no

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

Joel Hammer

unread,
Nov 30, 2003, 11:50:13 PM11/30/03
to
The best advice is to walk through DIAGNOSIS.txt.
To find it,
locate DIAGNOSIS.txt
This sounds like name resolution isn't working or you have a firewall
problem.

Joel

--

Mark

unread,
Dec 1, 2003, 12:00:13 AM12/1/03
to

If you are using Redhat Linux, this error message is very common if the
firewall is running. You will need to either shutdown the firewall or
open ports 137-139.

--
Regards,
Mark
Samba Setup Guide: www.samba.netfirms.com
Courier-imap Tutorial: www.samba.netfirms.com/courier/courier.html
Tikanni Server Installer: http://sourceforge.net/projects/tikanni

0 new messages