Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 374 for seiner (0.73 sec)

  1. src/test/java/jcifs/AddressTest.java

        }
    
        @Test
        @DisplayName("getHostName should return valid hostname or address")
        void testGetHostNameContract() {
            // Given
            String expectedHostName = "server.example.com";
            when(mockAddress.getHostName()).thenReturn(expectedHostName);
    
            // When
            String hostName = mockAddress.getHostName();
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

                    () -> new SmbFileHandleImpl(cfg, new byte[] { 1, 2 }, null, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
        @DisplayName("Constructor with null cfg throws NPE")
        void constructor_nullCfg_throwsNPE() {
            stubValidTree(7L, true, true);
            assertThrows(NullPointerException.class, () -> new SmbFileHandleImpl(null, 42, tree, "//server/share", 0, 0, 0, 0, 0L));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        /**
         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         *            negotiated cipher identifier
         * @param dialect
         *            SMB dialect version
         * @param encryptionKey
         *            key for client->server encryption
         * @param decryptionKey
         *            key for server->client decryption
         */
        public Smb2EncryptionContext(final int cipherId, final DialectVersion dialect, final byte[] encryptionKey, final byte[] decryptionKey) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the home drive
         */
        public String getHomeDrive() {
            return this.homeDrive;
        }
    
        /**
         * Returns the name of the server that authenticated the user.
         * @return the server name
         */
        public String getServerName() {
            return this.serverName;
        }
    
        /**
         * Returns the user's domain name.
         * @return the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

     * This can be a problem if using DFS in it's default configuration as they still return referrals in short form.
     * See <a href="https://support.microsoft.com/en-us/kb/244380">KB-244380</a> for compatible server configuration.
     * See {@link jcifs.Configuration#isDfsConvertToFQDN()} for a workaround.
     */
    public class Kerb5Authenticator extends NtlmPasswordAuthenticator {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

                // Parse only URL
                String[] args = { "smb://server/share/test.txt" };
                for (int ai = 0; ai < args.length; ai++) {
                    if (!args[ai].startsWith("-")) {
                        t.url = args[ai];
                    }
                }
    
                assertEquals("smb://server/share/test.txt", t.url, "URL should be parsed");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

     * server types and filtering options for network browsing functionality.
     */
    public class NetServerEnum2 extends SmbComTransaction {
    
        /**
         * Server type filter for all servers
         */
        public static final int SV_TYPE_ALL = 0xFFFFFFFF;
    
        /**
         * Server type filter for domain enumeration
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            // Create a buffer representing a valid DFS referral response
            // Need to include space for actual string data
            int stringDataStart = 28; // After the referral structure
            String testPath = "\\server\\share";
            byte[] pathBytes = testPath.getBytes(java.nio.charset.StandardCharsets.UTF_16LE);
            int bufferSize = stringDataStart + pathBytes.length + 2; // +2 for null terminator
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

         * <code>SmbResource</code> or in the case of URLs that only specify a server
         * or workgroup, the server or workgroup will be returned. The name of
         * the root URL <code>smb://</code> is also <code>smb://</code>. If this
         * <code>SmbResource</code> refers to a workgroup, server, share, or directory,
         * the name will include a trailing slash '/' so that composing new
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
Back to top