Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 421 for SERVER (0.88 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4.java

         * Creates a new request to connect to the SAM service.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcSamrConnect4(final String server, final int access, final SamrPolicyHandle policyHandle) {
            super(server, 2, access, policyHandle);
            this.ptype = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

        class HappyPath {
            @Test
            void testBasicProperties() throws Exception {
                String url = "smb://server/share/path/file.txt";
                DummySmbResourceLocator loc = new DummySmbResourceLocator(url);
                assertEquals("file.txt", loc.getName());
                assertEquals("smb://server/share/path/", loc.getParent());
                assertEquals(url, loc.getPath());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceLocator.java

         * <code>SmbFile</code> or in the case of URLs that only specify a server
         * or workgroup, the server or workgroup will be returned. The name of
         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <code>SmbFile</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
                    "'\\\\server\\share\\very\\long\\path\\with\\many\\segments', 100" })
            void testSizeCalculation(String path, int expectedSize) {
                buffer = new DfsReferralRequestBuffer(path, 3);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessVersion.java

     * Each version corresponds to different Windows Server releases and capabilities.
     */
    public enum WitnessVersion {
        /**
         * Witness Protocol Version 1 - Windows Server 2012
         */
        VERSION_1(0x00010001),
    
        /**
         * Witness Protocol Version 2 - Windows Server 2012 R2 and later
         */
        VERSION_2(0x00020000);
    
        private final int version;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

     * This class provides functionality to open a handle to the LSA policy
     * database on a remote server using the LSA RPC interface.
     */
    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DosFileFilter.java

         * specified for this filter. The wildcard has no influence on this
         * method as the server should have performed that filtering already. The
         * attributes are asserted here only because server file systems may not
         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
    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/DfsReferralDataTest.java

            });
        }
    
        @Test
        @DisplayName("Should get server")
        void testGetServer() {
            // Given
            String server = "testserver";
            when(mockReferralData.getServer()).thenReturn(server);
    
            // When
            String result = mockReferralData.getServer();
    
            // Then
            assertEquals(server, result);
            verify(mockReferralData).getServer();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SidResolver.java

        /**
         * Gets the domain SID for the specified server.
         *
         * @param authorityServerName the server name
         * @param tc the CIFS context to use
         * @return the server's SID
         * @throws CIFSException if there is an error retrieving the server SID
         */
        SID getServerSid(CIFSContext tc, String authorityServerName) throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            String params = "";
            final String server = (String) binding.getOption("server");
            if (server != null) {
                params += "&server=" + server;
            }
            final String address = (String) binding.getOption("address");
            if (address != null) {
                params += "&address=" + address;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top