Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 276 for Capabilities (0.1 sec)

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

            }
            snd_buf_size = Math.min(snd_buf_size, server.maxBufferSize);
            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) {
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
            if ((capabilities & SmbConstants.CAP_UNICODE) == 0) {
                // server doesn't want unicode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

        void testDecodeValidBuffer() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[64];
            int bufferIndex = 10;
    
            // Set capabilities (4 bytes)
            int testCapabilities = 0x12345678;
            SMBUtil.writeInt4(testCapabilities, buffer, bufferIndex);
    
            // Set server GUID (16 bytes)
            byte[] testGuid = new byte[16];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test multiple capabilities
                int combinedCaps = Smb2TreeConnectResponse.SMB2_SHARE_CAP_DFS | Smb2TreeConnectResponse.SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY;
                setPrivateField(response, "capabilities", combinedCaps);
                assertEquals(combinedCaps, response.getCapabilities(), "Should handle multiple capabilities");
            }
    
            @Test
            @DisplayName("Should handle maximal access")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Default capabilities */
        int DEFAULT_CAPABILITIES =
                (USE_NTSMBS ? CAP_NT_SMBS : 0) | (USE_NTSTATUS ? CAP_STATUS32 : 0) | (USE_UNICODE ? CAP_UNICODE : 0) | CAP_DFS;
        /** FLAGS2 value */
        int FLAGS2 = Config.getInt("jcifs.smb1.smb.client.flags2", DEFAULT_FLAGS2);
        /** Capabilities value */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            capabilities = session.transport.capabilities;
    
            if (session.transport.server.security == SECURITY_USER) {
                if (cred instanceof final NtlmPasswordAuthentication auth) {
                    if (auth == NtlmPasswordAuthentication.ANONYMOUS) {
                        lmHash = new byte[0];
                        ntHash = new byte[0];
                        capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            return (getSecurityMode() & Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED) != 0;
        }
    
        /**
         * Gets the client capabilities flags.
         *
         * @return the capabilities
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the array of SMB dialect versions supported by the client.
         *
         * @return the dialects
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue((testConfig.getFlags2() & SmbConstants.FLAGS2_EXTENDED_ATTRIBUTES) != 0);
    
            // Check capabilities
            assertTrue(testConfig.getCapabilities() != 0, "Capabilities should be non-zero");
    
            // Check broadcast address
            assertNotNull(testConfig.getBroadcastAddress());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

         * Check if RDMA is available on this system
         *
         * @return true if RDMA can be used, false otherwise
         */
        boolean isAvailable();
    
        /**
         * Get supported RDMA capabilities
         *
         * @return set of capabilities supported by this provider
         */
        Set<RdmaCapability> getSupportedCapabilities();
    
        /**
         * Create RDMA connection to remote endpoint
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        @DisplayName("Test encode with maximum capabilities value")
        void testEncodeWithMaxCapabilities() {
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(0xFFFFFFFF, defaultClientGuid, DEFAULT_SECURITY_MODE, defaultDialects);
    
            byte[] buffer = new byte[request.size()];
            request.encode(buffer, 0);
    
            // Verify max capabilities value (comparing as unsigned long)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
        /**
         * OEM domain name of the server.
         */
        public String oemDomainName;
        /**
         * Security mode flags.
         */
        public int securityMode;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top