> to cope with SMBwriteX (oversized DCE/RPC requests), some reworking of > smbd is going to be needed. > > smbd already does SMBwriteX (oversized DCE/RPC responses). can't we just do this in reply_writex()? if (rpc_fnum(fnum)) { return rpc_writex(foo); } that way the rpc changes are hidden away in the rpc code and we don't risk breaking writex.