From: Volker Lendecke Date: Mon, 3 Nov 2008 16:14:35 +0000 (+0100) Subject: Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test X-Git-Tag: samba-3.0.34~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e38a8e536d9bd10e015f172c0ebf9d6ba5e8e0e5;p=thirdparty%2Fsamba.git Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test (cherry picked from commit af33c8b3521564c229091f197341ba33a7d6f162) --- diff --git a/source/smbd/process.c b/source/smbd/process.c index 3d31c297fa7..cf2988699b8 100644 --- a/source/smbd/process.c +++ b/source/smbd/process.c @@ -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))); }