[jcifs] Hmmm... one more query about passwords.

Christopher R. Hertel crh at ubiqx.mn.org
Mon Nov 11 07:22:56 EST 2002

Looking at encrypted passwords, I note that smbclient does add a nul padding
byte following the CaseSensitivePassword field (Ethereal calls this the
Unicode Password).  This nul byte aligns the rest of the message (I don't
know why that's needed, but it might be a Unicode thing).

The SNIA doc says (on pg. 54):

  UCHAR Reserved2;    Present if Unicode negotiated to even byte boundary

Any reason jCIFS leaves this out?  Is this related to the problem that the
Novell folks had?

Chris -)-----

Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

More information about the jcifs mailing list