Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for Smb2SessionSetupRequest (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

    /**
     * SMB2 Session Setup request message. This command is used to establish a security session
     * and authenticate a user to the server.
     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupRequest extends ServerMessageBlock2Request<Smb2SessionSetupResponse> {
    
        private final byte[] token;
        private final int capabilities;
        private boolean sessionBinding;
        private final long previousSessionId;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

    /**
     * Test class for Smb2SessionSetupRequest functionality
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("Smb2SessionSetupRequest Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SessionSetupRequestTest extends BaseTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private Smb2SessionSetupRequest request;
    
        // Test constants
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            // prepare should propagate session id when received
            CIFSContext mockCtx = mock(CIFSContext.class);
            when(mockCtx.getConfig()).thenReturn(mock(Configuration.class));
            Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null);
            assertEquals(0L, nextReq.getSessionId());
            resp.prepare(nextReq);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            byte[] bindingHash = calculateBindingHash(bindingInfo);
            channel.setBindingHash(bindingHash);
    
            // Create session setup request with binding flag
            Smb2SessionSetupRequest request = new Smb2SessionSetupRequest(context, 0x03, // SMB2_NEGOTIATE_SIGNING_ENABLED | SMB2_NEGOTIATE_SIGNING_REQUIRED
                    0, // Capabilities
                    0L, // Previous session ID (0 for binding)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

            }
    
            if (this.disallowCompound == null) {
                // Samba woes on these
                // Smb2SessionSetupRequest + X -> INTERNAL_ERROR
                // Smb2TreeConnectRequest + IoCtl -> NETWORK_NAME_DELETED
                this.disallowCompound = new HashSet<>(Arrays.asList("Smb2SessionSetupRequest", "Smb2TreeConnectRequest"));
            }
    
            // Initialize multi-channel defaults if not set
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top