Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for dialectIndex (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            }
        }
    
        // Helper method to set private dialectIndex field using reflection
        private void setDialectIndex(SmbComNegotiateResponse response, int dialectIndex) {
            try {
                Field field = response.getClass().getDeclaredField("dialectIndex");
                field.setAccessible(true);
                field.set(response, dialectIndex);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
        /**
         * Returns the index of the selected SMB dialect from the negotiation.
         *
         * @return the dialectIndex
         */
        public int getDialectIndex() {
            return this.dialectIndex;
        }
    
        /**
         * Returns the server capabilities negotiated during the SMB handshake.
         *
         * @return the negotiated capabilities
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                final int altPort = port == 0 || port == DEFAULT_PORT ? 139 : DEFAULT_PORT;
                negotiate(altPort, resp);
                port = altPort;
            }
    
            if (resp.dialectIndex > 10) {
                throw new SmbException("This client does not support the negotiated dialect.");
            }
            if ((server.capabilities & CAP_EXTENDED_SECURITY) != CAP_EXTENDED_SECURITY && server.encryptionKeyLength != 8
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top