Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for SHARE (0.13 sec)

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

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree(final SmbSession session, final String share, final String service) {
            this.session = session;
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeImplTest.java

            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionInternalTest.java

                "share, " // empty service
        })
        void getSmbTree_invalid(String share, String service) {
            doThrow(new IllegalArgumentException("invalid share/service")).when(session).getSmbTree(eq(share), eq(service));
    
            IllegalArgumentException ex = assertThrows(IllegalArgumentException.class, () -> session.getSmbTree(share, service));
            assertTrue(ex.getMessage().contains("invalid"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/file.txt").getParent());
                // Test parent of a directory
                assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/dir/").getParent());
                // Test parent of a share
                assertEquals("smb1://server/", new SmbFile("smb1://server/share/").getParent());
                // Test parent of a server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * Share flag indicating automatic caching of programs and documents.
         */
        public static final int SMB2_SHAREFLAG_VDO_CACHING = 0x20;
        /**
         * Share flag indicating the share is in a DFS namespace.
         */
        public static final int SMB2_SHAREFLAG_DFS = 0x1;
        /**
         * Share flag indicating the share is a DFS root.
         */
        public static final int SMB2_SHAREFLAG_DFS_ROOT = 0x2;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionInternal.java

         */
        SmbTransport getTransport();
    
        /**
         * Connect to the logon share
         *
         * @throws SmbException if the connection fails
         */
        void treeConnectLogon() throws SmbException;
    
        /**
         * Gets or creates an SMB tree connection for the specified share and service.
         *
         * @param share the share name to connect to
         * @param service the service type for the connection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

            assertEquals(2, response.results.length, "Should have 2 share entries.");
    
            SmbShareInfo share1 = (SmbShareInfo) response.results[0];
            assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct.");
            assertEquals(0, share1.type, "Share 1 raw type should be 0.");
            assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java

    import jcifs.smb1.smb1.SecurityDescriptor;
    
    /**
     * MS-RPC share information retrieval operation.
     *
     * This class implements the Server Service (SRVSVC) ShareGetInfo operation
     * for retrieving detailed information about a network share, including
     * security descriptors.
     */
    public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo {
    
        /**
         * Creates a new request to get share information.
         *
         * @param server the server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

    import jcifs.internal.dtyp.SecurityDescriptor;
    
    /**
     * MSRPC implementation for retrieving share information.
     * This class provides functionality to get detailed information about
     * a specific share using the Server Service RPC interface.
     */
    public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo {
    
        /**
         * Creates a new request to get share information.
         *
         * @param server the server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top