Bug 3520 - Java JNI mkntpwd interface
Java JNI mkntpwd interface
Product: Samba 3.0
Classification: Unclassified
Component: smbldap-tools
All All
: P3 enhancement
: none
Assigned To: Tournier Jerome
smbldap-tools team
Depends on:
  Show dependency treegraph
Reported: 2006-02-16 13:55 UTC by Joshua Preston
Modified: 2010-09-04 07:09 UTC (History)
1 user (show)

See Also:

mkntpwd: Java JNI interface (16.94 KB, application/octet-stream)
2006-02-16 13:56 UTC, Joshua Preston
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Preston 2006-02-16 13:55:42 UTC
I'm fairly new, but I have something to give back.

Anyhow, I'm not sure if the mkntpwd utility is still being actively
developed, supported or if I even have the right maintainers (or if any
even exist), but if not, I apologize in advance.

I've recently been working on a Java web app to change Windows passwords
stored in Sun Identity Server (iPlanet/Sun One).  I've run into an issue
where I was having problems hashing the passwords in Java, so I wrote a
wrapper to contain the mkntpwd program into a library that implements the
Java Native Interface.  This allows a Java application to generate LM and
NT hashes without too much trickery.  I've got the sources on my website,
and the only file I've modified from the original was the Makefile.

So far, it works like a charm.

Anyhow, the tarballs are located at:



I'm not sure what the policy is for distribution, but if these are found
to be useful, they can be added if its not in violation of the existing


Joshua Preston
Comment 1 Joshua Preston 2006-02-16 13:56:55 UTC
Created attachment 1734 [details]
mkntpwd: Java JNI interface

Full source and additions.
Comment 2 Tournier Jerome 2010-09-04 07:09:44 UTC
Not maintained anymore