Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for NTLMSSP_NEGOTIATE_OEM (0.1 sec)

  1. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertFalse((unicodeType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
    
            // When OEM flag is passed, it gets OR'd with default flags
            // Since mockConfig.isUseUnicode() returns true, default flags include UNICODE
            assertTrue((oemType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM) != 0);
            assertTrue((oemType1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE) != 0);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java

        }
    
        @Test
        void testNtlmNegotiateOem() {
            assertEquals(0x00000002, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, "NTLMSSP_NEGOTIATE_OEM should be 0x00000002");
        }
    
        @Test
        void testNtlmRequestTarget() {
            assertEquals(0x00000004, NtlmFlags.NTLMSSP_REQUEST_TARGET, "NTLMSSP_REQUEST_TARGET should be 0x00000004");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         * @param flag The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(final int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
         * Sets or clears the specified flag.
         *
         * @param flag The flag to set/clear (i.e.,
         * <code>NTLMSSP_NEGOTIATE_OEM</code>).
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/NtlmMessage.java

            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag
         *            The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(final int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        private String suppliedWorkstation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM
                    | (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                type1.setFlags(Type1Message.NTLMSSP_NEGOTIATE_OEM); // No REQUEST_TARGET
    
                // When
                int flags = Type2Message.getDefaultFlags(mockContext, type1);
    
                // Then
                int expectedFlags =
                        Type2Message.NTLMSSP_NEGOTIATE_NTLM | Type2Message.NTLMSSP_NEGOTIATE_VERSION | Type2Message.NTLMSSP_NEGOTIATE_OEM;
                assertEquals(expectedFlags, flags);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

        private byte[] targetInformation;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM
                    | (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            byte[] domain = {};
            if (DEFAULT_DOMAIN != null) {
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        private byte[] sessionKey = null;
    
        static {
            DEFAULT_FLAGS = NTLMSSP_NEGOTIATE_NTLM
                    | (Config.getBoolean("jcifs.smb1.smb.client.useUnicode", true) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            DEFAULT_USER = Config.getProperty("jcifs.smb1.smb.client.username", null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the default flags for a Type-2 message created in response
         * to the given Type-1 message in the current environment.
         *
         * @param tc
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * Indicates whether Unicode strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_UNICODE = 0x00000001;
    
        /**
         * Indicates whether OEM strings are supported or used.
         */
        int NTLMSSP_NEGOTIATE_OEM = 0x00000002;
    
        /**
         * Indicates whether the authentication target is requested from
         * the server.
         */
        int NTLMSSP_REQUEST_TARGET = 0x00000004;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top