Re: Last Access Time and Owner of a File using JCIFS

Michael B Allen <[email protected]> Sat, 15 Dec 2012 17:27:32 -0500
Newsgroups gmane.network.samba.java
Message-ID <CAGMFw4j_6mPxnghTao3+_LCVHH4fV7mgK66FY4DyvObrBZuM4A@mail.gmail.com>
On Tue, Dec 11, 2012 at 12:18 PM, Aravindan <[email protected]> wrote:
> Hello,
>   In the current implementation of jCIFS 1.3.17, there is no capability for
>
> 1. Getting the Last Access Time of a file
> 2. Setting the Last Access Time of a file
> 3. Getting the Owner of a file
>
> Just wanted to know if jCIFS community has plans to add the above mentioned
> capabilities anytime in the near future.

Hi Aravindan,

That information is actually received when reading security
descriptors. It is just not decoded or exposed through the API. But
there are fairly simple patches in the patches/ directory that
illustrate how add this sort of functionality. I think there's even a
patch for setting the Last Access Time.

There are no plans to add these features to JCIFS in the near future.

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/