Hi all!
I use samba 3.0.7 with "bind interfaces only" option. For
"interfaces"
option I use eth1.3:* expression which works fine at startup: samba
binds to eth1.3:1
Later, when I configure eth1.3:2 up, sending SIGHUP to smbd it does not
bind to eth1.3:2 (nmbd does). smbd.log says:
[2005/05/23 08:11:22, 1] smbd/server.c:open_sockets_smbd(348)
Reloading services after SIGHUP
[2005/05/23 08:11:22, 3] param/loadparm.c:lp_load(3906)
lp_load: refreshing parameters
[2005/05/23 08:11:22, 3] param/loadparm.c:init_globals(1307)
Initialising global parameters
[2005/05/23 08:11:22, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file
"/etc/samba/smb_cab.conf"
[2005/05/23 08:11:22, 3] param/loadparm.c:do_section(3399)
Processing section "[global]"
doing parameter max log size = 50
doing parameter pid directory = /var/run/cab
doing parameter security = domain
doing parameter password server = xx.xx.xx.hu
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
doing parameter bind interfaces only = yes
doing parameter interfaces = eth1.3:*
doing parameter wins server = 160.xx.xx.xx
doing parameter dns proxy = no
doing parameter unix charset = iso8859-2
doing parameter include /usr/local/cmcluster/conf/sambapub/smb-cab_pub.conf
[2005/05/23 08:11:22, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file
"/usr/local/cmcluster/conf/sambapub/smb-cab_
pub.conf"
[2005/05/23 08:11:22, 2] param/loadparm.c:do_section(3416)
Processing section "[pub]"
doing parameter comment = Public
doing parameter browseable = yes
doing parameter writable = no
doing parameter path = /mnt/pub
doing parameter include /usr/local/cmcluster/conf/sambacab/smb-cab_home.conf
[2005/05/23 08:11:22, 3] param/params.c:pm_process(566)
params.c:pm_process() - Processing configuration file
"/usr/local/cmcluster/conf/sambacab/smb-cab_
home.conf"
[2005/05/23 08:11:22, 2] param/loadparm.c:do_section(3416)
Processing section "[homes]"
doing parameter comment = Home Directory
doing parameter browseable = no
doing parameter writable = yes
doing parameter path = /mnt/nfscab/%u
[2005/05/23 08:11:22, 4] param/loadparm.c:lp_load(3937)
pm_process() returned Yes
[2005/05/23 08:11:22, 3] param/loadparm.c:lp_add_ipc(2377)
adding IPC service
[2005/05/23 08:11:22, 3] param/loadparm.c:lp_add_ipc(2377)
adding IPC service
[2005/05/23 08:11:22, 2] lib/interface.c:add_interface(79)
added interface ip=160.xx.xx.xx bcast=160.xx.xx.xx
nmask=255.255.255.0
[2005/05/23 08:11:22, 2] lib/interface.c:add_interface(79)
added interface ip=160.xx.xx.xx bcast=160.xx.xx.xx
nmask=255.255.255.0
[2005/05/23 08:12:34, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
## ip addresses removed
So, smbd sees the new interface, but does not listen to it: I have to
stop and start smbd. This is not good for me, as new interfaces are
added by a cluster software which monitors if smbd is running: it
should not be stopped+started only reloaded.
nmbd works fine with this situation, it listens to the new interface.
Any ideas how to make smbd to listen on the new interface?
Krisztian