Samba Password Encryption vs. C209
sharpe at ns.aus.com
Fri Jan 26 01:33:25 GMT 2001
At 04:49 PM 1/25/01 -0800, Andrew Edem wrote:
>I've also checked this against SSL's DES routines (not tripple des). The
>copyright says the code is Andrew Tridgell's... so I guess he would know.
Well, I guess we need to see code now. Actual examples of how you are
Since the SSL DES code sounds like it is derived from the Samba DES code,
one would expect them to produce the same result when fed the same input.
>On Fri, 26 Jan 2001, Richard Sharpe wrote:
>> At 04:36 PM 1/25/01 -0800, Andrew Edem wrote:
>> >When I put an 8 byte value and a 7 byte key through the samba function, I
>> >get very different results than if I put them through a normal
>> >(IE: SSH) function. I'm wondering why this is. (Is there some other step
>> >I'm missing?)
>> Are you sure that this SSH you refer to is actually DES, and not, say,
>> tripple DES?
>> Also, since SSH can handle greater than 128-bit keys, it might be extending
>> the key with zeros for you and thus changing the result. Of course,
>> without looking at the code, I am simply speaking off the top of my head.
>> Perhaps you can post the code or point to it.
>> Richard Sharpe, sharpe at ns.aus.com
>> Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
>> Contributing author, SAMS Teach Yourself Samba in 24 Hours
>> Author, Special Edition, Using Samba
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba
More information about the samba-technical