Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 185 for DOMAIN (0.85 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                    }
                    accountName = auth.username;
                    if (useUnicode) {
                        accountName = accountName.toUpperCase();
                    }
                    primaryDomain = auth.domain.toUpperCase();
                } else if (cred instanceof byte[]) {
                    blob = (byte[]) cred;
                } else {
                    throw new SmbException("Unsupported credential type");
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SidResolverTest.java

        private SID mockSid3;
    
        @Mock
        private SID mockDomainSid;
    
        private String testServerName;
        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
        // Test resolveSids with array
        @Test
        void testResolveSids_Success() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

     * (local group) using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        /**
         * Creates a new request to open an alias handle.
         *
         * @param handle the domain handle
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         *
         * @see jcifs.internal.RequestWithPath#setFullUNCPath(java.lang.String, java.lang.String, java.lang.String)
         */
        @Override
        public void setFullUNCPath(final String domain, final String server, final String fullPath) {
            this.domain = domain;
            this.server = server;
            this.fullPath = fullPath;
        }
    
        /**
         * @param path
         *            the path to set
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SIDCacheImpl.java

         *            The hostname of the server that should be queried. For maximum efficiency this should be the hostname
         *            of a domain controller however a member server will work as well and a domain controller may not
         *            return names for SIDs corresponding to local accounts for which the domain controller is not an
         *            authority.
         * @param tc
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResourceLocator.java

         */
        String getUNCPath();
    
        /**
         * Returns the canonicalized URL path relative to the server or domain.
         *
         * @return The canonicalized URL path (relative to the server/domain)
         */
        String getURLPath();
    
        /**
         * Retrieves the share associated with this SMB resource. In
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
        /**
         * OEM domain name of the server.
         */
        public String oemDomainName;
        /**
         * Security mode flags.
         */
        public int securityMode;
        /**
         * Security settings for the session.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertNull(request.getFullUNCPath());
            assertNull(request.getServer());
            assertNull(request.getDomain());
    
            request.setFullUNCPath("DOMAIN", "SERVER", "\\\\SERVER\\share\\file.txt");
    
            assertEquals("DOMAIN", request.getDomain());
            assertEquals("SERVER", request.getServer());
            assertEquals("\\\\SERVER\\share\\file.txt", request.getFullUNCPath());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                // Given: Open domain message with mocked return value
                samr.SamrOpenDomain message = new samr.SamrOpenDomain(mockPolicyHandle, 123, mockSidT, mockPolicyHandle);
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(0);
    
                // When: Decoding output
                message.decode_out(mockNdrBuffer);
    
                // Then: Should decode domain handle and return value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    if (index == -1) {
                        index = user.indexOf('/');
                    }
                    final String domain = index != -1 ? user.substring(0, index) : defaultDomain;
                    user = index != -1 ? user.substring(index + 1) : user;
                    ntlm = new NtlmPasswordAuthentication(domain, user, password);
                }
    
                req.getSession().setAttribute("npa-" + server, ntlm);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top