Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

            super( andx );
            this.path = fileName;
            command = SMB_COM_OPEN_ANDX;
    
            desiredAccess = access & 0x3;
            if( desiredAccess == 0x3 ) {
                desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
            desiredAccess |= SHARING_DENY_NONE;
            desiredAccess &= ~0x1; // Win98 doesn't like GENERIC_READ ?! -- get Access Denied.
    
            // searchAttributes
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            this.smbCreateFlags = smbCreateFlags;
        }
    
    
        /**
         * @param desiredAccess
         *            the desiredAccess to set
         */
        public void setDesiredAccess ( int desiredAccess ) {
            this.desiredAccess = desiredAccess;
        }
    
    
        /**
         * @param fileAttributes
         *            the fileAttributes to set
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

            super( andx );
            this.path = name;
            command = SMB_COM_NT_CREATE_ANDX;
    
            desiredAccess = access;
            desiredAccess |= FILE_READ_DATA | FILE_READ_EA | FILE_READ_ATTRIBUTES;
    
            // extFileAttributes
            this.extFileAttributes = extFileAttributes;
    
            // shareAccess
            this.shareAccess = shareAccess;
    
            // createDisposition
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

                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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        protected <T extends ServerMessageBlock2Response> T withOpen ( SmbTreeHandleImpl th, int createDisposition, int desiredAccess, int shareAccess,
                ServerMessageBlock2Request<T> first, ServerMessageBlock2Request<?>... others ) throws CIFSException {
            return withOpen(th, createDisposition, 0, SmbConstants.ATTR_NORMAL, desiredAccess, shareAccess, first, others);
        }
    
    
        @SuppressWarnings ( "unchecked" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

    SmbComNTCreateAndX request = new SmbComNTCreateAndX( unc, flags, access, shareAccess, attrs, options, null );
    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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            public int desired_access;
            public rpc.policy_handle policy_handle;
    
    
            public LsarOpenPolicy2 ( String system_name, LsarObjectAttributes object_attributes, int desired_access, rpc.policy_handle policy_handle ) {
                this.system_name = system_name;
                this.object_attributes = object_attributes;
                this.desired_access = desired_access;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 35.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    			[in] uint16_t level,
    			[in,out] uint32_t *count);
    
    	[op(0x2c)]
    	int LsarOpenPolicy2([in,string,unique] wchar_t *system_name,
    			[in] LsarObjectAttributes *object_attributes,
    			[in] uint32_t desired_access,
    			[out] policy_handle *policy_handle);
    
    	[op(0x2e)]
    	int LsarQueryInformationPolicy2([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    			[in] uint16_t level,
    			[in,out] uint32_t *count);
    
    	[op(0x2c)]
    	int LsarOpenPolicy2([in,string,unique] wchar_t *system_name,
    			[in] LsarObjectAttributes *object_attributes,
    			[in] uint32_t desired_access,
    			[out] policy_handle *policy_handle);
    
    	[op(0x2e)]
    	int LsarQueryInformationPolicy2([in] policy_handle *handle,
    			[in] uint16_t level,
    			[out,switch_is(level),unique] LsarPolicyInfo *info);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
Back to top