I'm working on a small Clojure project where I need to be able to generate an NTLMv2 hash from a plain string. The value will be used to populate the sambaNTPassword field in an openLDAP instance. I expected this would involve calling on some Java libs to do the heavy lifting and started with this java example. However, the results are not looking right and I've seen some posts which indicate jcifs may not be a good solution for NTLMv2.
So I have two questions
Does anyone know of a simple script I can use to generate NTLMv2 hashes which I could use as a check scripts i.e. compare to the output I'm getting from my solution.
Any suggestions on other Java libraries which might be better for this task?