From: Michael Adam Date: Wed, 11 Nov 2015 11:29:55 +0000 (+0100) Subject: nwrap: log NULL alias name at ERROR level in nwrap_add_hname() X-Git-Tag: samba-4.4.0rc1~224 X-Git-Url: http://git.samba.org/samba.git/?a=commitdiff_plain;h=ccb407630997757c3d73798f7bfab81cf5de6950;p=nivanova%2Fsamba-autobuild%2F.git nwrap: log NULL alias name at ERROR level in nwrap_add_hname() Signed-off-by: Michael Adam Reviewed-by: Andreas Schneider --- diff --git a/lib/nss_wrapper/nss_wrapper.c b/lib/nss_wrapper/nss_wrapper.c index 9ed11f0c86c..71f5980dcf1 100644 --- a/lib/nss_wrapper/nss_wrapper.c +++ b/lib/nss_wrapper/nss_wrapper.c @@ -2719,7 +2719,7 @@ static bool nwrap_add_hname(struct nwrap_entdata *const ed) NWRAP_LOG(NWRAP_LOG_DEBUG, "Add alias: %s", h_name_alias); if (!nwrap_add_hname_alias(h_name_alias, ed)) { - NWRAP_LOG(NWRAP_LOG_DEBUG, + NWRAP_LOG(NWRAP_LOG_ERROR, "Unable to add alias: %s", h_name_alias); return false; }