[jcifs] The handle is invalid error calling to getSecurity
Ori
oorrii at gmail.com
Thu Dec 17 02:15:52 MST 2009
Hi,
I'm trying to get the acl from a file using jcifs. This is my code:
NtlmPasswordAuthentication ntlmPasswordAuthentication = new
NtlmPasswordAuthentication("my domain", "user", "password");
SmbFile file = new SmbFile( "smb://myserver/myshare/myfile"
,ntlmPasswordAuthentication)
ACE[] acl = file.getSecurity(true); // throws "The handle is invalid."
SmbException
can someone help?
Thanks,
Ori
--
View this message in context: http://old.nabble.com/The-handle-is-invalid-error-calling-to-getSecurity-tp26824549p26824549.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.
More information about the jCIFS
mailing list