Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for nt (0.04 sec)

  1. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbAuthExceptionTest {
    
        /**
         * Provide representative error codes for the int constructor.
         * - NT status code (high bits set)
         * - Success code (0)
         * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL
         */
        static Stream<Arguments> intErrorCodes() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtStatus.java

                NT_STATUS_PATH_NOT_COVERED, NT_STATUS_IO_REPARSE_TAG_NOT_HANDLED, };
    
        /**
         * Array of NT status message strings corresponding to NT status codes.
         * These messages provide human-readable descriptions for various NT status values.
         */
        String[] NT_STATUS_MESSAGES = { "The operation completed successfully.", "A device attached to the system is not functioning.",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

                }
    
                bufferIndex += e.getNextEntryOffset();
            }
    
            setResults(results);
    
            /*
             * last nextEntryOffset for NT 4(but not 98) is 0 so we must
             * use dataCount or our accounting will report an error for NT :~(
             */
            return getDataCount();
        }
    
        @Override
        public String toString() {
            String c;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/DosError.java

    package jcifs.smb1.smb1;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
        int[][] DOS_ERROR_CODES =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DosError.java

    package jcifs.smb;
    
    /**
     * Interface defining DOS error codes and their mappings to NT status codes.
     * Provides lookup tables for converting between DOS and NT error representations.
     */
    public interface DosError {
    
        /**
         * Mapping table from DOS error codes to NT status codes.
         * Each entry contains a pair of [DOS error code, NT status code].
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

    package jcifs.smb;
    
    import org.bouncycastle.util.encoders.Hex;
    
    /**
     * Authenticator directly specifing the user's NT hash
     *
     * @author mbechler
     *
     */
    public class NtlmNtHashAuthenticator extends NtlmPasswordAuthenticator {
    
        private static final long serialVersionUID = 4328214169536360351L;
        /** The NT hash for authentication */
        private final byte[] ntHash;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbException.java

            super(winerr ? getMessageByWinerrCode(errcode) : getMessageByCode(errcode));
            status = winerr ? errcode : getStatusByCode(errcode);
        }
    
        /**
         * Returns the NT status code for this exception.
         *
         * @return the NT status code
         */
        public int getNtStatus() {
            return status;
        }
    
        /**
         * Returns the root cause of this exception if one exists
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtStatus.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    /**
     * Interface defining NT status codes used in SMB protocol operations.
     * These status codes are returned by SMB servers to indicate the result
     * of requested operations. The codes follow the Windows NT status code format.
     */
    public interface NtStatus {
    
        /*
         * Don't bother to edit this. Everything within the interface
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmUtilTest.java

            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
            // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C
            byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C");
    
            // Act
            byte[] actual = NtlmUtil.getNTHash(password);
    
            // Assert
            assertArrayEquals(expected, actual, "NT hash must match known test vector");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

                this.dialects = new String[] { "SMB 2.???", "SMB 2.002" };
            } else if (config.getMaximumVersion().isSMB2()) {
                this.dialects = new String[] { "NT LM 0.12", "SMB 2.???", "SMB 2.002" };
            } else {
                this.dialects = new String[] { "NT LM 0.12" };
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationRequest#isSigningEnforced()
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (3)
Back to top