- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for SECURITY_SHARE (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
} @Test void testConstructorWithSecurityShare() throws Exception { // Test with SECURITY_SHARE mode mockTransport.server.security = ServerMessageBlock.SECURITY_SHARE; SmbComSessionSetupAndX shareSetup = new SmbComSessionSetupAndX(mockSession, mockAndx, mockAuth); assertNotNull(shareSetup);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
} return 0; } @Override int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { if (session.transport.server.security == SECURITY_SHARE && (session.auth.hashesExternal || session.auth.password.length() > 0)) { if (session.transport.server.encryptedPasswords) { // encrypted
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
+ ",securityMode=0x" + Hexdump.toHexString(server.securityMode, 1) + ",security=" + (server.security == SECURITY_SHARE ? "share" : "user") + ",encryptedPasswords=" + server.encryptedPasswords + ",maxMpxCount=" + server.maxMpxCount + ",maxNumberVcs=" + server.maxNumberVcs + ",maxBufferSize=" + server.maxBufferSize
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} return 0; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { if (this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator) { final NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials(); if (isExternalAuth(pwAuth)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
blob = (byte[]) cred; } else { throw new SmbException("Unsupported credential type"); } } else if (session.transport.server.security == SECURITY_SHARE) { if (!(cred instanceof final NtlmPasswordAuthentication auth)) { throw new SmbException("Unsupported credential type"); } lmHash = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData(); serverData.security = 0; // Set to 0 or appropriate value for SECURITY_SHARE serverData.encryptionKey = new byte[8]; // Initialize with empty encryption key // Configure the mock transport with the server data transport.server = serverData;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
} else { throw new SmbException("Unsupported credential type " + (cred != null ? cred.getClass() : "NULL")); } } else if (server.security == SmbConstants.SECURITY_SHARE) { if (!(cred instanceof final NtlmPasswordAuthenticator a)) { throw new SmbException("Unsupported credential type"); } this.lmHash = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0)