Jim C. wrote:
>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
My setup:
interfaces = eth0, lo
bind interfaces only = Yes
hosts allow = 192.168.2.,127.
hosts deny = ALL
"bind interfaces only" will make the server ignore packets from any
interfaces not in the "interfaces" list. hosts allow and hosts deny are
self explanatory. They are used to deny packets based on specific IP
addresses and in function are similar to tcp wrappers.
Does this help?
Jim C.
This is not what i meant. More detailed info:
Before adding the new interface:
[EMAIL PROTECTED] root]# lsof|grep netbios
smbd 15498 root 19u IPv4 5425835 TCP
a.b.c.hu:netbios-ssn (LISTEN)
nmbd 15503 root 6u IPv4 5425838 UDP
*:netbios-ns
nmbd 15503 root 7u IPv4 5425839 UDP
*:netbios-dgm
nmbd 15503 root 8u IPv4 5425841 UDP
a.b.c.hu:netbios-ns
nmbd 15503 root 9u IPv4 5425842 UDP
a.b.c.hu:netbios-dgm
After adding the new interface and sending SIGHUP to smbd, nmbd:
[EMAIL PROTECTED] root]# lsof|grep netbios
smbd 15498 root 19u IPv4 5425835 TCP
a.b.c.hu:netbios-ssn (LISTEN)
nmbd 15503 root 3u IPv4 7920487 UDP
a2.b.c.hu:netbios-ns
nmbd 15503 root 6u IPv4 5425838 UDP
*:netbios-ns
nmbd 15503 root 7u IPv4 5425839 UDP
*:netbios-dgm
nmbd 15503 root 8u IPv4 5425841 UDP
a.b.c.hu.hu:netbios-ns
nmbd 15503 root 9u IPv4 5425842 UDP
a.b.c.hu:netbios-dgm
nmbd 15503 root 16u IPv4 7920488 UDP
a2.b.c.hu:netbios-dgm
So nmbd binded to the new a2.b.c.d interface but smbd did not, though
it'd re-read smb.conf.
Krisztián
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba