By Robert Vardeman, if I remember correctly. Not sure if I ever read it, because his earlier novel, The Klingon Gambit, was a first for me -- the first time in my life I threw a book across the room in disgust. A truly awful story that put me off Vardeman's work for good. I still shudder, 35 years later...
Here's what got me about Vardeman's books. In The Klingon Gambit, the characters seemed like exaggerated caricatures of themselves -- e.g. McCoy was much more fanatically anti-technology than he ever was in the show -- but the plot involved a device that altered the characters' minds and made them act in extreme ways, so I figured, okay, it's just the result of the device. But then, in Mutiny on the Enterprise, the characters were under no such mental influence, and yet they were just as caricatured and out of character as they had been in the previous book. So much for that idea, then.
The other thing that really startled me was when I learned, many years after the fact, that some people considered The Klingon Gambit a comedy. If it was trying to be funny, I certainly couldn't tell from reading it.