[jcifs] Hmmm... one more query about passwords.
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Mon Nov 11 11:36:14 EST 2002
> -----Original Message-----
> From: Christopher R. Hertel [SMTP:crh at ubiqx.mn.org]
> Sent: Sunday, November 10, 2002 3:23 PM
> To: jCIFS
> Subject: [jcifs] Hmmm... one more query about passwords.
> 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?
No. I was unaware of this rule. But I am aware of some variation in this field.
I'll look at putting the appropriate padding in as if it were a string.
> Is this related to the problem that the
> Novell folks had?
No. But I don't remember the Novell problem exactly. I think there were a couple
of problems with Novell.
More information about the jcifs