Module jcifs

Class SmbComNTCreateAndX

All Implemented Interfaces:
CommonServerMessageBlock, CommonServerMessageBlockRequest, CommonServerMessageBlockResponse, Request<SmbComNTCreateAndXResponse>, RequestWithPath, Message, Request, Response

public class SmbComNTCreateAndX extends AndXServerMessageBlock implements Request<SmbComNTCreateAndXResponse>
SMB1 NT Create AndX request message. This command is used to create or open a file with extended capabilities including security descriptors and oplock support.
  • Constructor Details

    • SmbComNTCreateAndX

      public SmbComNTCreateAndX(Configuration config, String name, int flags, int access, int shareAccess, int extFileAttributes, int createOptions, ServerMessageBlock andx)
      Constructs an NT Create AndX request.
      Parameters:
      config - the configuration
      name - the file name to create or open
      flags - the file open flags (O_CREAT, O_EXCL, O_TRUNC)
      access - the desired access rights
      shareAccess - the share access mode
      extFileAttributes - the extended file attributes
      createOptions - the create options
      andx - the next command in the chain
  • Method Details