Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getSmbTransport (0.08 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

    
        @Override
        public SmbTransportImpl getSmbTransport ( CIFSContext tc, Address address, int port, boolean nonPooled ) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
    
        @Override
        public SmbTransportImpl getSmbTransport ( CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTransportPool.java

         * @param port
         * @param exclusive
         * @param forceSigning
         * @return a connected transport
         * @throws UnknownHostException
         * @throws IOException
         */
        SmbTransport getSmbTransport ( CIFSContext tf, String name, int port, boolean exclusive, boolean forceSigning )
                throws UnknownHostException, IOException;
    
    
        /**
         * Get transport connection
         * 
         * @param tc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Dfs.java

            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
                SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
                DfsReferral dr = trans.getDfsReferrals(auth, "", 0);
                if (dr != null) {
                    DfsReferral start = dr;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

        static int dc_list_counter;
    
        private static NtlmChallenge interrogate( NbtAddress addr ) throws SmbException {
            UniAddress dc = new UniAddress( addr );
            SmbTransport trans = SmbTransport.getSmbTransport( dc, 0 );
            if (USERNAME == null) {
                trans.connect();
                if (SmbTransport.log.level >= 3)
                    SmbTransport.log.println(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        static LogStream log = LogStream.getInstance();
        static HashMap dfsRoots = null;
    
        static synchronized SmbTransport getSmbTransport( UniAddress address, int port ) {
            return getSmbTransport( address, port, LADDR, LPORT, null );
        }
        static synchronized SmbTransport getSmbTransport( UniAddress address, int port,
                                        InetAddress localAddr, int localPort, String hostName ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/OplockTests.java

        public void testOpenOplocked () throws UnknownHostException, IOException {
            CIFSContext c = getContext();
            c = withTestNTLMCredentials(c);
            try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true)
                    .unwrap(SmbTransportInternal.class);
                  SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DfsImpl.java

                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try ( SmbTransport dc = getDc(tf, authDomain) ) {
                    CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                            log.debug("Using exclusive transport for " + this);
                        }
                        this.exclusiveTransport = this.ctx.getTransportPool()
                                .getSmbTransport(this.ctx, host, loc.getPort(), true, loc.shouldForceSigning()).unwrap(SmbTransportInternal.class);
                        SmbTransportInternal trans = this.exclusiveTransport;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

            UniAddress dc = new UniAddress(addr);
            try ( SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
                    .unwrap(SmbTransportInternal.class) ) {
                if ( !tf.hasDefaultCredentials() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ConcurrencyTest.java

                }
            });
    
            try {
                CIFSContext c = getContext();
                c = withTestNTLMCredentials(c);
                try ( SmbTransportInternal trans = c.getTransportPool().getSmbTransport(c, getTestServer(), 0, false, true)
                        .unwrap(SmbTransportInternal.class);
                      SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
Back to top