Samba 2.2.x: libsmb/smbdes.c ?

Tobbe tnt at
Tue Apr 20 05:54:07 GMT 2004

> str_to_key converts a 7 character string (7 bytes, 8 bits per byte, total
> 56 bits) to a DES key (8 bytes, 7 bits per byte, total 56 bits). In an 
> actual DES there is a parity involved in the low order bit but this is not 
> used by smbdes.

Ok, thanks for the quick reply !

So am I right then that no 'swab' operation is done by Samba ?
If so, I guess that the CIFS Tec.Ref is wrong.

Cheers, Tobbe

More information about the samba-technical mailing list