Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 462 for share_ (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetReferral_Success() throws IOException, SmbAuthException {
            String domain = "domain.com";
            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.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());
                // canonicalisation simply removes '.' and '..'
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockReferral.getPathConsumed()).thenReturn(15); // e.g., "\\\\server\\share".length()
            when(mockReferral.next()).thenReturn(mockReferral); // Simple loop for the do-while
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "\\\\server\\share\\path", mockReferral));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            return this.service;
        }
    
        /**
         * Returns the native file system type of the connected share.
         *
         * @return the nativeFileSystem
         */
        public final String getNativeFileSystem() {
            return this.nativeFileSystem;
        }
    
        /**
         * Indicates whether the share supports search operations with search bits.
         *
         * @return the supportSearchBits
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbConstants.java

         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_READ = 0x01;
        /**
         * When specified as the <code>shareAccess</code> constructor parameter,
         * other SMB clients will be permitted to write to the target file while
         * this file is open. This constant may be logically OR'd with other share
         * access flags.
         */
        int FILE_SHARE_WRITE = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testToString() {
            // Given
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Cannot access share");
            exception.withContext("share", "\\\\server\\share");
            exception.withContext("user", "john");
    
            // When
            String str = exception.toString();
    
            // Then
            assertNotNull(str);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. LICENSE

     the version number 2.1.)
    
                                Preamble
    
      The licenses for most software are designed to take away your
    freedom to share and change it.  By contrast, the GNU General Public
    Licenses are intended to guarantee your freedom to share and change
    free software--to make sure the software is free for all its users.
    
      This license, the Lesser General Public License, applies to some
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

    import jcifs.internal.smb1.trans.SmbComTransactionResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetShareEnum response message for enumerating network shares on a server.
     * This class handles the response data from a NetShareEnum RPC call, which returns
     * information about all available shares on the target server.
     */
    public class NetShareEnumResponse extends SmbComTransactionResponse {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegistration.java

         *
         * @return the registration ID
         */
        public String getRegistrationId() {
            return registrationId;
        }
    
        /**
         * Gets the share name.
         *
         * @return the share name
         */
        public String getShareName() {
            return shareName;
        }
    
        /**
         * Gets the server address.
         *
         * @return the server address
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

            referral.server = "testServer";
            referral.share = "testShare";
            referral.link = "testLink";
            referral.path = "/test/path";
            referral.ttl = 300;
            referral.expiration = 1234567890L;
            referral.resolveHashes = true;
    
            // When
            String expectedString =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top