We consider an M/GI/1/N queue with vacation time and exhaustive service discipline. We show that the embedded Markov chain formed by the customer departure epochs makes the analysis simple and it enables us to find an explicit solution for the server-vacation queue. We also find an explicit solution for the ordinary (non-vacation) queue.