[jcifs] SamOEMChangePassword works (sort of)

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Tue Jun 18 09:05:02 EST 2002


Well that just doesn't make any sense. There's no reason why you cannot just emulate exactly what you see
on the wire regardless of what the doumentation says. I'll have a look at the pcap again later.

Mike

> -----Original Message-----
> From:	Tony Thompson [SMTP:tony.thompson at stone-ware.com]
> Sent:	Monday, June 17, 2002 7:02 PM
> To:	Michael_B_Allen at ml.com
> Cc:	jcifs at samba.org
> Subject:	RE: [jcifs] SamOEMChangePassword works (sort of)
> 
> If I write it in there anyway and return 20, it is overwritten by the data so, I don't think it matters either way.  BTW, if I write the 532 in, I am actually writing 22 bytes.
> 
> >>> "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com> 06/17/02 05:50PM >>>
> I did not say to drop the value. I meant that you should return 20 from your writeParametersWireFormat method. Thus the
> big rant about the return values of those methods...
> 
> > -----Original Message-----
> > From:	Tony Thompson [SMTP:tony.thompson at stone-ware.com] 
> > Sent:	Monday, June 17, 2002 6:47 PM
> > To:	Michael_B_Allen at ml.com 
> > Cc:	jcifs at samba.org 
> > Subject:	RE: [jcifs] SamOEMChangePassword works (sort of)
> > 
> > Yes, I have tried to drop the two extra bytes (the word with a value of 532) but, it still doesn't work.  If the document that I am using (ftp://ftp.microsoft.com/developr/drg/CIFS/cifsrap2.doc)
> is
> > wrong about that, it is probably wrong about the encryption/encoding of the old and new passwords.  If that is the case, I am never going to get anywhere.  I can't reverse engineer that part of
> it.
> > 
> > >>> "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com> 06/17/02 05:17PM >>>
> > 
> > 
> > > -----Original Message-----
> > > From:	Tony Thompson [SMTP:tony.thompson at stone-ware.com] 
> > > Sent:	Monday, June 17, 2002 3:24 PM
> > > To:	miallen at eskimo.com 
> > > Cc:	jcifs at samba.org 
> > > Subject:	Re: [jcifs] SamOEMChangePassword works (sort of)
> > > 
> > > You would have to look at the traces I sent.  If you compare the two, it is easy to see.  I just
> > > don't know how to make it right.
> > > 
> > 	I think I've explained everything about as cleary as I can make it. You have not confirmed
> > 	that you have tried the solution I explained. Otherwise I'll look at your pcap when I get a
> > 	chance.
> > 
> > 	Mike
> > 
> > 
> 
> 





More information about the jcifs mailing list