Robert Warner schrieb:
Hi,

Semi-not new to samba, used a previous version a long time ago.
I'm using samba on SuSE 9.0, samba version 'Version 2.2.8a-SuSE'
2 network cards on this machine, eth0&1. I've enabled the samba server on this machine and it is functional. However, i only want samba to serve the file system on one of the network cards and not the other. Is this just a simple configuration item i'm missing? The firewall on this machine is preventing samba from accessing the other network card, but every 5 min it attempts to try the other network (which it is firewalled against attempting). This attempt places many failure messages in my 'messages' log file. I would prefer not to see these messages. Is there a way to redirect these messages or stop them all together (while still keeping samba running ;) )?


Example of messages: [Names and IP number changed to protect the innocent ;)]

Nov 19 19:07:55 WS nmbd[7532]: [2004/11/19 19:07:55, 0] libsmb/nmblib.c:send_udp(756)
Nov 19 19:07:55 WS nmbd[7532]: Packet send failed to XXX.XXX.XXX.XX(137) ERRNO=Operation not permitted
Nov 19 19:07:55 WS nmbd[7532]: [2004/11/19 19:07:55, 0] nmbd/nmbd_packets.c:send_netbios_packet(172)
Nov 19 19:07:55 WS nmbd[7532]: send_netbios_packet: send_packet() to IP XXX.XXX.XXX.XXX port 137 failed
Nov 19 19:07:55 WS nmbd[7532]: [2004/11/19 19:07:55, 0] nmbd/nmbd_namequery.c:query_name(265)
Nov 19 19:07:55 WS nmbd[7532]: query_name: Failed to send packet trying to query name ME<1d>


The ip number is the broadcast ip for the network which i do not want it to have access to.

Thanks in advance for your reply.
bob

Hi,
i guess setting

bind interfaces only = Yes

and

interfaces = lo eth0

will do the trick, replace eth0 with the name of the correct interface.
lo has to be listed too, the exact reason is mentioned in the manpage.
Christoph

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to