Need guidance on running separate nmbd/smbd on each interface

Eric Boehm boehm at
Mon Sep 11 13:43:21 GMT 2000

I have 4 systems with multiple network interfaces. I need to run nmbd/smbd as
separate daemons on each interface. 

I am having difficulty figuring out what the smb.conf file should look like.

I am trying to:

1. have the log files named different for each interface
2. figure out what interfaces and bind interfaces should look like

I've tried the following:

/usr/local/samba/bin/smbd -D -s /usr/local/samba/lib/smb.conf.zrtps075
/usr/local/samba/bin/nmbd -D -s /usr/local/samba/lib/smb.conf.zrtps075

/usr/local/samba/bin/smbd -D -s /usr/local/samba/lib/smb.conf.zrtps076
/usr/local/samba/bin/nmbd -D -s /usr/local/samba/lib/smb.conf.zrtps076

/usr/local/samba/bin/smbd -D -s /usr/local/samba/lib/smb.conf.zrtps077
/usr/local/samba/bin/nmbd -D -s /usr/local/samba/lib/smb.conf.zrtps077

# Global parameters 
        workgroup = PCNTRTP
        security = domain 
        encrypt passwords = yes 
        password server = *
        #password server = NRTPDE10, NRTPDE11, NRTPDE12, PCNTRTP01, PCNTRTP02
        client code page = 437 
        # Samba requests 10000 but Solaris has only 1014 to spare 
        max open files = 1014 
        wins server =
        comment = "Samba %v server" 
        share modes = yes
        getwd cache = yes
        browseable = yes
        load printers = no
        local master = no
        username map = /usr/local/samba/lib/
        #debug level = 10
        socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=32768 SO_RCVBUF=32768
        include = /usr/local/samba/lib/
        include = /usr/local/samba/lib/smb.conf.shares.%h

        server string = "UAS/PTM/SNM ClearCase VOB Server %h (%L), Samba"
        interfaces = ""
        netbios aliases = ZRTPS075
        bind interfaces only = yes
        debug pid = yes
        log files = /usr/local/samba/lib/log.%L

The files for zrtps076 ( and zrtps077 ( look
the same except for the interfaces. 

It's probably a mistake to have in all the interfaces lines but I
wasn't sure what to do. I looked through the Using Samba web pages and the
textdocs but didn't find anything helpful. If I missed it, feel free to
correct me.

Eric M. Boehm                               boehm at

More information about the samba mailing list