s3:smbd: Increase unsupported IOCTL debug message to 2
authorSteven Danneman <steven.danneman@isilon.com>
Fri, 1 Oct 2010 19:01:16 +0000 (12:01 -0700)
committerSteven Danneman <steven.danneman@isilon.com>
Fri, 1 Oct 2010 20:31:33 +0000 (13:31 -0700)
Even printing once per connection, level 0 was too spammy with
Windows clients frequently sending FSCTL_GET_OBJECT_ID which
is unsupported.

source3/smbd/nttrans.c

index 7264bcbac99ade03ff457e510b0833795cccc9b8..40a47fde5c87c8c4ca93921cdaf693fbb8831565 100644 (file)
@@ -2349,9 +2349,11 @@ static void call_nt_transact_ioctl(connection_struct *conn,
                return;
        }
        default:
+               /* Only print this once... */
                if (!logged_ioctl_message) {
-                       logged_ioctl_message = true; /* Only print this once... */
-                       DEBUG(0,("call_nt_transact_ioctl(0x%x): Currently not implemented.\n",
+                       logged_ioctl_message = true;
+                       DEBUG(2,("call_nt_transact_ioctl(0x%x): "
+                                "Currently not implemented.\n",
                                 function));
                }
        }