]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:posix_acls: avoid unnecessary level 0 debug
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 23 May 2025 04:05:49 +0000 (04:05 +0000)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 5 Jun 2025 23:06:37 +0000 (23:06 +0000)
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 <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
source3/smbd/posix_acls.c

index aa53e33053df8f573f2d11034bcd604251a1a9e4..47d310a946eb587824aa940c8f8380b71964b436 100644 (file)
@@ -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;
        }