Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 93 for Nt (0.01 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            // The error code gets mapped to NT_STATUS_UNSUCCESSFUL because it's not a valid NT status code
            assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtStatusTest.java

    /**
     * Test class for NtStatus constants
     */
    @DisplayName("NtStatus Tests")
    class NtStatusTest {
    
        @Test
        @DisplayName("Should define well-known NT status constants")
        void testWellKnownStatusConstants() {
            // Verify important NT status constants are defined
            assertEquals(0x00000000, NtStatus.NT_STATUS_SUCCESS);
            assertEquals((int) 0xC0000022L, NtStatus.NT_STATUS_ACCESS_DENIED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. gradlew.bat

    @rem
    @rem  Gradle startup script for Windows
    @rem
    @rem ##########################################################################
    
    @rem Set local scope for the variables with windows NT shell
    if "%OS%"=="Windows_NT" setlocal
    
    set DIRNAME=%~dp0
    if "%DIRNAME%"=="" set DIRNAME=.
    @rem This is normally unused
    set APP_BASE_NAME=%~n0
    set APP_HOME=%DIRNAME%
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 26 02:17:22 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

            assertTrue(result.contains("wordCount=0"), "String should contain wordCount=0");
            assertTrue(result.contains("dialects=NT LM 0.12]"), "String should contain dialects=NT LM 0.12]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

    import java.util.Date;
    
    import jcifs.Configuration;
    import jcifs.internal.SmbBasicFileInfo;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NT Create AndX Response message.
     *
     * This response contains information about the created or opened file,
     * including file handle, attributes, and creation disposition.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

    import jcifs.internal.Request;
    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB1 NT Create AndX request message.
     *
     * This command is used to create or open a file with extended
     * capabilities including security descriptors and oplock support.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

         */
        int CAP_LARGE_FILES = 0x0008;
        /**
         * NT SMBs are supported capability.
         */
        int CAP_NT_SMBS = 0x0010;
        int CAP_PERSISTENT_HANDLES = 0x0002;
        /**
         * RPC remote APIs are supported capability.
         */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /**
         * NT status codes are supported capability.
         */
        int CAP_STATUS32 = 0x0040;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            assertEquals("guest", accountName);
            assertEquals("DOM", primaryDomain);
    
            byte[] lm = (byte[]) getField(obj, "lmHash");
            byte[] nt = (byte[]) getField(obj, "ntHash");
            assertArrayEquals(new byte[0], lm);
            assertArrayEquals(new byte[0], nt);
        }
    
        @Test
        void unsupportedCredentialType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbExceptionTest.java

    import jcifs.BaseTest;
    
    /**
     * Test class for SmbException functionality
     */
    @DisplayName("SmbException Tests")
    class SmbExceptionTest extends BaseTest {
    
        @Test
        @DisplayName("Should create SmbException with NT status code")
        void testSmbExceptionWithNTStatus() {
            // Given
            int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED;
    
            // When
            SmbException exception = new SmbException(ntStatus, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION_SECONDARY, transaction.command,
                    "Command should change to SMB_COM_TRANSACTION_SECONDARY");
        }
    
        @Test
        @DisplayName("Test NT transaction command handling")
        void testNtTransactionCommand() {
            transaction.command = ServerMessageBlock.SMB_COM_NT_TRANSACT;
    
            // First call
            transaction.nextElement();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top