Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 435 for share_ (0.08 sec)

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

        /**
         * Creates a new request to enumerate shares on a server.
         *
         * @param server the server name to enumerate shares from
         */
        public MsrpcShareEnum(final String server) {
            super("\\\\" + server, 1, new srvsvc.ShareInfoCtr1(), -1, 0, 0);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        /**
         * Returns the share entries retrieved from the enumeration.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        @DisplayName("Test getType with different share types")
        @CsvSource({ "1, " + SmbConstants.TYPE_PRINTER, // Printer share
                "3, " + SmbConstants.TYPE_NAMED_PIPE, // Named pipe
                "0, " + SmbConstants.TYPE_SHARE, // Standard share
                "2, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
                "4, " + SmbConstants.TYPE_SHARE, // Unknown type defaults to share
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * <tr><td ><code>
     *  smb1://host/share/a/b/
     * </code></td><td ><code>
     *  c/d/
     * </code></td><td><code>
     *  smb1://host/share/a/b/c/d/
     * </code></td></tr>
     *
     * <tr><td ><code>
     *  smb1://host/share/foo/bar/
     * </code></td><td ><code>
     *  /share2/zig/zag
     * </code></td><td><code>
     *  smb1://host/share2/zig/zag
     * </code></td></tr>
     *
     * <tr><td ><code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
            URL url3 = new URL(null, "smb://user:pass@host/share", handler);
    
            // Assert - Verify URL components
            assertEquals("smb", url1.getProtocol());
            assertEquals("host", url1.getHost());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            assertEquals(testString, result);
        }
    
        @ParameterizedTest
        @DisplayName("Test readDataWireFormat with various share types")
        @CsvSource({ "0, SHARE, Normal share", "1, PRINTER, Printer share", "3, IPC$, IPC share", "32768, HIDDEN, Hidden share", // 0x8000 - hidden flag in lower 16 bits
                "32769, HIDDENP, Hidden printer" // 0x8001 - hidden flag + printer type
        })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

        void testGetSmbResourceWithVariousURLs() throws CIFSException {
            // Test different valid URL formats
            String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt",
                    "smb://domain;user:pass@server/share/file.txt" };
    
            for (String url : validUrls) {
                // When
                SmbResource resource = context.get(url);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResource.java

         * the share permissions on the share exporting this file or directory.
         * If no DACL is present, null is returned. If the DACL is empty, an array with 0 elements is returned.
         * <p>
         * Note that this is different from calling <code>getSecurity</code> on a
         * share. There are actually two different ACLs for shares - the ACL on
         * the share and the ACL on the folder being shared.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb/SmbFile.java

     *
     * <tr>
     * <td ><code>
     *  smb://host/share/a/b/
     * </code></td>
     * <td ><code>
     *  c/d/
     * </code></td>
     * <td><code>
     *  smb://host/share/a/b/c/d/
     * </code></td>
     * </tr>
     *
     * <tr>
     * <td ><code>
     *  smb://host/share/foo/bar/
     * </code></td>
     * <td ><code>
     *  /share2/zig/zag
     * </code></td>
     * <td><code>
     *  smb://host/share2/zig/zag
     * </code></td>
     * </tr>
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

             */
            public ShareInfoCtr0() {
            }
    
            /**
             * The number of shares in the array.
             */
            /**
             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
            public ShareInfo0[] array;
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

             */
            public ShareInfoCtr0() {
            }
    
            /**
             * The number of shares in the array.
             */
            /**
             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
            public ShareInfo0[] array;
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top