Running samba-3.5.2 I notice this in the log.nmbd file after starting samba: ==============================================================[2010/05/08 19:10:44.652249, 0] nmbd/nmbd_packets.c:738(queue_query_name) queue_query_name: interface 1 has NULL IP address ! [2010/05/08 19:10:44.652298, 0] nmbd/nmbd_packets.c:738(queue_query_name) queue_query_name: interface 1 has NULL IP address ! ============================================================== I discovered that this occurs with: bind interfaces only = Yes and one of the following: ==========================interfaces = 192.168.107.6 lo or interfaces = eth0 lo ========================== no other combinations cause the issue: ==========================interfaces = 192.168.107.6 127.0.0.1 or interfaces = lo 192.168.107.6 or interfaces = lo eth0 or interfaces = 127.0.0.1 192.168.107.6 or interfaces = 127.0.0.1 eth0 ========================== Basically only when "lo" is specified second by name is the problem seen, "lo"'s IP address works in all cases either first or second. For now I've switched to using: ==========================interfaces = lo 192.168.107.6 ==========================as I have 2 addresses on eth0 and only want samba to bind to one of them. Chris
On Sat, May 8, 2010 at 7:49 PM, Chris Smith <smb_77 at chrissmith.org> wrote:> interface 1 has NULL IP address !Adding the output of "ip addr" in case that helps: =======================================================# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 00:16:76:aa:bf:70 brd ff:ff:ff:ff:ff:ff inet 192.168.107.6/24 brd 192.168.107.255 scope global eth0 inet 192.168.107.66/24 brd 192.168.107.255 scope global secondary eth0 inet6 fe80::216:76ff:feaa:bf70/64 scope link valid_lft forever preferred_lft forever ========================================================