summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-03 15:25:02 +0100
committerVolker Lendecke <vl@samba.org>2008-11-04 09:41:15 +0100
commit0953688012dcacca5b28a19c7a2d8393428ca151 (patch)
tree43d0266ce1c2a3a29bac2ba0adde5251b53b8444 /source3
parentd98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5 (diff)
downloadsamba-0953688012dcacca5b28a19c7a2d8393428ca151.tar.gz
samba-0953688012dcacca5b28a19c7a2d8393428ca151.tar.bz2
samba-0953688012dcacca5b28a19c7a2d8393428ca151.zip
Trigger (and fix) a bug in Samba3 making smbd an infinite data source
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-(
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 215ae20077..bd0acbc3c6 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1424,6 +1424,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req, in
if (!change_to_user(conn,session_tag)) {
reply_nterror(req, NT_STATUS_DOS(ERRSRV, ERRbaduid));
+ remove_deferred_open_smb_message(req->mid);
return conn;
}