[Samba] Bind to eth1 only problem

Noah Dain noahdain at gmail.com
Thu Nov 3 04:39:26 GMT 2005


On 11/2/05, Noah Dain <noahdain at gmail.com> wrote:
> On 11/2/05, Joseph T. Duncan <duncanjo at ucs.orst.edu> wrote:
> > Hello,
> >
> > I am trying to setup a samba server as a pdc bound to eth1 only (testing
> > network). however I still seeing samba bind to eth0. I am running a debian
> > unstable box... any ideas? do you need anything more to go on? (see
> > attachments)
> >
> > I am starting smbd and nmbd up using a startup script out of
> > /etc/init.d with the options:
> > --exec /usr/sbin/nmbd -- -s /etc/samba/smb.ts.conf -D;
> > --exec /usr/sbin/smbd -- -s /etc/samba/smb.ts.conf -D;
> >
> > Linux version 2.6.13 (root at mpk) (gcc version 4.0.2 20050917 (prerelease)
> > (Debian 4.0.1-8)) #1 SMP Fri Sep 23 12:45:10 PDT 2005
> >
> > version.txt     version of samba
> > nmap.eth0.txt   nmap output of public network (the one smb should NOT bind to)
> > nmap.eth1.txt   nmap output of internal network (the one smb should bind to)
> > smb.ts.conf     my samba config
> > testperm.txt    output of testperm against my samba config
> >
> > any help or ideas how to get this to bind only to eth1 would be great!
> >
> > _________________________________________________________________________
> > Info:                           Email:
> > Joseph T. Duncan                  work: duncanjo at ucs.orst.edu
> > Student Computing Facilities      Home: Joseph.Duncan at orst.edu
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
> >
> >
>
in smb.conf [global]:
  bind interfaces only = yes
  interfaces = 192.168.1.1/24

works for me, but running debian stable.

interface names vary per unix, so maybe that's why samba just uses the
ip addresses.

--
Noah Dain


More information about the samba mailing list