Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 675 for smb (0.01 sec)

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

        }
    
        /**
         * This static method registers the SMB URL protocol handler which is
         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote><pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbException.java

            return message;
        }
    
        /** The SMB error status code */
        private int status;
    
        /**
         *
         /**
         * Constructs an SmbException with no detail message
         */
        public SmbException() {
        }
    
        /**
         * Constructs an SmbException with the specified error code and root cause
         *
         * @param errcode the SMB error code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
            assertTrue(next.writeParamCalls > 0, "chained SMB parameter words should be written");
            assertTrue(next.writeBytesCalls > 0, "chained SMB bytes should be written");
        }
    
        @Test
        @DisplayName("decode basic AndX block with no chaining")
        void testDecodeBasicNoAndx() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            return 4;
        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) {
            return pwAuth instanceof jcifs.smb.NtlmPasswordAuthentication
                    && !((jcifs.smb.NtlmPasswordAuthentication) pwAuth).areHashesExternal() && pwAuth.getPassword().isEmpty();
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSContextTest.java

        @DisplayName("Should define interface methods")
        void testCIFSContextInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockContext.get("smb://server/share");
                mockContext.getPipe("smb://server/share/pipe", 0);
                mockContext.close();
                mockContext.getConfig();
                mockContext.getNameServiceClient();
                mockContext.getBufferCache();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

    import org.mockito.Mock;
    import org.mockito.MockedStatic;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    class CIFSContextCredentialWrapperTest {
    
        @Mock
        private AbstractCIFSContext mockDelegate;
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

    /* jcifs smb client library in Java
     * Copyright (C) 2007  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

            // Test with valid configuration - should initialize successfully
            Map<String, String> validParams = new HashMap<>();
            validParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            validParams.put("jcifs.smb.client.soTimeout", "300000");
    
            when(servletConfig.getInitParameterNames()).thenReturn(Collections.enumeration(validParams.keySet()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/BufferCacheImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComRename.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top