Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for UniAddress (0.06 sec)

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

    import jcifs.smb1.UniAddress;
    
    /**
     * Very small test suite that exercises the most important state-changing
     * behaviour of {@link SmbSession}. The tests use Mockito to stub the
     * heavy network interactions through {@link SmbTransport}.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionTest {
    
        @Mock
        UniAddress addr;
        @Mock
        InetAddress inet;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmHttpFilter.java

        }
    
        private static NtlmChallenge interrogate(final CIFSContext tf, final Address addr) throws SmbException {
            final UniAddress dc = new UniAddress(addr);
            try (SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmServlet.java

    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        final String mb = NbtAddress.getByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = UniAddress.getByName(mb);
                    } else {
                        dc = UniAddress.getByName(server, possibleWorkgroup);
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        private static long lastModified = 1L;
        private static int alt;
        private static LogStream log = LogStream.getInstance();
    
        /**
         * This is really just for {@link jcifs.smb1.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/MultiChannelManager.java

            try {
                // Create Address wrapper for server address
                jcifs.netbios.UniAddress serverUniAddress = new jcifs.netbios.UniAddress(serverAddress);
    
                // Use default SMB port
                int port = 445;
    
                // Use default local port (0 means system assigns)
                int localPort = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

        private final Map<Name, NbtAddress> table = new HashMap<>();
        private long lastModified = 1L;
        private int alt;
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

                // seems to be correct according to
                // https://lists.samba.org/archive/samba-technical/2009-August/066486.html
                // UniAddress addr = UniAddress.getByName(authDomain, true, tf);
                // SmbTransport trans = tf.getTransportPool().getSmbTransport(tf, addr, 0);
                try (SmbTransport dc = getDc(tf, authDomain)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            int n;
            final NameQueryRequest request = new NameQueryRequest(name);
            final NameQueryResponse response = new NameQueryResponse();
    
            if (addr != null) { /* UniAddress calls always use this
                                 * because it specifies addr
                                 */
                request.addr = addr; /* if addr ends with 255 flag it bcast */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertNotNull(netbiosUnwrapped);
            assertSame(nbtAddress, netbiosUnwrapped);
    
            // Test unwrap for truly incompatible type
            assertNull(nbtAddress.unwrap(UniAddress.class));
        }
    
        @Test
        void testFirstCalledName_RegularHostName() {
            // Test firstCalledName with a regular hostname
            mockName = new Name(mockConfig, "MYSERVER", 0x20, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
Back to top