- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for dc (0.66 sec)
-
src/main/java/jcifs/smb1/smb1/NtlmChallenge.java
*/ public UniAddress dc; NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge; this.dc = dc; } @Override public String toString() { return "NtlmChallenge[challenge=0x" + Hexdump.toHexString(challenge, 0, challenge.length * 2) + ",dc=" + dc.toString() + "]"; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmChallenge.java
/** * Server address */ public UniAddress dc; /** * Creates a new NTLM challenge with the specified parameters. * @param challenge the NTLM challenge bytes * @param dc the domain controller address */ public NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge; this.dc = dc; } @Override public String toString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(challenge, dc); assertSame(challenge, nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() { UniAddress dc = mock(UniAddress.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
UniAddress dc; final boolean offerBasic = enableBasic && (insecureBasic || request.isSecure()); final String msg = request.getHeader("Authorization"); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (loadBalance) { dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbTransportPool.java
* use actual Active Directory authentication instead */ @Deprecated void logon(CIFSContext tc, Address dc, int port) throws CIFSException; /** * Get NTLM challenge from a server * * @param dc the domain controller address * @param tc the CIFS context containing credentials * @return NTLM challengeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
Address dc; final boolean offerBasic = this.enableBasic && (this.insecureBasic || request.isSecure()); final String msg = request.getHeader("Authorization"); if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (this.loadBalance) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/test/java/jcifs/smb/DfsImplTest.java
assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); } @Test void testGetDc_ConnectionFails() throws SmbAuthException { // Scenario: Transport connection fails when getting DC when(mockCredentials.getUserDomain()).thenReturn("authdomain.com"); // When transport fails to connect, getDc returns null assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* UnknownHostException uhe = null; * * try { * context = new InitialDirContext(); * for ( ;; ) { * try { * Attributes attributes = context.getAttributes( * "dns:/_ldap._tcp.dc._msdcs." + name, * new String[] { "SRV" } * ); * return name; * } catch (NameNotFoundException nnfe) { * uhe = new UnknownHostException(nnfe.getMessage()); * }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0)