- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 68 for dialects (0.47 sec)
-
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @ParameterizedTest @ValueSource(ints = { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }) @DisplayName("All specific dialects should be greater than or equal to SMB 2.0.2") void testDialectVersionProgression(int dialect) { assertTrue(dialect >= Smb2Constants.SMB2_DIALECT_0202,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/DialectVersion.java
private final boolean smb2; private final int dialect; /** * */ DialectVersion() { this.smb2 = false; this.dialect = -1; } DialectVersion(final int dialectId) { this.smb2 = true; this.dialect = dialectId; } /** * Check if this is an SMB2 dialect version * * @return the smb2 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
README.md
- **SMB 3.1.1**: Windows 10/Server 2016+ (0x0311) - AES-128-GCM + Pre-Auth Integrity **Protocol Selection:** - Default Range: SMB1 to SMB 3.1.1 - Automatic Negotiation: Client offers all supported dialects, server selects highest common version - Configurable: Min/max versions can be set via configuration properties ### SMB3 Encryption Support - **SMB2 Transform Header**: Encrypted message wrapping
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 09:24:52 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
} @Test @DisplayName("Test all dialect versions") void testAllDialectVersions() { // Test each dialect version DialectVersion[] dialects = { DialectVersion.SMB1, DialectVersion.SMB202, DialectVersion.SMB210, DialectVersion.SMB300, DialectVersion.SMB302, DialectVersion.SMB311 }; for (DialectVersion dialect : dialects) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1 }, 0, 1, null)); } @Test @DisplayName("calculatePreauthHash rejects dialects before SMB 3.1.1") void preauthHash_rejectsOldDialect() { setField(transport, "smb2", true); Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg); // selectedDialect: SMB300
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
tests/sql_builder_test.go
} func TestToSQL(t *testing.T) { // By default DB.DryRun should false if DB.DryRun { t.Fatal("Failed expect DB.DryRun to be false") } if DB.Dialector.Name() == "sqlserver" { t.Skip("Skip SQL Server for this test, because it too difference with other dialects.") } date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local) // find sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@DisplayName("Should throw exception for invalid dialects") void testConstructorInvalidDialects(int dialect) { IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> new Smb2SigningDigest(sessionKey, dialect, null)); assertEquals("Unknown dialect", exception.getMessage()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
tests/error_translator_test.go
if err != nil { t.Fatalf("failed to connect database, got error %v", err) } dialectors := map[string]bool{"sqlite": true, "postgres": true, "gaussdb": true, "mysql": true, "sqlserver": true} if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) { return } DB.Migrator().DropTable(&City{}) if err = db.AutoMigrate(&City{}); err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java
*/ public int getSecurityMode() { return this.securityMode; } /** * Gets the negotiated SMB dialect * * @return the SMB dialect negotiated with the server */ public int getDialect() { return this.dialect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
private volatile boolean closed = false; /** * Constructs a SMB2 signing digest with the specified session key and dialect * * @param sessionKey * the session key for signing * @param dialect * the SMB2 dialect version * @param preauthIntegrityHash * the pre-authentication integrity hash (for SMB 3.1.1) * @throws GeneralSecurityException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)