Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for UniAddress (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // To instantiate the non-static inner class ServerData, we need an instance of the outer class SmbTransport.
            UniAddress uniAddress = new UniAddress(InetAddress.getByName("127.0.0.1"));
            SmbTransport transport = new SmbTransport(uniAddress, 445, null, 0);
            serverData = transport.new ServerData();
            response = new SmbComNegotiateResponse(serverData);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

                _domains = null;
            }
            if (_domains != null) {
                return _domains.map;
            }
            try {
                final UniAddress addr = UniAddress.getByName(auth.domain, true);
                final SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                final CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmChallenge.java

        public byte[] challenge;
    
        /**
         * Server address
         */
        public UniAddress dc;
    
        /**
         * Creates a new NTLM challenge with the specified parameters.
         * @param challenge the NTLM challenge bytes
         * @param dc the domain controller address
         */
        public NtlmChallenge(final byte[] challenge, final UniAddress dc) {
            this.challenge = challenge;
            this.dc = dc;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmServlet.java

            UniAddress dc;
            final boolean offerBasic = enableBasic && (insecureBasic || request.isSecure());
            final String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (loadBalance) {
                    dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jakarta.servlet.ServletResponse;
    import jakarta.servlet.http.HttpServletRequest;
    import jakarta.servlet.http.HttpServletResponse;
    import jakarta.servlet.http.HttpSession;
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.smb1.NtStatus;
    import jcifs.smb1.smb1.NtlmChallenge;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        //         */
        //
        //        UniAddress dc = UniAddress.getByName(domainName);
        //        SmbTransport trans = SmbTransport.getSmbTransport(dc, 0);
        //        DfsReferral[] dr = trans.getDfsReferrals(auth, "\\" + domainName, 1);
        //
        //        handle = DcerpcHandle.getHandle("ncacn_np:" +
        //                    UniAddress.getByName(dr[0].server).getHostAddress() +
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            final byte[] ip = java.net.InetAddress.getByName(address).getAddress();
                            this.addresses = new UniAddress[1];
                            this.addresses[0] = new UniAddress(java.net.InetAddress.getByAddress(host, ip));
                        }
                    } else if (host.length() == 0) {
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbTransportPool.java

        /**
         * Authenticate arbitrary credentials represented by the
         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
         * not accepted, an <code>SmbAuthException</code> will be thrown. If an error
         * occurs an <code>SmbException</code> will be thrown. If the credentials are
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                }
            } else if (path.length() == 0 || path.equals("/")) {
                addresses = UniAddress.getAllByName(host, true);
            } else {
                addresses = UniAddress.getAllByName(host, false);
            }
    
            return getNextAddress();
        }
    
        UniAddress getNextAddress() {
            UniAddress addr = null;
            if (addressIndex < addresses.length) {
                addr = addresses[addressIndex++];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NameServiceClient.java

        /**
         * Determines the address of a host given it's host name. The name can be a NetBIOS name like
         * "freto" or an IP address like "192.168.1.15". It cannot be a DNS name;
         * the analygous {@link jcifs.netbios.UniAddress} or {@link java.net.InetAddress}
         * <code>getByName</code> methods can be used for that.
         *
         * @param host
         *            hostname to resolve
         * @return the resolved address
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top