Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 185 for DOMAIN (0.4 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.encryptionKeyLength = 8;
            response.byteCount = 15; // 8 bytes key + 6 bytes "DOMAIN" + 1 null terminator
    
            // Prepare byte array
            byte[] encryptionKey = "12345678".getBytes();
            byte[] domainNameBytes = "DOMAIN".getBytes(ServerMessageBlock.OEM_ENCODING);
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

         *            the configuration to use
         * @param domain
         *            the domain to enumerate servers in
         * @param serverTypes
         *            the types of servers to enumerate
         */
        public NetServerEnum2(final Configuration config, final String domain, final int serverTypes) {
            super(config, SMB_COM_TRANSACTION, NET_SERVER_ENUM2);
            this.domain = domain;
            this.serverTypes = serverTypes;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

        }
    
        /**
         * Generates a Type 1 NTLM message.
         *
         * @param domain the domain name
         * @param workstation the workstation name
         * @return the Base64-encoded Type 1 message
         * @throws NTLMEngineException if an NTLM engine error occurs
         */
        @Override
        public String generateType1Msg(final String domain, final String workstation) throws NTLMEngineException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * @param domain
         *            domain for NTLM fallback
         * @param username
         *            user for NTLM fallback
         * @param password
         *            password for NTLM fallback
         */
        public Kerb5Authenticator(Subject subject, String domain, String username, String password) {
            super(domain, username, password);
            this.canFallback = true;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

         * Retrieves an NTLM challenge from a domain controller for the configured domain.
         *
         * @return the NTLM challenge from the domain controller
         * @throws SmbException if an SMB error occurs
         * @throws UnknownHostException if the domain controller cannot be resolved
         */
        public static NtlmChallenge getChallengeForDomain() throws SmbException, UnknownHostException {
            if (DOMAIN == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

         * <p>
         * Specifically, if the SID has
         * been resolved and it is not a domain SID or builtin account,
         * the full DOMAIN\name form of the account will be
         * returned (e.g. MYDOM\alice or MYDOM\Domain Users).
         * If the SID has been resolved but it is is a domain SID,
         * only the domain name will be returned (e.g. MYDOM).
         * If the SID has been resolved but it is a builtin account,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    public class SamrDomainHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
        /**
         * Creates a new SAM domain handle.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            assertEquals("secret", new String(pc.getPassword()));
        }
    
        @Test
        @DisplayName("handle: empty user/domain edge yields '@' and null password")
        void testHandleWithEmptyUserAndDomainEdge() throws Exception {
            // Default constructor results in empty strings for user and domain, null for password
            JAASAuthenticator auth = new JAASAuthenticator();
            NameCallback nc = new NameCallback("user:");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmSspTest.java

            // Add dummy NT response (24 zeros at offset 88)
            for (int i = 0; i < 24; i++) {
                message[88 + i] = 0;
            }
    
            // Add Domain "DOMAIN" in Unicode at offset 112
            String domain = "DOMAIN";
            byte[] domainBytes = domain.getBytes();
            for (int i = 0; i < domainBytes.length; i++) {
                message[112 + i * 2] = domainBytes[i];
                message[112 + i * 2 + 1] = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

        }
    
        /**
         * Test the constructor of NetServerEnum2.
         */
        @Test
        void testConstructor() {
            assertEquals(testDomain, netServerEnum2.domain);
            assertEquals(testServerTypes, netServerEnum2.serverTypes);
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, netServerEnum2.command);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top