Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 276 for tshark (0.04 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        @Test
        @DisplayName("handleDFSReferral handles null referral and empty path")
        void handleDfsReferralNullAndEmpty() {
            when(locator.handleDFSReferral(null, "")).thenReturn("smb://server/share/");
            assertEquals("smb://server/share/", locator.handleDFSReferral(null, ""));
            verify(locator).handleDFSReferral(null, "");
            verifyNoMoreInteractions(locator);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                        for (int i = 0; i < opsPerThread; i++) {
                            String share = "share" + (threadId % 3); // Use 3 different shares
    
                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
                            assertNotNull(tree, "Tree should not be null");
    
                            // Verify we can acquire the tree
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.FileEntry;
    import jcifs.smb1.smb1.SmbShareInfo;
    
    /**
     * MS-RPC share enumeration operation.
     *
     * This class implements the Server Service (SRVSVC) ShareEnumAll operation
     * for enumerating network shares on a remote server.
     */
    public class MsrpcShareEnum extends srvsvc.ShareEnumAll {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/util/StringsTest.java

            @CsvSource({ "'smb://user:password@server/share', 'smb://user:******@server/share'",
                    "'smb://domain\\user:secret@host/path', 'smb://domain\\user:******@host/path'",
                    "'smb2://admin:admin123@192.168.1.1/folder', 'smb2://admin:******@192.168.1.1/folder'",
                    "'smbs://test:p@******@****.***/share', 'smbs://test:******@example.com/share'" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

            return this.sessionKey;
        }
    
        @Override
        public SmbTreeImpl getSmbTree(String share, String service) {
            if (share == null) {
                share = "IPC$";
            }
    
            synchronized (this.trees) {
                for (SmbTreeImpl t : this.trees) {
                    if (t.matches(share, service)) {
                        return t.acquire();
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                            .withCopyFileToContainer(MountableFile.forHostPath(tempDir.resolve("shared")), "/share/shared")
                            .withCommand("-u", USERNAME + ";" + PASSWORD, "-s", "public;/share/public;yes;no;yes;all;;all;all", "-s",
                                    "shared;/share/shared;no;no;no;all;" + USERNAME + ";all;all", "-g", "log level = 1", "-g",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            when(mockDir.getPath()).thenReturn("/share/folder/");
    
            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
                // Accept files in /share/folder/ that are text files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
            URL smbUrl = new URL("smb://server/share/dir/");
            lenient().when(locator.getURL()).thenReturn(smbUrl);
        }
    
        // Helper: reflectively set private/protected field on an object
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top