From 2df601bff0d949e66c79366b8248b9d950c0b430 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 16 Sep 2014 18:03:51 +0200 Subject: nmbd: Send waiting status to systemd. This tells the Administrator what's going on and we should log that IPv6 is not supported. BUG: https://bugzilla.samba.org/show_bug.cgi?id=10816 Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Wed Sep 17 13:16:43 CEST 2014 on sn-devel-104 --- source3/nmbd/nmbd_subnetdb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source3/nmbd/nmbd_subnetdb.c b/source3/nmbd/nmbd_subnetdb.c index 311a240923..6c483af26a 100644 --- a/source3/nmbd/nmbd_subnetdb.c +++ b/source3/nmbd/nmbd_subnetdb.c @@ -247,8 +247,11 @@ bool create_subnets(void) /* Only count IPv4, non-loopback interfaces. */ if (iface_count_v4_nl() == 0) { - DEBUG(0,("create_subnets: No local IPv4 non-loopback interfaces !\n")); - DEBUG(0,("create_subnets: Waiting for an interface to appear ...\n")); + daemon_status("nmbd", + "No local IPv4 non-loopback interfaces " + "available, waiting for interface ..."); + DEBUG(0,("NOTE: NetBIOS name resolution is not supported for " + "Internet Protocol Version 6 (IPv6).\n")); } /* We only count IPv4, non-loopback interfaces here. */ -- cgit