]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test
authorVolker Lendecke <vl@samba.org>
Mon, 3 Nov 2008 16:14:35 +0000 (17:14 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Jan 2009 09:11:57 +0000 (10:11 +0100)
(cherry picked from commit af33c8b3521564c229091f197341ba33a7d6f162)

source/smbd/process.c

index 3d31c297fa7be1b7bf768ff93ade68b348c09fec..cf2988699b80c635a6d157fe1828e45832a5f17d 100644 (file)
@@ -967,6 +967,8 @@ static int switch_message(int type,char *inbuf,char *outbuf,int size,int bufsize
                        }
 
                        if (!change_to_user(conn,session_tag)) {
+                               remove_deferred_open_smb_message(
+                                       SVAL(inbuf, smb_mid));
                                return(ERROR_NT(NT_STATUS_DOS(ERRSRV,ERRbaduid)));
                        }