java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
org.codelibs.jcifs.smb1.dcerpc.msrpc.srvsvc.ShareGetInfo
org.codelibs.jcifs.smb1.dcerpc.msrpc.MsrpcShareGetInfo
- All Implemented Interfaces:
DcerpcConstants
MS-RPC share information retrieval operation.
This class implements the Server Service (SRVSVC) ShareGetInfo operation
for retrieving detailed information about a network share, including
security descriptors.
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb1.dcerpc.msrpc.srvsvc.ShareGetInfo
info, level, retval, servername, sharenameFields inherited from class org.codelibs.jcifs.smb1.dcerpc.DcerpcMessage
alloc_hint, call_id, flags, length, ptype, resultFields inherited from interface org.codelibs.jcifs.smb1.dcerpc.DcerpcConstants
DCERPC_CONC_MPX, DCERPC_DID_NOT_EXECUTE, DCERPC_FIRST_FRAG, DCERPC_LAST_FRAG, DCERPC_MAYBE, DCERPC_OBJECT_UUID, DCERPC_PENDING_CANCEL, DCERPC_RESERVED_1, DCERPC_UUID_SYNTAX_NDR -
Constructor Summary
ConstructorsConstructorDescriptionMsrpcShareGetInfo(String server, String sharename) Creates a new request to get share information. -
Method Summary
Modifier and TypeMethodDescriptionACE[]Returns the security descriptor of the share as an array of ACEs.Methods inherited from class org.codelibs.jcifs.smb1.dcerpc.msrpc.srvsvc.ShareGetInfo
decode_out, encode_in, getOpnum
-
Constructor Details
-
MsrpcShareGetInfo
Creates a new request to get share information.- Parameters:
server- the server namesharename- the name of the share to query
-
-
Method Details
-
getSecurity
Returns the security descriptor of the share as an array of ACEs.- Returns:
- an array of ACE objects representing the share's security descriptor
- Throws:
IOException- if there is an error retrieving the security information
-