I have not tried this, but if you have two interfaces setup on your server
and this samba server is only intended to serve on network, try using the
bind interfaces only command to bind the specific interface you want to have
access. You can also setup virtual servers and try binding each of these to
a correct interface. Again, I have not tried this, but it is an idea.

Chad

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Charles Galpin
> Sent: Monday, October 23, 2000 1:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ipchains, 2 subnets & samba
>
>
>
>
> On Sat, 21 Oct 2000, Mikkel L. Ellertson wrote:
>
> > On Sat, 21 Oct 2000, Charles Galpin wrote:
> > >
> > > My problem - the other domain appears on both subnets, as well as the
> > > machines in them. Fortuantely when you try access them you cannot. The
> > > other shares (with 'host deny') also show up on the server - again you
> > > cannot access them.
> > >
> > > So, how can I get each subnet to only see one netbios domain?
> > >
> > > How can I get samba to hide the the shares that have 'host
> deny' for that
> > > subnet?
> > >
> > > I made a weak attempt at modifying /etc/rc.d/init.d/samba to run two
> > > instances of smb and nmb with seperate config files, but only
> the first
> > > one started - I think I would have run into a lockfile issue
> anyway as I
> > > didn't see a way to specify a different lock file. If this is the
> > > solution, please show me how to do this.
> > >
> > > tia
> > > charles
> > >
> > >
> > I don't know how to do this with just Samba, but one way you could do it
> > is to not have Samba be the master browser on the networks.  Have one of
> > the Windows machines on each network be the master browser, and
> they will
> > only see the machines on their subnet.
>
> Great! This did it. thanks
>
> > You can probably get two copies of smbd running using the bind
> interfaces
> > only option and only specifing one interface.  You can use the -s option
> > to specify a different config file for each one.  There are
> some drawbacks
> > to this - read the smb.conf man page for the details.
>
> See my comment above regarding my (weak) attempt at this. I did use the -s
> option. I'm sure it's possible, but didn't want to waste too much time on
> it since I was sure it could be done with a single server.
>
>
> thanks again
> charles
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to