Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DfsReferral (0.07 sec)

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

        public DfsReferral()
        {
            this.next = this;
        }
    
        void append(DfsReferral dr)
        {
            dr.next = next;
            next = dr;
        }
    
        public String toString() {
            return "DfsReferral[pathConsumed=" + pathConsumed +
                ",server=" + server +
                ",share=" + share +
                ",link=" + link +
                ",path=" + path +
                ",ttl=" + ttl +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsReferral.java

     * @author mbechler
     *
     * @internal
     */
    @SuppressWarnings ( "javadoc" )
    public class DfsReferral extends SmbException {
    
        /**
         * 
         */
        private static final long serialVersionUID = 1486630733410281686L;
    
        private final DfsReferralData data;
    
    
        /**
         * @param dr
         */
        public DfsReferral ( DfsReferralData data ) {
            this.data = data;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Dfs.java

                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;
                    do {
                        String domain = dr.server.toLowerCase();
                        entry.map.put(domain, new HashMap());
    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/smb/SmbResourceLocatorImpl.java

         *
         * @see jcifs.SmbResourceLocator#getDfsPath()
         */
        @Override
        public String getDfsPath () {
            if ( this.dfsReferral == null ) {
                return null;
            }
            return "smb://" + this.dfsReferral.getServer() + "/" + this.dfsReferral.getShare() + this.getUNCPath().replace('\\', '/');
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                rn = resp.numReferrals;
            }
    
            DfsReferral[] drs = new DfsReferral[rn];
            String[] arr = new String[4];
            long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            for (int di = 0; di < drs.length; di++) {
                DfsReferral dr = new DfsReferral();
                            /* NTLM HTTP Authentication must be re-negotiated
    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/main/java/jcifs/smb/SmbTreeConnection.java

        }
    
    
        private <T extends CommonServerMessageBlockResponse> T send0 ( SmbResourceLocatorImpl loc, CommonServerMessageBlockRequest request, T response,
                Set<RequestParam> params ) throws CIFSException, DfsReferral {
            for ( int limit = 10; limit > 0; limit-- ) {
                if ( request instanceof RequestWithPath ) {
                    ensureDFSResolved(loc, (RequestWithPath) request);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * <code>null</code> is returned.
     */
    
        public String getDfsPath() throws SmbException {
            resolveDfs(null);
            if( dfsReferral == null ) {
                return null;
            }
            String path = "smb1:/" + dfsReferral.server + "/" + dfsReferral.share + unc;
            path = path.replace( '\\', '/' );
            if (isDirectory()) {
                path += '/';
            }
            return path;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.DfsReferralData;
    import jcifs.NameServiceClient;
    import jcifs.SmbConstants;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.NbtAddress;
    import jcifs.smb.DfsReferral;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        /**
         * @param resp
         * @param path
         * @param req
         * @throws SmbException
         * @throws DfsReferral
         */
        private void checkReferral ( Response resp, String path, RequestWithPath req ) throws SmbException, DfsReferral {
            DfsReferralData dr = null;
            if ( !getContext().getConfig().isDfsDisabled() ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                }
                resp.setHeader( "Connection", "close" );
                resp.setStatus( HttpServletResponse.SC_UNAUTHORIZED );
                resp.flushBuffer();
                return;
            } catch( DfsReferral dr ) {
                StringBuffer redir = req.getRequestURL();
                String qs = req.getQueryString();
                redir = new StringBuffer( redir.substring( 0, redir.length() - req.getPathInfo().length() ));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top