From d082701ea5131b02a49321ef29d1aa58a80ee92a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 10 Dec 2010 08:48:19 -0700 Subject: s3: Reply correctly to FSCTL_IS_VOLUME_DIRTY --- source3/smbd/nttrans.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index cccb47a97f..da1231c83b 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -2432,6 +2432,15 @@ static void call_nt_transact_ioctl(connection_struct *conn, } return; } + case FSCTL_IS_VOLUME_DIRTY: + DEBUG(10,("FSCTL_IS_VOLUME_DIRTY: called on FID[0x%04X] " + "(but not implemented)\n", (int)fidnum)); + /* + * http://msdn.microsoft.com/en-us/library/cc232128%28PROT.10%29.aspx + * says we have to respond with NT_STATUS_INVALID_PARAMETER + */ + reply_nterror(req, NT_STATUS_INVALID_PARAMETER); + return; default: /* Only print this once... */ if (!logged_ioctl_message) { -- cgit