Implementing SamOemChangePassword in Java

Tony Thompson tony.thompson at
Mon Jun 17 13:35:02 GMT 2002

I already posted this on the regular Samba list but decide that this list might be a better place.  Sorry if I decided wrong.

I am attempting to implement the SamOemChangePassword RAP call in Java (in
jCIFS actually) and have been having very little luck.  I found some C
code that would indicate that someone has done this in Samba already.

Can anyone on this list (hopefully someone who has already implemented
this) give me an idea what I might be doing wrong?  I am attaching two
packet traces.  One is from a Win98 machine changing the password on an
NT4 domain.  The other is my attempt at doing the same thing with jCIFS.
There are some things that are different and I thought that someone who
has done this before might be able to tell what I need to change to make
this work.

Also, if anyone could get a packet trace of the Samba code doing the same
thing, it might help to have a second working packet trace for me to look

Thanks for any help you can provide,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcifs_pass2_close.cap
Type: application/octet-stream
Size: 2794 bytes
Desc: not available
Url :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 98_pass_good.cap
Type: application/octet-stream
Size: 4732 bytes
Desc: not available
Url :

More information about the samba-technical mailing list