Need guidance on running separate nmbd/smbd on each interface
Eric Boehm
boehm at nortelnetworks.com
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 = 47.156.160.179
comment = "Samba %v server"
share modes = yes
getwd cache = yes
browseable = yes
load printers = no
local master = no
username map = /usr/local/samba/lib/username.map
#debug level = 10
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=32768 SO_RCVBUF=32768
include = /usr/local/samba/lib/smb.conf.global.zrtps075
include = /usr/local/samba/lib/smb.conf.shares.%h
/usr/local/samba/lib/smb.conf.global.zrtps075
server string = "UAS/PTM/SNM ClearCase VOB Server %h (%L), Samba"
interfaces = "47.111.70.81/20 127.0.0.1/8"
netbios aliases = ZRTPS075
bind interfaces only = yes
debug pid = yes
log files = /usr/local/samba/lib/log.%L
The files for zrtps076 (47.140.7.212/20) and zrtps077 (47.202.34.210/20) look
the same except for the interfaces.
It's probably a mistake to have 127.0.0.1/8 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 nortelnetworks.com
More information about the samba
mailing list