Two lieutenant generals lose their jobs