Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for hosts (0.24 sec)

  1. src/main/java/jcifs/smb1/netbios/NbtAddress.java

    /*
     * This is a special name that means all hosts. If you wish to find all hosts
     * on a network querying a workgroup group name is the preferred method.
     */ 
    
        static final String ANY_HOSTS_NAME = "*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
    
    /** 
     * This is a special name for querying the master browser that serves the
     * list of hosts found in "Network Neighborhood".
     */ 
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

     * @since jcifs-0.1
     */
    
    public final class NbtAddress implements NetbiosAddress {
    
        /**
         * This is a special name that means all hosts. If you wish to find all hosts
         * on a network querying a workgroup group name is the preferred method.
         */
        public static final String ANY_HOSTS_NAME = "*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000";
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 15.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                case 8: // Kerberos Time
                    // DERGeneralizedTime derTime = KerberosUtil.readAs(tagged,
                    // DERGeneralizedTime.class);
                    break;
                case 9: // Host Addresses
                    ASN1Sequence adressesSequence = ASN1Util.as(ASN1Sequence.class, tagged);
                    Enumeration<?> adresses = adressesSequence.getObjects();
                    while ( adresses.hasMoreElements() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException {
            if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) {
                // this is not too good, probably should better pass the address and check that it is a netbios one.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

            int domainLength = domain.length;
            byte[] server = new byte[0];
            String host = tc.getNameServiceClient().getLocalHost().getHostName();
            if ( host != null ) {
                try {
                    server = host.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get host bytes", ex);
                }
            }
            int serverLength = server.length;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

    
        Kerb5Context ( String host, String service, String name, int userLifetime, int contextLifetime, String realm ) throws GSSException {
            GSSManager manager = GSSManager.getInstance();
            GSSCredential clientCreds = null;
            Oid mechOid = JGSS_KRB5_MECH_OID;
            if ( realm != null ) {
                this.serviceName = manager.createName(service + "/" + host + "@" + realm, JGSS_KRB5_NAME_OID, mechOid);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

        
            Sem sem;
            String host, scope;
            int type;
            NbtAddress ans = null;
            InetAddress svr;
            UnknownHostException uhe;
        
            QueryThread( Sem sem, String host, int type,
                            String scope, InetAddress svr ) {
                super( "JCIFS-QueryThread: " + host );
                this.sem = sem;
                this.host = host;
                this.type = type;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            NodeStatusRequest request;
            NodeStatusResponse response;
    
            response = new NodeStatusResponse( addr );
            request = new NodeStatusRequest(
                                new Name( NbtAddress.ANY_HOSTS_NAME, 0x00, null));
            request.addr = addr.getInetAddress();
    
            n = RETRY_COUNT;
            while( n-- > 0 ) {
                try {
                    send( request, response, RETRY_TIMEOUT );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        public NbtAddress getNbtByName ( String host ) throws UnknownHostException {
            return getNbtByName(host, 0x00, null);
        }
    
    
        @Override
        public NbtAddress getNbtByName ( String host, int type, String scope ) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)));
        }
    
    
        private static SSPContext setupTargetName ( CIFSContext tc, String host, NtlmContext ntlmContext ) {
            if ( host != null && tc.getConfig().isSendNTLMTargetName() ) {
                ntlmContext.setTargetName(String.format("cifs/%s", host));
            }
            return ntlmContext;
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
Back to top