Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for Sethostname (1.91 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

            DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (final UnknownHostException ex) {}
            DEFAULT_WORKSTATION = defaultWorkstation;
            LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. cmd/handler-utils.go

    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    // gets host name for current node
    func getHostName(r *http.Request) (hostName string) {
    	if globalIsDistErasure {
    		hostName = globalLocalNodeName
    	} else {
    		hostName = r.Host
    	}
    	return
    }
    
    // Proxy any request to an endpoint.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

            if (this.state == 5 || this.state == 6) {
                // don't reuse disconnecting/disconnected transports
                return false;
            }
            if (hostName == null) {
                hostName = addr.getHostName();
            }
            return (this.tconHostName == null || hostName.equalsIgnoreCase(this.tconHostName)) && addr.equals(this.address)
                    && (prt == 0 || prt == this.port ||
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                    message = new Type3Message(this.transportContext, type2, null, password, domain, user,
                            this.transportContext.getNameServiceClient().getLocalHost().getHostName(), 0);
                }
                return message;
            }
        }
    
        private void reconnect() throws IOException {
            final int readTimeout = getReadTimeout();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        response.addressArray[i].hostName.srcHashCode = srcHashCode;
                    }
                    return response.addressArray;
                }
            }
            throw new UnknownHostException(addr.getHostName());
        }
    
        @Override
        public NbtAddress getNbtByName(final String host) throws UnknownHostException {
            return getNbtByName(host, 0x00, null);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

            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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * IP address is returned.
         *
         * @return the text representation of the hostname associated with this address
         */
    
        public String getHostName() {
            /* 2010 - We no longer try a Node Status to get the
             * hostname because apparently some servers do not respond
             * anymore. I think everyone post Windows 98 will accept
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            shutdownHookList.add(hook);
        }
    
        /**
         * Gets the hostname of the local machine.
         *
         * @return The hostname.
         */
        public String getHostname() {
            final Map<String, String> env = getEnvMap();
            if (env.containsKey("COMPUTERNAME")) {
                return env.get("COMPUTERNAME");
            }
            if (env.containsKey("HOSTNAME")) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  9. cmd/utils.go

    	object := likelyUnescapeGeneric(vars["object"], url.PathUnescape)
    	reqInfo := &logger.ReqInfo{
    		DeploymentID: globalDeploymentID(),
    		RequestID:    reqID,
    		RemoteHost:   handlers.GetSourceIP(r),
    		Host:         getHostName(r),
    		UserAgent:    r.UserAgent(),
    		API:          api,
    		BucketName:   bucket,
    		ObjectName:   object,
    		VersionID:    strings.TrimSpace(r.Form.Get(xhttp.VersionID)),
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  10. cmd/notification.go

    			sys.peerClients[index].host.String())
    		ctx := logger.SetReqInfo(ctx, reqInfo)
    		peersLogOnceIf(ctx, err, sys.peerClients[index].host.String())
    	}
    	locksResp = append(locksResp, &PeerLocks{
    		Addr:  getHostName(r),
    		Locks: globalLockServer.DupLockMap(),
    	})
    	return locksResp
    }
    
    // LoadBucketMetadata - calls LoadBucketMetadata call on all peers
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
Back to top