Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SMB2_TREE_CONNECT (1.47 sec)

  1. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

         * @param config the CIFS configuration
         * @param path the UNC path to the share to connect to
         */
        public Smb2TreeConnectRequest(final Configuration config, final String path) {
            super(config, SMB2_TREE_CONNECT);
            this.path = path;
        }
    
        @Override
        protected Smb2TreeConnectResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2TreeConnectResponse> req) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            String c = switch (this.command) {
            case SMB2_NEGOTIATE -> "SMB2_NEGOTIATE";
            case SMB2_SESSION_SETUP -> "SMB2_SESSION_SETUP";
            case SMB2_LOGOFF -> "SMB2_LOGOFF";
            case SMB2_TREE_CONNECT -> "SMB2_TREE_CONNECT";
            case SMB2_TREE_DISCONNECT -> "SMB2_TREE_DISCONNECT";
            case SMB2_CREATE -> "SMB2_CREATE";
            case SMB2_CLOSE -> "SMB2_CLOSE";
            case SMB2_FLUSH -> "SMB2_FLUSH";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            Field commandField = ServerMessageBlock2.class.getDeclaredField("command");
            commandField.setAccessible(true);
            int command = (int) commandField.get(req);
    
            assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value
    
            // Verify path is set correctly
            Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path");
            pathField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertEquals(0x01, ServerMessageBlock2.SMB2_SESSION_SETUP);
                assertEquals(0x02, ServerMessageBlock2.SMB2_LOGOFF);
                assertEquals(0x03, ServerMessageBlock2.SMB2_TREE_CONNECT);
                assertEquals(0x04, ServerMessageBlock2.SMB2_TREE_DISCONNECT);
                assertEquals(0x05, ServerMessageBlock2.SMB2_CREATE);
                assertEquals(0x06, ServerMessageBlock2.SMB2_CLOSE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top