Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 450 for share2 (0.06 sec)

  1. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            populatedArray.count = 3;
            populatedArray.s = new netdfs.DfsInfo200[3];
    
            // Create DFS root entries
            String[] rootNames = { "share1", "share2", "share3" };
            for (int i = 0; i < 3; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
                entry.dfs_name = rootNames[i];
                populatedArray.s[i] = entry;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Register multiple witnesses
            String reg1 = mockService.registerWitness("\\\\server1\\share1", "192.168.1.100", 1);
            String reg2 = mockService.registerWitness("\\\\server2\\share2", "192.168.1.101", 1);
            String reg3 = mockService.registerWitness("\\\\server3\\share3", "192.168.1.102", 1);
    
            assertEquals(3, mockService.getRegistrationCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    // List shares
                    String[] shares = server.list();
                    assertNotNull(shares, "Share list should not be null");
                    assertTrue(shares.length >= 2, "Should have at least 2 shares (public and shared)");
    
                    // Verify expected shares are present
                    List<String> shareList = List.of(shares);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

     * tree, including share type and capabilities.
     *
     * @author mbechler
     */
    public class Smb2TreeConnectResponse extends ServerMessageBlock2Response implements TreeConnectResponse {
    
        /**
         * Share type constant for disk shares (file shares).
         */
        public static final byte SMB2_SHARE_TYPE_DISK = 0x1;
        /**
         * Share type constant for named pipe shares (IPC).
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top