HA! Yup, that was "The Thunder Below," an adventure I wrote for the WotC website back in the day. One of the problems, of course, is that high-level D&D is kind of broken—this was ESPECIALLY true in 3.0. A protection from evil spell, for example, pretty much shuts down a ghost's possession...