Fix bug #6551 - win98 clients cannot connect after server upgrade to samba-3.4.0.
[ira/wip.git] / source3 / smbd / reply.c
index 4d0a2b8c97dded0321e056072cf8fd5e0035e237..a6e35c734259f4e3c619f3bbdc79e64dad3c40db 100644 (file)
@@ -856,6 +856,7 @@ void reply_tcon_and_X(struct smb_request *req)
 
        END_PROFILE(SMBtconX);
 
+       req->tid = conn->cnum;
        chain_reply(req);
        return;
 }
@@ -2076,6 +2077,7 @@ void reply_ulogoffX(struct smb_request *req)
        DEBUG( 3, ( "ulogoffX vuid=%d\n", req->vuid ) );
 
        END_PROFILE(SMBulogoffX);
+       req->vuid = UID_FIELD_INVALID;
        chain_reply(req);
 }