Module jcifs

Class srvsvc.ShareInfo502

java.lang.Object
org.codelibs.jcifs.smb1.dcerpc.ndr.NdrObject
org.codelibs.jcifs.smb1.dcerpc.msrpc.srvsvc.ShareInfo502
Enclosing class:
srvsvc

public static class srvsvc.ShareInfo502 extends NdrObject
Share information level 502 structure containing full share information including security.
  • Field Details

    • netname

      public String netname
      The network name of the share.
    • type

      public int type
      The type of the share.
    • remark

      public String remark
      A comment or description of the share.
    • permissions

      public int permissions
      The share permissions.
    • max_uses

      public int max_uses
      The maximum number of concurrent connections.
    • current_uses

      public int current_uses
      The current number of connections.
    • path

      public String path
      The local path of the share.
    • password

      public String password
      The share password (if any).
    • sd_size

      public int sd_size
      The size of the security descriptor.
    • security_descriptor

      public byte[] security_descriptor
      The security descriptor bytes.
  • Constructor Details

    • ShareInfo502

      public ShareInfo502()
      Default constructor for ShareInfo502.
  • Method Details

    • encode

      public void encode(NdrBuffer _dst) throws NdrException
      Description copied from class: NdrObject
      Encodes this NDR object into the specified buffer
      Specified by:
      encode in class NdrObject
      Parameters:
      _dst - the destination buffer for encoding
      Throws:
      NdrException - if encoding fails
    • decode

      public void decode(NdrBuffer _src) throws NdrException
      Description copied from class: NdrObject
      Decodes this NDR object from the specified buffer
      Specified by:
      decode in class NdrObject
      Parameters:
      _src - the source buffer for decoding
      Throws:
      NdrException - if decoding fails