Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 281 for SMB2 (0.02 seconds)

  1. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

    import jcifs.Encodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File End-of-File Information.
     * Used in SMB2/SMB3 operations to set or query the end-of-file position for a file,
     * effectively controlling file size truncation or extension.
     *
     * @author mbechler
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

    import jcifs.internal.smb1.trans.TransTransactNamedPipeResponse;
    import jcifs.internal.smb1.trans.TransWaitNamedPipe;
    import jcifs.internal.smb1.trans.TransWaitNamedPipeResponse;
    import jcifs.internal.smb2.ioctl.Smb2IoctlRequest;
    import jcifs.internal.smb2.ioctl.Smb2IoctlResponse;
    
    @ExtendWith(MockitoExtension.class)
    class SmbPipeHandleInternalTest {
    
        @Mock
        private SmbNamedPipe pipe;
    
        @Mock
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/fscc/FileInformation.java

     */
    package jcifs.internal.fscc;
    
    import jcifs.Decodable;
    import jcifs.Encodable;
    
    /**
     * Base interface for File System Control Code (FSCC) file information structures.
     * Defines common functionality for various SMB2/SMB3 file information classes used in
     * query and set file information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileInformation extends Decodable, Encodable {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.multichannel;
    
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    
    import jcifs.internal.util.SMBUtil;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Decodable;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Response structure for SMB2 IOCTL pipe peek operation.
     * Provides information about data available in a named pipe.
     *
     * @author svella
     *
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/fscc/FileSystemInformation.java

     */
    package jcifs.internal.fscc;
    
    import jcifs.Decodable;
    
    /**
     * Base interface for File System Control Code (FSCC) file system information structures.
     * Provides common functionality for various SMB2/SMB3 file system information classes
     * used in query file system information operations, with constants for information levels.
     *
     * @author mbechler
     */
    public interface FileSystemInformation extends Decodable {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom"));
    
                SmbTreeHandleImpl sh = newTreeHandle(false); // force non-SMB2 path to avoid server-side branch
                SmbTreeHandleImpl dh = newTreeHandle(false);
    
                byte[][] buffers = new byte[][] { new byte[8], new byte[8] };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                }
    
                assertEquals(160, totalSize); // 16+24+32+40+48
            }
    
            @Test
            @DisplayName("Should handle special SMB2 context names")
            void testSMB2ContextNames() {
                // Common SMB2 create context names
                String[] contextNames = { "DHnQ", // Durable handle request
                        "DHnC", // Durable handle reconnect
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTransportInternal.java

         * @return session
         */
        SmbSession getSmbSession(CIFSContext tf, String targetHost, String targetDomain);
    
        /**
         * Checks if this transport uses the SMB2 protocol.
         *
         * @return whether this is a SMB2 connection
         * @throws SmbException if an error occurs checking protocol version
         */
        boolean isSMB2() throws SmbException;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

                }
            }
            // Check SMB2/3 signature
            else if (protocolId == 0x424D53FE) { // 0xFE 'S' 'M' 'B'
                // SMB2/3
                if (structureSize != 64) {
                    failedValidations.incrementAndGet();
                    throw new SmbException("Invalid SMB2 header size: " + structureSize);
                }
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top