Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for desiredAccess (0.51 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

                desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
            searchAttributes = ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM;
    
            // fileAttributes
            fileAttributes = 0;
    
            // openFunction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            this.desiredAccess = access & 0x3;
            if (this.desiredAccess == 0x3) {
                this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
    
            // map shareAccess as far as we can
            if ((shareAccess & SmbConstants.FILE_SHARE_READ) != 0 && (shareAccess & SmbConstants.FILE_SHARE_WRITE) != 0) {
                this.desiredAccess |= SHARING_DENY_NONE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        int flags0, desiredAccess;
    
        SmbComNTCreateAndX(final String name, final int flags, final int access, final int shareAccess, final int extFileAttributes,
                final int createOptions, final ServerMessageBlock andx) {
            super(andx);
            this.path = name;
            command = SMB_COM_NT_CREATE_ANDX;
    
            desiredAccess = access;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                final int extFileAttributes, final int createOptions, final ServerMessageBlock andx) {
            super(config, SMB_COM_NT_CREATE_ANDX, name, andx);
            this.desiredAccess = access;
            this.desiredAccess |= SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_EA | SmbConstants.FILE_READ_ATTRIBUTES;
    
            // extFileAttributes
            this.extFileAttributes = extFileAttributes;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.smbCreateFlags = smbCreateFlags;
        }
    
        /**
         * Set the desired access mask for the file
         * @param desiredAccess the desiredAccess to set
         */
        public void setDesiredAccess(final int desiredAccess) {
            this.desiredAccess = desiredAccess;
        }
    
        /**
         * Set the file attributes for the created file
         * @param fileAttributes the fileAttributes to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            // Check default desired access (0x00120089) at offset 24
            int desiredAccess = (buffer[24] & 0xFF) | ((buffer[25] & 0xFF) << 8) | ((buffer[26] & 0xFF) << 16) | ((buffer[27] & 0xFF) << 24);
            assertEquals(0x00120089, desiredAccess);
    
            // Check default share access (READ | WRITE) at offset 32
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

                final int desiredAccess, final int shareAccess, final ServerMessageBlock2Request<T> first,
                final ServerMessageBlock2Request<?>... others) throws CIFSException {
            return withOpen(th, createDisposition, 0, SmbConstants.ATTR_NORMAL, desiredAccess, shareAccess, first, others);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

                if (this instanceof SmbNamedPipe) {
                    request.flags0 |= 0x16;
                    request.desiredAccess |= 0x20000;
                    response.isExtended = true;
                }
                send(request, response);
                f = response.fid;
                attributes = response.extFileAttributes & ATTR_GET_MASK;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public LsarOpenPolicy2(final String system_name, final LsarObjectAttributes object_attributes, final int desired_access,
                    final rpc.policy_handle policy_handle) {
                this.system_name = system_name;
                this.object_attributes = object_attributes;
                this.desired_access = desired_access;
                this.policy_handle = policy_handle;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            public LsarOpenPolicy2(final String system_name, final LsarObjectAttributes object_attributes, final int desired_access,
                    final rpc.policy_handle policy_handle) {
                this.system_name = system_name;
                this.object_attributes = object_attributes;
                this.desired_access = desired_access;
                this.policy_handle = policy_handle;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
Back to top