[Samba] Help Required !

Bijo bijo_chacko at sifycorp.com
Tue Jun 3 06:04:06 GMT 2003


Hi,

We have configured samba server(2.2.8a) on linux 7.3 for our Office Lan,
which has got 7 diffrent private subnets(10.1.1.0, 10.1.2.0,
...10.1.7.0/24). After migrating machines from 2 subnets we have seen that
we are able to view all the machines from these 2 subnets from the client.
The plan was the machines in one subnet can see only the machines in that
specific subnet and not other subnet machines. Can you please let me know
how to block this through config file?.

please note that we have done the same setup in one of our bracnh office in
a diffrent location, with the same config and there it is working as normal.
(They can see only those machines comes under in that particular network).
I'm attaching the smb.conf file for our site, please go through it and let
me know where is the mistake I've done or is it something to do with the
network configuration.

[global]
security = user
netbios name = test
workgroup = test1
encrypt passwords = yes
preferred master = yes
domain logons = yes
domain master = yes
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
guest account = nobody
share modes=no
os level = 65
logon path = \\%L\%U\profile
logon home = \\%L\%U\profile
wins support = yes
log level = 1
log file = /usr/local/samba/var/logs/log.%m
deadtime = 1

[homes]
guest ok = no
read only = yes
create mask = 0700
directory mask = 0700
locking = no

[netlogon]
path = /usr/local/samba/netlogon
writeable = no
guest ok = no

[profiles]
path = \\%L\%U\profile
writable = no
create mask = 0600
directory mask = 0700

Thanks in Advance

Bijo






More information about the samba mailing list