Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 374 for seiner (4.86 sec)

  1. src/main/java/jcifs/NameServiceClient.java

         * query. This might be the address of a specific host, a name server,
         * or a broadcast address.
         *
         * @param host
         *            the name to resolve
         * @param type
         *            the hex code of the name
         * @param scope
         *            the scope of the name
         * @param svr
         *            server to query
         * @return the resolved address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

         */
        public void initializeMultiChannel() throws IOException {
            // Check server capability
            if (!supportsMultiChannel()) {
                log.info("Server does not support multi-channel");
                return;
            }
    
            // Query network interfaces from server
            queryRemoteInterfaces();
    
            // Discover local interfaces
            discoverLocalInterfaces();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SpnegoContext.java

                        throw new SmbException("Server does advertise any supported mechanism");
                    }
                }
            } else if (spToken instanceof final NegTokenTarg targ) {
                if (this.firstResponse) {
                    if (!this.mechContext.isSupported(targ.getMechanism())) {
                        throw new SmbException("Server chose an unsupported mechanism " + targ.getMechanism());
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <td >
     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

     */
    package jcifs.util;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            // Act
            int available = stream.available();
    
            // Assert
            assertEquals(7, available, "Should return available bytes reported by server");
    
            // Interactions: ensure open, use tree, send IOCTL and close resources
            InOrder inOrder = inOrder(handle, fd, tree);
            inOrder.verify(handle, times(1)).ensureOpen();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportInternal.java

         * Checks if the transport has been disconnected.
         *
         * @return whether the transport has been disconnected
         */
        boolean isDisconnected();
    
        /**
         * Disconnects the transport from the remote server.
         *
         * @param hard if true, force immediate disconnection
         * @param inuse whether the connection is currently in use
         * @return whether the connection was in use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        }
    
        @Test
        @DisplayName("Should work with null server name")
        void shouldHandleNullServerName() {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(null, testAccess, mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrConnect2, "Should handle null server name");
        }
    
        @Test
        @DisplayName("Should work with different access masks")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertEquals(2, bytesRead);
            assertEquals(11, response.dialectIndex);
        }
    
        @Test
        void testReadBytesWireFormat_NoExtendedSecurity() throws UnsupportedEncodingException {
            // Setup server data for this scenario
            serverData.capabilities = 0; // No extended security
            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        + " for host " + addr.getHostAddress());
            }
        }
    
        /**
         * Get the address of the active WINS server
         *
         * @return address of active WINS server
         */
        protected InetAddress getWINSAddress() {
            return this.transportContext.getConfig().getWinsServers().length == 0 ? null
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
Back to top