Samba questions

Jerry Feldman gaf at blu.org
Tue Jun 8 09:22:27 EDT 1999


I have my SuSE Linux system now set up with a reasonable smb.conf file,
but I am having a couple of problems with one of the Windoz systems:
First, my network looks like this:
192.168.0.1 SuSE Linux - name SuSE
192.168.0.2 Red Hat 5.2 Alpha Linux name alpha
192.168.0.3 Windows 95 (OSR2) name windoz
192.168.0.4 Windows98 (Not yet on network until I fish the cable and get
the connectors on right).


Both the SuSE system and the Windoz system have cable modems on the other
interfaces. (The reason for 2 cable modems is that my wife wants a stable
system, and I'm always messing with my systems. I know I would be better
off with a dedicated firewall, and I might use the Alpha for that and
cancel wife's account). I have set up the workgroup names correctly on all
3 systems.

I can do smbclient -L alpha from the SuSE and smbclient -L SuSE from the
Alpha. smbclient reports printers and shares correctly. It shows the work
group name correctly. 

When I do smbclient -L windoz on either system, it fails. 
I have a /etc/lmhosts file as well as /etc/hosts. All systems are pingable
from eachother. 

On the Windows system, when I check network neighborhood, it sees itself
and the alpha, but not the SuSE. The ip addresses are correct in the
c:\windows\lmhosts file. 

I have the allow hosts = localhost, 192.168.0.
I have also set up the interfaces = 192.168.1 (on the SuSE) since it has 2
interfaces. The netmasks default to 255.255.255.0.

just to summarize:
Alpha can see SuSE and Windoz
Windoz can only see Alpha, not SuSE
SuSE can only see Alpha. 
The /etc/lmhosts file on all 3 systems are cloned. I suspect that I
probably forgot to set one of the parameters in smb.conf. (BTW: smbd and
nmbd are run at boot time, not by inetd. Also, I have read the Samba
howto as well as much of the smb.conf(5) man page. 

Tonight I thought I might try explicitly listing each host in the allow
hosts and see if that works. 

Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
http://www.blu.org

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list