Newbie lost in SAMBA Space : How can I Browse two subnets with one Samba on the gateway ?

Laurent Deffranne Laurent.Deffranne at dexia.be
Fri Dec 29 12:25:36 GMT 2000


Hello all,


Here is my problem : I have :


- 2 lans : 10.0.1.0 & 10.0.2.0, mask 255.255.255.0
- 1 gateway (linux of course) on 10.0.1.100 & 1.0.0.2.100
- only 1 workgroup needed : "Croix-Place"

Network quality : the pings are ok, everything quite normal.


ALL I want is that ALL the computers (running Win 98 on the two lans) to appear on the Win98 Network Neightboorhood.
I have a lot of problems to enable this. Easy problem, difficult solution ? 

Could someone tell me if the following smb.conf is correct ???
Because I have tried to build a lot of these and it never worked.
######### START ######################
[global]

# Who am I ?
#############
netbios name = "Macphisto"
workgroup = "Croix-Place"
server string = "Linux Server running Samba %v"

# Who are the others ? (needed for browsing ?)
##############################################
guest account = ftp

host allow = 10.0.1. 10.0.2. localhost
interfaces = 10.0.1.100/24 10.0.2.100/24
bind interfaces only = yes

wins support = yes
dns proxy = no
name resolve order = wins lmhosts host bcast 
;wins proxy = yes

domain master= yes
local master = yes
preferred master = yes
os level = 65

socket options = TCP_NODELAY

security = share

;lm announce=true
;lm interval = 60

#####################
# SHARES FOLDERS #
####################
[boite]
path = /home/boite
browsable = yes
writeable = yes
public = yes

######## STOP ######################


Other Question  : If the linux/samba runs "local master=yes", and is defined on the two interfaces ("interfaces=..."), what do I need to run ?

- 1 smbd with the following smb.conf (all xxxx master = yes)
- 1 smbd as local master and another one as domain master (so 2 smbd daemons)
- 2 smbd daemons (one for each subnet) , one of these 2 is the domain master
- 3 smbd damons (2 local master and 1 domain master)
- ....

Last Question :
I've read on the Net that we need to disable LM Browse Master in "Print and file sharing"... is this really needed ???


Please Help ! Even a simple comment is welcome.

Thanks,

L. Deffranne




More information about the samba mailing list