From: Volker Lendecke Date: Mon, 3 Nov 2008 16:14:35 +0000 (+0100) Subject: Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=af33c8b3521564c22 Fix bug triggered by the RAW-SAMBA3OPLOCKLOGOFF test --- 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))); }