Bug 3520 - Java JNI mkntpwd interface
Summary: Java JNI mkntpwd interface
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbldap-tools (show other bugs)
Version: 3.0.9
Hardware: All All
: P3 enhancement
Target Milestone: none
Assignee: Tournier Jerome
QA Contact: smbldap-tools team
URL: http://www.prestoncentral.com/home/jm...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 13:55 UTC by Joshua Preston
Modified: 2010-09-04 07:09 UTC (History)
1 user (show)

See Also:


Attachments
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:

Original:
http://www.prestoncentral.com/home/uploads/media/mkntpwd-orig.tar.gz

New:
http://www.prestoncentral.com/home/uploads/media/mkntpwd.tar.gz

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
license.

Thanks!

Joshua Preston
joshua@prestoncentral.com
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