Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for DFS (0.03 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

        static final boolean strictView = Config.getBoolean("jcifs.smb1.smb.client.dfs.strictView", false);
        static final long TTL = Config.getLong("jcifs.smb1.smb.client.dfs.ttl", 300);
        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
        protected CacheEntry _domains = null; /* aka trusted domains cache */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/DfsTest.java

            DfsResolver dfs = context.getDfs();
    
            String testDomain = getTestDomain();
            assertTrue(dfs.isTrustedDomain(context, testDomain));
            assertTrue(dfs.isTrustedDomain(context, testDomain.toLowerCase(Locale.ROOT)));
            String shortDom = getProperties().get(TestProperties.TEST_DOMAIN_SHORT);
            if ( shortDom != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.dfs.ttl</tt> (int, default 300)
         * 
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.dfs.strictView</tt> (boolean, default false)
         * 
         * @return whether a authentication failure during DFS resolving will throw an exception
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                            return loc;
                        }
    
                        // fallthrough to normal handling
                        log.debug("No tree referral but in DFS");
                    }
                    else {
                        log.trace("Not in DFS");
                        return loc;
                    }
                }
    
                if ( request != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DfsImpl.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.DfsReferralData;
    import jcifs.DfsResolver;
    import jcifs.SmbTransport;
    import jcifs.internal.dfs.DfsReferralDataImpl;
    import jcifs.internal.dfs.DfsReferralDataInternal;
    
    
    /**
     * Caching DFS resolver implementation
     * 
     * @internal
     */
    public class DfsImpl implements DfsResolver {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.dfs.DfsReferralDataInternal#setCacheMap(java.util.Map)
         */
        @Override
        public void setCacheMap ( Map<String, DfsReferralDataInternal> map ) {
            this.map = map;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.dfs.DfsReferralDataInternal#replaceCache()
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
    
            checkStatus( request, response );
        }
        public String toString() {
            return super.toString() + "[" + address + ":" + port + "]";
        }
    
        /* DFS */
    
        /* Split DFS path like \fs1.example.com\root5\link2\foo\bar.txt into at
         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

        }
    
    
        /**
         * @return whether this is a DFS share
         */
        public boolean isDfs () {
            return this.inDfs;
        }
    
    
        /**
         * 
         */
        void markDomainDfs () {
            this.inDomainDfs = true;
        }
    
    
        /**
         * @return whether this tree was accessed using domain DFS
         */
        public boolean isInDomainDfs () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

     * DFS referrals. (E.g. a resource with a DFS root's parent will still point to the DFS root not the share it's actually
     * located in).
     * - share + uncpath within it: This is the relevant information for most SMB requests. Both are adjusted by DFS
     * referrals. Nested resources will inherit the information already resolved by the parent resource.
     * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

        @Test
        public void testDfsReferralShareNested () throws MalformedURLException, CIFSException {
            try ( SmbResource p = new SmbFile("smb://1.2.3.4/dfs/share/bar/", getContext()) ) {
                DfsReferralData dr = new TestDfsReferral("1.2.3.4", "target", "", 6); // consumes the /share dfs root path
                String reqPath = "\\share\\bar\\";
                SmbResourceLocator fl = p.getLocator();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
Back to top