wins_srv_died() - Samba has left the building
Samba has within the last week or so decided it was done working for me. I
recv the following error:
[root@LINUXBOX /]# smbclient -L devbox
added interface ip=192.168.2.252 bcast=192.168.2.255 nmask=255.255.255.0
wins_srv_died(): Could not mark WINS server 127.0.0.1 down.
Address not found in server list.
Connection to devbox failed
Now clients excluding the RH9 box are winxp and win2k3. All windows clients
can see each other but cant see the RH9 box. The RH box is listed as the
WINS server for the subnet.
Relivent info pulled from /etc/samba/smb.conf
---------------------------------------------------
netbios name = LINUXBOX
workgroup = WORKGROUP
hosts allow = 192.168.2. 127.
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.2.252/24
interfaces = 192.168.2.252
remote announce = 192.168.2.255
local master = yes
domain master = yes
preferred master = yes
wins support = yes
I have tried adding 127.0.0.1 to the interfaces which gives the same result
just with 127.0.0.1 instead.
Relivent info pulled from /etc/sysconfig/iptables
---------------------------------------------------
-A INPUT -s 192.168.2.0/255.255.255.0 -p tcp -m tcp --dport 137:139 -j
ACCEPT
I have also tried adding 127.0.0.0/255.0.0.0 above w/the same results
Relivent info pulled from /var/log/samba/log.nmbd
---------------------------------------------------
[2005/02/28 09:14:23, 0] nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.7a-security-rollup-fix started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2005/02/28 09:14:23, 0] nmbd/asyncdns.c:start_async_dns(148)
started asyncdns process 3406
[2005/02/28 09:14:24, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(339)
become_domain_master_browser_wins:
Attempting to become domain master browser on workgroup WORKGROUP, subnet
UNICAST_SUBNET.
[2005/02/28 09:14:24, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(354)
become_domain_master_browser_wins: querying WINS server at IP
192.168.2.252 for domain master browser name WORKGROUP<1b> on workgroup
WORKGROUP
[2005/02/28 09:14:25, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
*****
Samba server LINUXBOX is now a domain master browser for workgroup
WORKGROUP on subnet UNICAST_SUBNET
*****
[2005/02/28 09:14:25, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
become_domain_master_browser_bcast:
Attempting to become domain master browser on workgroup WORKGROUP on
subnet 192.168.2.252
[2005/02/28 09:14:25, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(305)
become_domain_master_browser_bcast: querying subnet 192.168.2.252 for
domain master browser on workgroup WORKGROUP
[2005/02/28 09:14:35, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
*****
Samba server LINUXBOX is now a domain master browser for workgroup
WORKGROUP on subnet 192.168.2.252
*****
[2005/02/28 09:14:48, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****
Samba name server LINUXBOX is now a local master browser for workgroup
WORKGROUP on subnet 192.168.2.252
*****
Relivent info pulled from netstat -v --numeric-ports -evpa
---------------------------------------------------
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
root 17898 3401/smbd
udp 0 0 192.168.2.252:137 0.0.0.0:*
root 17911 3405/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:*
root 17908 3405/nmbd
udp 0 0 192.168.2.252:138 0.0.0.0:*
root 17912 3405/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:*
root 17909 3405/nmbd
any help appreciated
Re: wins_srv_died() - Samba has left the building
Turns out pblm was w/iptables. Adding the following fixed it.
-A INPUT -i ! eth0 -m state --state NEW -j ACCEPT
"Bryan Martin" <spam@myplaceinspace.com> wrote in message
news:WlPUd.26863$Yf5.2768483@twister.southeast.rr.com...[color=blue]
> Samba has within the last week or so decided it was done working for me.
> I
> recv the following error:
>
> [root@LINUXBOX /]# smbclient -L devbox
> added interface ip=192.168.2.252 bcast=192.168.2.255 nmask=255.255.255.0
> wins_srv_died(): Could not mark WINS server 127.0.0.1 down.
> Address not found in server list.
> Connection to devbox failed
>
> Now clients excluding the RH9 box are winxp and win2k3. All windows
> clients
> can see each other but cant see the RH9 box. The RH box is listed as the
> WINS server for the subnet.
>
> Relivent info pulled from /etc/samba/smb.conf
> ---------------------------------------------------
> netbios name = LINUXBOX
> workgroup = WORKGROUP
> hosts allow = 192.168.2. 127.
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> interfaces = 192.168.2.252/24
> interfaces = 192.168.2.252
> remote announce = 192.168.2.255
> local master = yes
> domain master = yes
> preferred master = yes
> wins support = yes
>
> I have tried adding 127.0.0.1 to the interfaces which gives the same
> result
> just with 127.0.0.1 instead.
>
>
> Relivent info pulled from /etc/sysconfig/iptables
> ---------------------------------------------------
> -A INPUT -s 192.168.2.0/255.255.255.0 -p tcp -m tcp --dport 137:139 -j
> ACCEPT
>
> I have also tried adding 127.0.0.0/255.0.0.0 above w/the same results
>
>
>
> Relivent info pulled from /var/log/samba/log.nmbd
> ---------------------------------------------------
> [2005/02/28 09:14:23, 0] nmbd/nmbd.c:main(794)
> Netbios nameserver version 2.2.7a-security-rollup-fix started.
> Copyright Andrew Tridgell and the Samba Team 1994-2002
> [2005/02/28 09:14:23, 0] nmbd/asyncdns.c:start_async_dns(148)
> started asyncdns process 3406
> [2005/02/28 09:14:24, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(339)
> become_domain_master_browser_wins:
> Attempting to become domain master browser on workgroup WORKGROUP, subnet
> UNICAST_SUBNET.
> [2005/02/28 09:14:24, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(354)
> become_domain_master_browser_wins: querying WINS server at IP
> 192.168.2.252 for domain master browser name WORKGROUP<1b> on workgroup
> WORKGROUP
> [2005/02/28 09:14:25, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
> *****
>
> Samba server LINUXBOX is now a domain master browser for workgroup
> WORKGROUP on subnet UNICAST_SUBNET
>
> *****
> [2005/02/28 09:14:25, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
> become_domain_master_browser_bcast:
> Attempting to become domain master browser on workgroup WORKGROUP on
> subnet 192.168.2.252
> [2005/02/28 09:14:25, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(305)
> become_domain_master_browser_bcast: querying subnet 192.168.2.252 for
> domain master browser on workgroup WORKGROUP
> [2005/02/28 09:14:35, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
> *****
>
> Samba server LINUXBOX is now a domain master browser for workgroup
> WORKGROUP on subnet 192.168.2.252
>
> *****
> [2005/02/28 09:14:48, 0]
> nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
> *****
>
> Samba name server LINUXBOX is now a local master browser for workgroup
> WORKGROUP on subnet 192.168.2.252
>
> *****
>
>
> Relivent info pulled from netstat -v --numeric-ports -evpa
> ---------------------------------------------------
> tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
> root 17898 3401/smbd
> udp 0 0 192.168.2.252:137 0.0.0.0:*
> root 17911 3405/nmbd
> udp 0 0 0.0.0.0:137 0.0.0.0:*
> root 17908 3405/nmbd
> udp 0 0 192.168.2.252:138 0.0.0.0:*
> root 17912 3405/nmbd
> udp 0 0 0.0.0.0:138 0.0.0.0:*
> root 17909 3405/nmbd
>
>
>
> any help appreciated
>
>
>[/color]