From 9f95df8e79242f4bd3c973983f004c40b67c5653 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 27 Oct 2015 17:08:50 -0700 Subject: [PATCH] lib: util: Make non-critical message a warning. Non-root utilities (e.g. bin/net) call this via messaging_init(). BUG: https://bugzilla.samba.org/show_bug.cgi?id=11566 Signed-off-by: Jeremy Allison Reviewed-by: Andreas Schneider (back-ported from commit 859e3415b38538ff6c023e4a56570d94a4fe4432) --- lib/util/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/util.c b/lib/util/util.c index 157a4aa..21d55c6 100644 --- a/lib/util/util.c +++ b/lib/util/util.c @@ -275,7 +275,7 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname, return false; } if (st.st_uid != uid && !uid_wrapper_enabled()) { - DEBUG(0, ("invalid ownership on directory " + DEBUG(3, ("invalid ownership on directory " "%s\n", dname)); return false; } -- 2.6.0.rc2.230.g3dd15c0