Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fixupHost (0.15 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

     *
     */
    public interface DfsReferralDataInternal extends DfsReferralData {
    
        /**
         * Replaces the host with the given FQDN if it is currently unqualified
         * 
         * @param fqdn
         */
        void fixupHost ( String fqdn );
    
    
        /**
         * Possibly appends the given domain name to the host name if it is currently unqualified
         * 
         * @param domain
         */
        void fixupDomain ( String domain );
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
    
        @Override
        public void fixupHost ( String fqdn ) {
            String s = getServer();
            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                if ( fqdn.startsWith(s.toLowerCase(Locale.ROOT) + ".") ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

            DfsReferralDataInternal dri = (DfsReferralDataInternal) dr;
    
            if ( tc.getConfig().isDfsConvertToFQDN() ) {
                dri.fixupHost(server);
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug("Adding key " + key + " to " + dr);
            }
    
            /*
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
Back to top