confusing configuration question

Leonard Jacobs lj at
Mon Feb 26 00:54:49 GMT 2001

I am trying to set up SAMBA on a RedHat Linux box, running 
SAMBA 2.0.7. On my local net the smb.conf file listed below 
works fine. But I need to share the SAMBA directories beyond my 
local net and want to be able to use the "hosts allow" directive. 
However when that line is not commented out, I get the following 
error on the server: "Not listening for calling name" and am not able 
to connect to the SAMBA Directories.

So the working smb.conf is here:

netbios name = MANDALA
workgroup = WORK-GROUP

	wins support = no

;	hosts allow = XXX.XXX.XXX. 127.
	interfaces = XXX.XXX.XXX.X

	security = user
	log file = /var/log/samba/%m.log

encrypt passwords = yes
remote announce = 66.31.XXX.XX

guest ok = yes
read only = no

 comment = temporary files 
 path = /tmp
 read only = yes
 username = administrator

Any suggestions would be greatly appreciated.

  Leonard Jacobs
  (508) 359-5473

More information about the samba mailing list