How can I create a ntlm-hash with Java

Claudio <[email protected]> Sun, 1 Feb 2015 09:16:18 -0200
Newsgroups gmane.network.samba.java
Message-ID <CAN8nDn8URx-irqmkAjtfUdHjo1GDCCXaiqarMrWes88G8A9u4g@mail.gmail.com>
--90e6ba6e8a5c844100050e04f780
Content-Type: text/plain; charset=UTF-8

Hello everyone,

In our ldap store information that is used by different software, including
samba. We developed an application to centralize the administration of such
information. Among the things we still have pending is the generation of
ntPassword lmPassword and passwords, which is reflected in the management
of sambaLMPassword and sambaNTPassword attributes.

We would like to know how to generate the hash to save those attributes.

Thank you very much for your time and help

--90e6ba6e8a5c844100050e04f780
Content-Type: text/html; charset=UTF-8

<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Hello everyone,

In our ldap store information that is used by different software, including
samba. We developed an application to centralize the administration of such
information. Among the things we still have pending is the generation of
ntPassword lmPassword and passwords, which is reflected in the management
of sambaLMPassword and sambaNTPassword attributes.

We would like to know how to generate the hash to save those attributes.

Thank you very much for your time and help</pre></div>

--90e6ba6e8a5c844100050e04f780--