summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-09-16 18:03:51 +0200
committerKarolin Seeger <kseeger@samba.org>2014-09-26 20:57:10 +0200
commita93d931ade4957127a644cb22d64bfbb24be0c61 (patch)
treea53a2c63e5774689b8099831135dbebcab35d131
parentbeffc40edd8cad3a992b95d374a576d02daa528a (diff)
downloadsamba-a93d931ade4957127a644cb22d64bfbb24be0c61.tar.gz
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 <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Sep 17 13:16:43 CEST 2014 on sn-devel-104 (cherry picked from commit 2df601bff0d949e66c79366b8248b9d950c0b430)
-rw-r--r--source3/nmbd/nmbd_subnetdb.c7
1 files 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. */