[jcifs] sendTransaction removed in 1.2?

Michael B Allen mba2000 at ioplex.com
Mon Aug 1 18:38:02 GMT 2005

On Mon, 1 Aug 2005 17:14:55 +0200 (CEST)
Miguel de Luna <madlg1 at yahoo.es> wrote:

> Well, regarding this problem with SendTransaction. I will try to explain you this issue in detail.
> As of version jcifs 0.8.3 I created a NTransaction to query for the security descriptor. This class inherited from SmbcomTransaction. We only needed to pass the fid of the file as parameter in the constructor and after sending it through the sendTransaction I got the security descriptor for the file.
> The problem comes when using the send method in 1.2.1 or in 1.2.0, sending the same frame over the wire turns into a different result. The NT Trans request part is not filled.

Ahh, if you're creating your own transaction you'll need to make some
adjustements. Look at the other transactions and adapt. Shouldn't be
too hard.

I actually wrote some code for security descriptors for somebody else
a while ago. Unfortunately it isn't 1.2-ized either.


More information about the jcifs mailing list