From: Douglas Bagnall Date: Fri, 23 May 2025 04:05:49 +0000 (+0000) Subject: s3:posix_acls: avoid unnecessary level 0 debug X-Git-Tag: tevent-0.17.0~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06d394e7a83fa69c6441b0f1b104f721d71ea54d;p=thirdparty%2Fsamba.git s3:posix_acls: avoid unnecessary level 0 debug With 84cca757397dba107fde479bc2043d8412713cf7 (2001) we decided not to fail if no security info was set, but we didn't remove the alarming message. Here we hide the message under log level 3. Signed-off-by: Douglas Bagnall Reviewed-by: Jennifer Sutton Reviewed-by: Rowland Penny --- diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index aa53e33053d..47d310a946e 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -1090,7 +1090,7 @@ static NTSTATUS unpack_nt_owners(struct connection_struct *conn, *pgrp = (gid_t)-1; if(security_info_sent == 0) { - DEBUG(0,("unpack_nt_owners: no security info sent !\n")); + DBG_NOTICE("no security info sent !\n"); return NT_STATUS_OK; }