java.lang.Object
org.codelibs.jcifs.smb.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb.dcerpc.DcerpcMessage
org.codelibs.jcifs.smb.dcerpc.msrpc.lsarpc.LsarOpenPolicy2
- All Implemented Interfaces:
DcerpcConstants
- Direct Known Subclasses:
MsrpcLsarOpenPolicy2
- Enclosing class:
- lsarpc
LSA open policy version 2 message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintDesired access rights.Object attributes for the policy.Policy handle returned by the operation.intReturn value from the RPC call.Name of the system to connect to.Fields inherited from class org.codelibs.jcifs.smb.dcerpc.DcerpcMessage
alloc_hint, call_id, flags, length, ptype, resultFields inherited from interface org.codelibs.jcifs.smb.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, RPC_C_PF_BROADCAST, RPC_C_PF_BROADCAST_MAYBE, RPC_C_PF_IDEMPOTENT, RPC_C_PF_MAYBE, RPC_C_PF_NO_AUTO_LISTEN, RPC_C_PF_NO_AUTO_RETRY, RPC_C_PF_NO_FRAGMENT, RPC_C_PF_NOT_IDEMPOTENT, RPC_PT_ACK, RPC_PT_ALTER_CONTEXT, RPC_PT_ALTER_CONTEXT_RESPONSE, RPC_PT_BIND, RPC_PT_BIND_ACK, RPC_PT_BIND_NAK, RPC_PT_CANCEL, RPC_PT_CO_CANCEL, RPC_PT_FAULT, RPC_PT_ORPHANED, RPC_PT_PING, RPC_PT_REJECT, RPC_PT_REQUEST, RPC_PT_RESPONSE, RPC_PT_SHUTDOWN -
Constructor Summary
ConstructorsConstructorDescriptionLsarOpenPolicy2(String system_name, lsarpc.LsarObjectAttributes object_attributes, int desired_access, rpc.policy_handle policy_handle) Creates a new LsarOpenPolicy2 message. -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode_out(NdrBuffer _src) Decode the output parameters from this DCERPC message.voidEncode the input parameters for this DCERPC message.intgetOpnum()Get the operation number for this DCERPC message.
-
Field Details
-
retval
public int retvalReturn value from the RPC call. -
system_name
Name of the system to connect to. -
object_attributes
Object attributes for the policy. -
desired_access
public int desired_accessDesired access rights. -
policy_handle
Policy handle returned by the operation.
-
-
Constructor Details
-
LsarOpenPolicy2
public LsarOpenPolicy2(String system_name, lsarpc.LsarObjectAttributes object_attributes, int desired_access, rpc.policy_handle policy_handle) Creates a new LsarOpenPolicy2 message.- Parameters:
system_name- the system nameobject_attributes- the object attributesdesired_access- the desired access rightspolicy_handle- the policy handle to populate
-
-
Method Details
-
getOpnum
public int getOpnum()Description copied from class:DcerpcMessageGet the operation number for this DCERPC message.- Specified by:
getOpnumin classDcerpcMessage- Returns:
- the operation number
-
encode_in
Description copied from class:DcerpcMessageEncode the input parameters for this DCERPC message.- Specified by:
encode_inin classDcerpcMessage- Parameters:
_dst- the buffer to encode into- Throws:
NdrException- if encoding fails
-
decode_out
Description copied from class:DcerpcMessageDecode the output parameters from this DCERPC message.- Specified by:
decode_outin classDcerpcMessage- Parameters:
_src- the buffer to decode from- Throws:
NdrException- if decoding fails
-