Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,009 for smbx (0.38 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                assertTrue(Smb2Constants.SMB2_DIALECT_0202 < Smb2Constants.SMB2_DIALECT_0210, "SMB 2.0.2 should be less than SMB 2.1");
                assertTrue(Smb2Constants.SMB2_DIALECT_0210 < Smb2Constants.SMB2_DIALECT_0300, "SMB 2.1 should be less than SMB 3.0");
                assertTrue(Smb2Constants.SMB2_DIALECT_0300 < Smb2Constants.SMB2_DIALECT_0302, "SMB 3.0 should be less than SMB 3.0.2");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        /**
         * Test pre-auth integrity with non-SMB3.1.1 should throw exception
         */
        @Test
        @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1")
        void testPreauthWithNonSmb311() throws Exception {
            // Setup SMB3.0
            when(negotiateResponse.getSelectedDialect()).thenReturn(DialectVersion.SMB300);
            setPrivateField(transport, "smb2", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. 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")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2NegotiateRequest functionality
     */
    @DisplayName("Smb2NegotiateRequest Tests")
    class Smb2NegotiateRequestTest {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.Configuration;
    import jcifs.SmbConstants;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    import jcifs.internal.smb2.io.Smb2ReadRequest;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbFileInputStreamTest {
    
        @Mock
        SmbFile mockFile;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. docs/smb3-features/02-persistent-handles-design.md

    - **MS-SMB2 Section 2.2.13.2.12**: SMB2_CREATE_REQUEST_LEASE_V2
    - **MS-SMB2 Section 3.2.1.4**: Durable Open Scavenger Timer
    
    ## 3. Handle Types and Capabilities
    
    ### 3.1 Handle Types
    ```java
    public enum HandleType {
        NONE(0),                    // No durability
        DURABLE_V1(1),              // SMB 2.1 - survives network loss
        DURABLE_V2(2),              // SMB 3.0 - with timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

    import jcifs.internal.smb1.com.SmbComBlankResponse;
    import jcifs.internal.smb1.com.SmbComClose;
    import jcifs.internal.smb2.create.Smb2CloseRequest;
    
    @ExtendWith(MockitoExtension.class)
    class SmbFileHandleImplTest {
    
        @Mock
        Configuration cfg;
    
        @Mock
        SmbTreeHandleImpl tree;
    
        private void stubValidTree(long treeId, boolean connected, boolean smb2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.transport.Response;
    
    /**
     * SMB2 Negotiate Protocol response message.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

     */
    package jcifs.internal.smb2.nego;
    
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Set;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.internal.SmbNegotiationRequest;
    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

     */
    package jcifs.smb;
    
    import java.util.List;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.FileNotifyInformation;
    import jcifs.SmbConstants;
    import jcifs.SmbWatchHandle;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.NotifyResponse;
    import jcifs.internal.smb1.trans.nt.NtTransNotifyChange;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top