Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 982 for smb2 (0.07 seconds)

  1. src/main/java/jcifs/internal/smb2/Smb2Constants.java

     */
    package jcifs.internal.smb2;
    
    /**
     * Constants for SMB2/SMB3 protocol.
     *
     * This class contains protocol-specific constants, command codes,
     * flags, and other values used in SMB2/SMB3 communication.
     *
     * @author mbechler
     */
    public final class Smb2Constants {
    
        /**
         *
         */
        private Smb2Constants() {
        }
    
        /**
         * SMB2 header length in bytes
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/DialectVersionTest.java

        }
    
        @Test
        @DisplayName("Should identify SMB1 vs SMB2+ versions")
        void testSMBVersionIdentification() {
            // SMB1 should not be SMB2
            assertFalse(DialectVersion.SMB1.isSMB2());
    
            // SMB2+ versions should be identified as SMB2
            assertTrue(DialectVersion.SMB202.isSMB2());
            assertTrue(DialectVersion.SMB210.isSMB2());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportImplTest.java

        }
    
        @Test
        @DisplayName("SMB version detection via flag or response type")
        void isSMB2_variants() throws Exception {
            // 1) smb2 flag set
            setField(transport, "smb2", true);
            assertTrue(transport.isSMB2());
    
            // 2) smb2 false but negotiated is SMB2 response
            setField(transport, "smb2", false);
            Smb2NegotiateResponse smb2 = new Smb2NegotiateResponse(cfg);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        protected static final short SMB2_WRITE = 0x0009;
        /** SMB2 lock file command */
        protected static final short SMB2_LOCK = 0x000A;
        /** SMB2 IO control command */
        protected static final short SMB2_IOCTL = 0x000B;
        /** SMB2 cancel command */
        protected static final short SMB2_CANCEL = 0x000C;
        /** SMB2 echo/keepalive command */
        protected static final short SMB2_ECHO = 0x000D;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(tree, times(1)).close(); // try-with-resources must close
            verify(handle, never()).markClosed();
            verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2
        }
    
        // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException
        @Test
        @DisplayName("watch() SMB1 without capability throws unsupported")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

     */
    package jcifs.internal.smb2.persistent;
    
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.util.UUID;
    
    /**
     * Handle GUID structure for SMB2/3 durable and persistent handles.
     * Provides a unique identifier for each handle that can be used
     * for reconnection after network failures or server reboots.
     *
     * According to MS-SMB2, the GUID is a 16-byte structure with little-endian
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        /**
         * Constructor for SMB2 request with configuration.
         *
         * @param config the configuration object
         */
        protected ServerMessageBlock2Request(final Configuration config) {
            super(config);
        }
    
        /**
         * Constructor for SMB2 request with configuration and command.
         *
         * @param config the configuration object
         * @param command the SMB2 command code
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. docs/smb3-features/01-smb3-lease-design.md

    # SMB3 Lease Feature - Detailed Design Document
    
    ## 1. Overview
    
    SMB3 leases provide a client caching mechanism that replaces the traditional oplock mechanism. Leases enable better performance through client-side caching while maintaining cache coherency across multiple clients.
    
    ## 2. Protocol Specification Reference
    
    - **MS-SMB2 Section 2.2.13**: SMB2 CREATE Request with Lease Context
    - **MS-SMB2 Section 2.2.14**: SMB2 CREATE Response with Lease State
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  9. README.md

    jcifs.smb.client.domain=WORKGROUP
    jcifs.smb.client.username=guest
    jcifs.smb.client.password=
    
    # Protocol versions (SMB1 to SMB 3.1.1)
    jcifs.smb.client.minVersion=SMB1
    jcifs.smb.client.maxVersion=SMB311
    
    # Security
    jcifs.smb.client.signingPreferred=false
    jcifs.smb.client.signingEnforced=false
    jcifs.smb.client.encryptionEnforced=false
    jcifs.smb.client.disablePlainTextPasswords=true
    
    # Performance
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Crypto;
    
    /**
     * SMB2/SMB3 message signing digest implementation.
     *
     * This class handles cryptographic signing of SMB2/SMB3 messages to ensure
     * message integrity and authenticity. It supports different signing algorithms
     * used in various SMB2/SMB3 dialect versions.
     *
     * @author mbechler
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top