[jcifs] Get the owner of a file, calculate MD5/SHA-1

Jürgen R. Plasser juergen.plasser at gmail.com
Mon Jun 23 10:53:56 GMT 2008


Hi All,

how do I get the owner of a file? I need some code snippets, as I'm
new to JCIFS and CIFS at all.

I can get the ACLs from a file, and all I have understood until now is
that the owner is coded into a SID which has to be looked up
somewhere. I hope some can enlighten me ...

My second question (is likely OT):
Is it possible to calculate the file's MD5 or SHA-1 hash without
copying it from the source, just by streaming?

-Jürgen


More information about the jcifs mailing list