- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for getNameServiceClient (0.29 sec)
-
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} @Override public SmbTransportImpl getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning ) throws IOException { Address[] addrs = tf.getNameServiceClient().getAllByName(name, true); if ( addrs == null || addrs.length == 0 ) { throw new UnknownHostException(name); } Arrays.sort(addrs, new Comparator<Address>() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
log.debug("Failed to get domain bytes", ex); } } int domainLength = domain.length; byte[] server = new byte[0]; String host = tc.getNameServiceClient().getLocalHost().getHostName(); if ( host != null ) { try { server = host.getBytes(UNI_ENCODING); } catch ( IOException ex ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type1Message.java
* environment. * * @param tc * context to use */ public Type1Message ( CIFSContext tc ) { this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-1 message with the specified parameters. * * @param tc * context to use * @param flags
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Sep 02 12:55:08 UTC 2018 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/tests/ContextConfigTest.java
this.context = SingletonContext.getInstance(); } @Test public void testSingletonInit () { assertNotNull(this.context.getBufferCache()); assertNotNull(this.context.getNameServiceClient()); assertNotNull(this.context.getTransportPool()); assertNotNull(this.context.getUrlHandler()); assertNotNull(this.context.getCredentials()); } @Test
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.svr = svr; this.tc = tc; } @Override public void run () { try { this.ans = this.tc.getNameServiceClient().getNbtAllByName(this.host, this.type, this.scope, this.svr); } catch ( UnknownHostException ex ) { this.uhe = ex; } catch ( Exception ex ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 14 14:26:22 UTC 2022 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
if ( msg.startsWith("NTLM ") ) { byte[] challenge; NameServiceClient nameServiceClient = getTransportContext().getNameServiceClient(); if ( pathInfo == null || server == null ) { String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
type2, null, password, domain, user, this.transportContext.getNameServiceClient().getLocalHost().getHostName(), 0); } return message; } } private void reconnect () throws IOException {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
final NameServiceClientImpl nsc = new NameServiceClientImpl(ctx); ctx = new CIFSContextWrapper(ctx) { @Override public jcifs.NameServiceClient getNameServiceClient () { return nsc; } }; try ( SmbFile smbFile = new SmbFile("smb://" + getRequiredProperty(TestProperties.TEST_DOMAIN_SHORT), ctx) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
public Type3Message ( CIFSContext tc ) { setFlags(getDefaultFlags(tc)); setDomain(tc.getConfig().getDefaultDomain()); setUser(tc.getConfig().getDefaultUsername()); setWorkstation(tc.getNameServiceClient().getLocalHost().getHostName()); } /** * Creates a Type-3 message in response to the given Type-2 message. * * @param tc * context to use * @param type2
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
if ( this.fileLocator.getType() == TYPE_WORKGROUP ) { getContext().getNameServiceClient().getByName(this.url.getHost(), true); } else { getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName(); } } else {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu May 23 01:50:13 UTC 2024 - 82.3K bytes - Viewed (0)