My old NTLM documentation contains a standalone implementation of
these operations:

http://davenport.sourceforge.net/ntlm.html#appendixD

The functions would be "lmHash" and "ntlmHash".  This is intended to
be instructional code, so is not optimized for efficiency/performance.
 But it is provided as a public domain implementation.

On Sat, Jun 5, 2010 at 9:04 PM, Michael B Allen <[email protected]> wrote:
> Hi Sebastien,
>
> You cannot copy and paste LGPL code into a BSD project. Even if the
> code was trivial, you need to look at the code and at least retype it
> in again so that you can say "I never copied and pasted non-BSD code
> ever". That might be important later for commercial entities that
> audit for those sort of things.
>
> Note that you'll want to factor out jcifs.util.DES and jcifs.util.MD5.
> Both of those are standard with the builtin Java implementations now.
> But you will need to do the key adjustment where it finagles the
> parity bits (actually if you do this, send the patch back to me. I'd
> like to get rid of those deps).
>
> Mike
>
> On Sat, Jun 5, 2010 at 7:50 PM, Sebastien Bahloul <[email protected]> 
> wrote:
>> Hi M. Glass and M. Allen
>>
>> I'm contacting you as one of the lead developers of an open source project
>> dedicated to identity synchronization, Ldap Synchronization Connector
>> (http://lsc-project.org/)
>>
>> While looking for a way to encode passwords for Samba in lm / nt password
>> schemes, we have found two pieces of code you have written and that we want 
>> to
>> include in our project. But before doing such copy/paste, we would like you 
>> to
>> authorize us to do such operation, i.e. to relicence methods under BSD.
>>
>> You will find at the following location the diff submitted (but not commited 
>> at
>> this time) that include your code : http://tools.lsc-
>> project.org/attachments/105/patch_samba_passwords.diff
>>
>> The piece of code has been copied from the NtlmPasswordAuthentication.java
>> class because methods are private.
>>
>> Best regards,
>> --
>> Sebastien BAHLOUL
>> IAM and Security Solutions Manager
>> LINAGORA : http://www.linagora.com/
>> Tel / Phone : +33 810 251 251
>> Mobile : +33 (0)6 45 63 27 39
>> 74/80 rue Roque de Fillol
>> 92800 Puteaux
>> -----------
>> http://linid.org/ - http://linpki.org/
>> IAM and security Open Source projects
>>
>
>
>
> --
> Michael B Allen
> Java Active Directory Integration
> http://www.ioplex.com/
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to