Hello I have a three computer peer to peer network. 2 win98 machines and 1
Redhat Linux box.  I wish to share the /pub directory on the linux box
through samba with the win98 machines. I do not run any sort of
authentication on the win98 machines (anyone can sit down and use them).
I want both win98 machines to have read write access to the samba share of
/pub.
I have client IP and for microsoft networks installed on both win98
machines. All three machines are on the same subnet 192.168.0.*
/255.255.255.0
The samba server is visable in network neighborhood but I get an error
message when I try to see the shares on it.
(trying to map the shares directly does not work either)
the error is:
\\Comuptosbox is not accessable
I have loaded swat (and like it vary much), but still cant get things to
work.
what am I doing wrong?  I am unsure about:
who should own /pub
what file permissions /pub should have
is win98 setup correctly
is what I am trying to do possible with samba?
what users should be listed in the smbpasswd file
Thanks for any help that you can give
-Jeff Post
postjeff@uwm.edu
# Samba config file created using SWAT
# from ComputosBox (127.0.0.1)
# Date: 2001/12/16 00:55:05
# Global parameters
[global]
        workgroup = 1541
        server string = Samba Server
        security = SHARE
        encrypt passwords = Yes
        map to guest = Bad User
        null passwords = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        hosts allow = 192.168.0.
        printing = lprng
[public]
        comment = Pub
        path = /pub
        read only = No
        guest only = Yes
        guest ok = Yes
        hosts allow =
I would look at the RH firewall (ipchains or iptables.) You need ports 137,138,139 open. cat /etc/services | grep -i netbios Also note my comments below. Joel> The samba server is visable in network neighborhood but I get an error > message when I try to see the shares on it. > (trying to map the shares directly does not work either) > the error is: > \\Comuptosbox is not accessable > > # Date: 2001/12/16 00:55:05 > # Global parameters > [global] > workgroup = 1541 > server string = Samba Server > security = SHARE > encrypt passwords = Yes > map to guest = Bad User <--Do you need this? > null passwords = Yes <--Do you need this? > log file = /var/log/samba/%m.log > max log size = 0 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > dns proxy = No > hosts allow = 192.168.0. > printing = lprng > > [public] > comment = Pub > path = /pub > read only = No > guest only = Yes <----Do you need this? > guest ok = Yes > hosts allow = <---Do you need this? >
Thanks to Joel Hammer, Mike Watson and Arun Shrimali for responding and pointing me in the right direction. The problem truned out to be the firewall (ipchains). I also needed to add: map to guest = Bad User to my globals section and: guest ok = Yes to the public share. Everything is working great now!!! Thanks Again guys Jeff Post postjeff@uwm.edu