Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NbtAddress (0.11 sec)

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

     *
     * <pre>
     * 
     * InetAddress addr = NbtAddress.getByName("jmorris2").getInetAddress();
     * </pre>
     * <p>
     * From a UNIX platform with Samba installed you can perform similar
     * diagnostics using the <code>nmblookup</code> utility.
     *
     * @author Michael B. Allen
     * @see java.net.InetAddress
     * @since jcifs-0.1
     */
    
    public final class NbtAddress implements NetbiosAddress {
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            checkData();
            return groupName;
        }
    
    /** 
     * Checks the node type of this address.
     * @return {@link jcifs.smb1.netbios.NbtAddress#B_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#P_NODE}, {@link jcifs.smb1.netbios.NbtAddress#M_NODE},
     * {@link jcifs.smb1.netbios.NbtAddress#H_NODE}
     *
     * @throws UnknownHostException if the host cannot be resolved to find out.
     */ 
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                NbtAddress.B_NODE,
                false,
                false,
                true,
                false,
                UNKNOWN_MAC_ADDRESS);
            cacheAddress(localName, this.localhostAddress, SmbConstants.FOREVER);
        }
    
    
        NbtAddress doNameQuery ( Name name, InetAddress svr ) throws UnknownHostException {
            NbtAddress addr;
    
            if ( name.hexCode == 0x1d && svr == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

        public String nextCalledName() {
            if( addr instanceof NbtAddress ) {
                return ((NbtAddress)addr).nextCalledName();
            } else if( calledName != NbtAddress.SMBSERVER_NAME ) {
                calledName = NbtAddress.SMBSERVER_NAME;
                return calledName;
            }
            return null;
        }
    
        /**
         * Return the underlying <tt>NbtAddress</tt> or <tt>InetAddress</tt>.
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            throw new UnknownHostException( name.name );
        }
        NbtAddress[] getNodeStatus( NbtAddress addr ) throws UnknownHostException {
            int n, srcHashCode;
            NodeStatusRequest request;
            NodeStatusResponse response;
    
            response = new NodeStatusResponse( addr );
            request = new NodeStatusRequest(
                                new Name( NbtAddress.ANY_HOSTS_NAME, 0x00, null));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private static final int CACHE_POLICY =
                    Config.getInt( "jcifs.smb1.netbios.cachePolicy", 60 * 10 ) * 60; /* 10 hours */
    
        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
        private static NtlmChallenge interrogate( NbtAddress addr ) throws SmbException {
            UniAddress dc = new UniAddress( addr );
            SmbTransport trans = SmbTransport.getSmbTransport( dc, 0 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

                    + ( src[ srcIndex + 3 ] & 0xFF );
        }
    
    
        static int readNameTrnId ( byte[] src, int srcIndex ) {
            return readInt2(src, srcIndex);
        }
    
        int addrIndex;
        NbtAddress[] addrEntry;
    
        int nameTrnId;
    
        int opCode, resultCode, questionCount, answerCount, authorityCount, additionalCount;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    ( src[srcIndex + 3] & 0xFF );
        }
    
        static int readNameTrnId( byte[] src, int srcIndex ) {
            return readInt2( src, srcIndex );
        }
    
        int addrIndex;
        NbtAddress[] addrEntry;
    
        int nameTrnId;
    
        int opCode,
                resultCode,
                questionCount,
                answerCount,
                authorityCount,
                additionalCount;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                if( msg.startsWith("NTLM ")) {
                    byte[] challenge;
    
                    if( pathInfo == null || server == null ) {
                        String mb = NbtAddress.getByName( NbtAddress.MASTER_BROWSER_NAME, 0x01, null ).getHostAddress();
                        dc = UniAddress.getByName( mb );
                    } else {
                        dc = UniAddress.getByName( server, possibleWorkgroup );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.Config;
    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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
Back to top