From 100843ac239688a3c328f834b7a9f90478e2e8f9 Mon Sep 17 00:00:00 2001 From: Steven Danneman Date: Fri, 1 Oct 2010 12:01:16 -0700 Subject: s3:smbd: Increase unsupported IOCTL debug message to 2 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 7264bcbac9..40a47fde5c 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -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)); } } -- cgit