Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for lmhosts (0.06 sec)

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

    import jcifs.smb1.util.LogStream;
    
    /**
     * Lmhosts file handling for NetBIOS name resolution.
     */
    public class Lmhosts {
    
        /**
         * Default constructor for Lmhosts.
         */
        public Lmhosts() {
            // Default constructor
        }
    
        private static final String FILENAME = Config.getProperty("jcifs.smb1.netbios.lmhosts");
        private static final Hashtable TAB = new Hashtable();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Lmhosts.java

    import jcifs.smb.SmbFileInputStream;
    
    /**
     * LMHOSTS file parser and NetBIOS name resolver.
     * This class provides functionality for resolving NetBIOS names using LMHOSTS files.
     */
    public class Lmhosts {
    
        /**
         * Default constructor for Lmhosts.
         */
        public Lmhosts() {
            // Default constructor
        }
    
        private static final Logger log = LoggerFactory.getLogger(Lmhosts.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

    import jcifs.Configuration;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * Test class for Lmhosts
     */
    class LmhostsTest {
    
        private Lmhosts lmhosts;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @TempDir
        Path tempDir;
    
        @BeforeEach
        void setUp() {
            lmhosts = new Lmhosts();
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

            } catch (final UnknownHostException uhe) {}
    
            if (ro == null || ro.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,WINS,BCAST,DNS or just
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
                 */
    
                if (nbns == null) {
                    resolveOrder = new int[3];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return this.localhostAddress.hostName;
            }
            return null;
        }
    
        /**
         * Gets the lmhosts resolver instance used by this client.
         *
         * @return lmhosts file used
         */
        public Lmhosts getLmhosts() {
            return this.lmhosts;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.NameServiceClient#getUnknownName()
         */
    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/smb1/netbios/NameServiceClient.java

            in = new DatagramPacket(rcv_buf, RCV_BUF_SIZE);
    
            if (RO == null || RO.length() == 0) {
    
                /* No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST
                 * LMHOSTS,BCAST,DNS if jcifs.smb1.netbios.wins has not
                 * been specified.
                 */
    
                if (NbtAddress.getWINSAddress() == null) {
                    resolveOrder = new int[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ResolverType.java

         * Resolve using WINS server
         */
        RESOLVER_WINS,
    
        /**
         * NETBIOS broadcast
         */
        RESOLVER_BCAST,
    
        /**
         * DNS
         */
        RESOLVER_DNS,
    
        /**
         * LMHosts file lookup
         */
        RESOLVER_LMHOSTS
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

         * @param ro comma-separated list of resolver types (LMHOSTS, WINS, BCAST, DNS)
         */
        protected void initResolverOrder(final String ro) {
            this.resolverOrder = new ArrayList<>();
            if (ro == null || ro.length() == 0) {
                /*
                 * No resolveOrder has been specified, use the
                 * default which is LMHOSTS,DNS,WINS,BCAST or just
                 * LMHOSTS,DNS,BCAST if jcifs.netbios.wins has not
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * @since 2.2
         */
        int getLeaseBreakTimeout();
    
        /**
         *
         *
         * Property {@code jcifs.netbios.lmhosts} (string)
         *
         * @return lmhosts file to use
         */
        String getLmHostsFileName();
    
        /**
         *
         * Property {@code jcifs.netbios.scope} (string)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/UniAddress.java

     * and {@link java.net.InetAddress}. The name resolution mechanisms
     * used will systematically query all available configured resolution
     * services including WINS, broadcasts, DNS, and LMHOSTS. See
     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top