[Samba] Can't access shares from Win98 machine

Joel Hammer Joel at hammershome.com
Thu Jul 31 10:26:44 GMT 2003


Just some thoughts:

You should have a guest account defined in your global. Try:
guest account = ftp
or
guest account = root
or
guest account = some_regular_user
or
guest account = special_samba_user_you_create

depending on your security needs.

 
You need to have ports 137 and 139 open on your Redhat server. 

Is samba running on your server?  Odd that you can't connect from you local
box.

Is xinetd trying to control samba? That has all sorts of ways not to
work. Best to have samba as a stand alone daemon.

Joel

  
yrOn Wed, Jul 30, 2003 at 05:43:57PM -0700, Dan Pixley wrote:
> Hello all.  I have recently set up Samba on my Rehdat 9 machine. I have
> on my home network 2 computers, one running Redhat 9 (with Samba as
> mentioned), and the other running Windows 98 2nd ed.  My RH machine can
> read and access shared directories on the Win98 machine just fine.  My
> Windows machine can see my Redhat machine on the smb, but cannot access
> the shares.  In other words, when I go to "Network Neighborhoods" ->
> "Mshome" -> "The_Machine", I see my two shares (homes and test), but
> when I try clicking into them, I am unable to access them.  I am running
> Samba 2.2.7.  Here is my smb.conf:
> 
> # Samba config file created using SWAT
> # from localhost.localdomain (127.0.0.1)
> # Date: 2003/07/29 22:12:24
> 
> # Global parameters
> [global]
> 	workgroup = MSHOME
> 	netbios name = THE_MACHINE
> 	server string = Samba Server
> 	security = SHARE
> 	encrypt passwords = Yes
> 	null passwords = Yes
> 	passwd program = /usr/bin/passwd %u
> 	passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> 	unix password sync = Yes
> 	log level = 3
> 	log file = /var/log/samba/%m.log
> 	max log size = 0
> 	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> 	preferred master = Yes
> 	local master = No
> 	dns proxy = No
> 	kernel oplocks = No
> 	printing = cups
> 
> [homes]
> 	comment = Home Directories
> 	path = /home/Dan1/Shared
> 	valid users = %S
> 	read only = No
> 	create mask = 0664
> 	directory mask = 0775
> 	guest ok = Yes
> 
> [printers]
> 	comment = All Printers
> 	path = /var/spool/samba
> 	printable = Yes
> 	browseable = No
> 
> [test]
> 	path = /home/Dan1/Shared
> 	read only = No
> 	guest ok = Yes
> 
> Other things: 
> ]# smbclient //localhost/The_Machine
> added interface ip=192.168.1.102 bcast=192.168.1.255 nmask=255.255.255.0
> error connecting to 127.0.0.1:139 (Connection refused)
> Error connecting to 127.0.0.1 (Connection refused)
> Connection to localhost failed
> 
> # nmap 127.0.0.1
> Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
> Interesting ports on localhost.localdomain (127.0.0.1):
> (The 1595 ports scanned but not shown below are in state: closed)
> Port       State       Service
> 22/tcp     open        ssh
> 25/tcp     open        smtp
> 111/tcp    open        sunrpc
> 631/tcp    open        ipp
> 901/tcp    open        samba-swat
> 6000/tcp   open        X11
> Nmap run completed -- 1 IP address (1 host up) scanned in 2 seconds
> (I disabled my software firewall for the time being)
> 
> My home network is strung together using a Linksys Router with NAT
> firewall.  With my current router configuration, and if I boot the
> Redhat machine into Windows, I am able to access the Windows shares just
> fine.  
> 
> Any info would be greatly appreciated. 
> 
> Thanks in advance,
> Dan
> -- 
> Dan Pixley <danpixley at cox.net>
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list