[Samba] Samba binding to two IPs, even when specified not to
Aton
aton at skyenet.net
Sat Jul 6 08:26:02 GMT 2002
Hello. I'm running RH 7.1, with Samba 2.2.2. VERY often I get a SIGHUP to
smbd and it'll dump the workgroups. I also get a "Discarding datagram from
IP 216.202.200.103. Source name ROUTER<00> is one of our names" all the
time also. This line FILLS my logs. I don't understand this one, because I
have the interfaces line specified in smb.conf to use only the local
interface. The 216 one is a public interface.
Here's a snipet from my logs, and I'll post my smb.conf below.
Thanks for any help in advance,
Aton
Jun 30 04:02:00 router nmbd[688]: [2002/06/30 04:02:00, 0]
nmbd/nmbd.c:sig_hup(92)
Jun 30 04:02:00 router nmbd[688]: Got SIGHUP dumping debug info.
Jun 30 04:02:00 router nmbd[688]: [2002/06/30 04:02:00, 0]
nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
Jun 30 04:02:00 router smbd[9584]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[9596]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[9618]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[9651]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[9674]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router nmbd[688]: dump_workgroups()
Jun 30 04:02:00 router nmbd[688]: dump workgroup on subnet
192.168.0.100: netmask= 255.255.255.0:
Jun 30 04:02:00 router nmbd[688]: ^IWORKGROUP(1) current master browser =
ROUTER
Jun 30 04:02:00 router nmbd[688]: ^I^IROUTER 400c9b0b (Samba Server)
Jun 30 04:02:00 router nmbd[688]: ^I^ISTATION4 40412203 (Marketing)
Jun 30 04:02:00 router smbd[9596]: Got SIGHUP
Jun 30 04:02:00 router smbd[9584]: Got SIGHUP
Jun 30 04:02:00 router smbd[9661]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[10116]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[9618]: Got SIGHUP
Jun 30 04:02:00 router smbd[9651]: Got SIGHUP
Jun 30 04:02:00 router smbd[9674]: Got SIGHUP
Jun 30 04:02:00 router nmbd[688]: ^I^ISTATION9 40011203 ()
Jun 30 04:02:00 router smbd[9661]: Got SIGHUP
Jun 30 04:02:00 router smbd[683]: [2002/06/30 04:02:00, 0]
smbd/server.c:sig_hup(384)
Jun 30 04:02:00 router smbd[10116]: Got SIGHUP
Jun 30 04:02:01 router nmbd[688]: ^I^ISTATION2 40412203 (Front Office)
Jun 30 04:02:01 router smbd[683]: Got SIGHUP
Jun 30 04:02:01 router nmbd[688]: ^I^ISTATION6 40412203 (Scott's machine)
Jun 30 04:02:01 router nmbd[688]: ^I^ISTATION-THREE 40011003 ()
Jun 30 04:02:01 router nmbd[688]: ^I^ISTATION5 40412203 (Temp's Machine)
Jun 30 04:02:01 router nmbd[688]: [2002/06/30 04:02:01, 0]
nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
Jun 30 04:02:01 router nmbd[688]: dump_workgroups()
Jun 30 04:02:01 router nmbd[688]: dump workgroup on subnet
UNICAST_SUBNET: netmask= 127.0.0.1:
Jun 30 04:02:01 router nmbd[688]: ^IWORKGROUP(1) current master browser =
UNKNOWN
Jun 30 04:02:01 router nmbd[688]: ^I^IROUTER 40099b0b (Samba Server)
Jun 30 04:02:01 router nmbd[688]: [2002/06/30 04:02:01, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:02:01 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jun 30 04:02:01 router nmbd[688]: [2002/06/30 04:02:01, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:02:01 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jun 30 04:14:05 router nmbd[688]: [2002/06/30 04:14:05, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:14:05 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jun 30 04:14:05 router nmbd[688]: [2002/06/30 04:14:05, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:14:05 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jun 30 04:26:05 router nmbd[688]: [2002/06/30 04:26:05, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:26:05 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jun 30 04:26:05 router nmbd[688]: [2002/06/30 04:26:05, 0]
nmbd/nmbd_packets.c:process_browse_packet(1064)
Jun 30 04:26:05 router nmbd[688]: process_browse_packet: Discarding
datagram from IP 216.202.200.103. Source name ROUTER<00> is one of our names !
Jul 2 15:01:27 router smbd[9584]: [2002/07/02 15:01:27, 0]
rpc_server/srv_netlog.c:api_net_sam_logon(208)
Jul 2 15:01:27 router smbd[9584]: api_net_sam_logon: Failed to marshall
NET_R_SAM_LOGON.
Jul 2 15:01:27 router smbd[9584]: [2002/07/02 15:01:27, 0]
rpc_server/srv_pipe.c:api_rpcTNP(1204)
Jul 2 15:01:27 router smbd[9584]: api_rpcTNP: api_netlog_rpc:
NET_SAMLOGON failed.
Jul 2 15:03:36 router smbd[9584]: [2002/07/02 15:03:36, 0]
rpc_server/srv_netlog.c:api_net_sam_logon(208)
Jul 2 15:03:36 router smbd[9584]: api_net_sam_logon: Failed to marshall
NET_R_SAM_LOGON.
Jul 2 15:03:36 router smbd[9584]: [2002/07/02 15:03:36, 0]
rpc_server/srv_pipe.c:api_rpcTNP(1204)
Jul 2 15:03:36 router smbd[9584]: api_rpcTNP: api_netlog_rpc:
NET_SAMLOGON failed
----smb.conf----
# Samba config file created using SWAT
# from UNKNOWN (192.168.0.3)
# Date: 2001/10/23 10:49:52
# Global parameters
[global]
server string = Samba Server
interfaces = 192.168.0.100/24 127.0.0.1/8
encrypt passwords = Yes
log file = /var/log/samba/%m.log
max log size = 0
name resolve order = wins lmhosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = %U.bat
domain logons = Yes
domain admin group = @admin
os level = 65
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
hosts allow = 192.168.0. 127.
printing = lprng
strict locking = Yes
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[public]
comment = Public Stuff
path = /home/samba
write list = @staff
read only = No
create mask = 0770
directory mask = 0770
guest ok = Yes
oplocks = No
level2 oplocks = No
More information about the samba
mailing list