Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 424 for myserver (2.02 sec)

  1. src/test/java/jcifs/NetbiosAddressTest.java

            String smbServer = NbtAddress.SMBSERVER_NAME;
    
            assertNotNull(anyHosts);
            assertNotNull(masterBrowser);
            assertNotNull(smbServer);
    
            // Test that they have expected lengths
            assertEquals(16, anyHosts.length());
            assertEquals(15, masterBrowser.length());
            assertEquals(15, smbServer.length());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        void testConstructor_NullServer() throws IOException {
            // Test case: Constructor with null server, should default to "\\\\"
            String server = null;
            int access = 123;
    
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

     * This class represents an open handle to a SAM server and provides
     * high-level access to SAM database operations.
     */
    public class SamrPolicyHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM policy handle.
         *
         * @param handle the DCE/RPC handle for communication
         * @param server the server name (null defaults to local server)
         * @param access the desired access rights
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/PathValidatorTest.java

            // Note: Due to normalization, all multiple backslashes are reduced to single
            // so \\server\share becomes \server\share
            String path = "\\\\server\\share\\folder";
            String normalized = validator.validatePath(path);
            assertEquals("\\server\\share\\folder", normalized);
        }
    
        @Test
        public void testUncPathNotAllowed() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
            this.server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;
            this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04;
            this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act
            LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, server, access);
    
            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            // Further verification could involve capturing the MsrpcLsarOpenPolicy2 argument and checking its server field.
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals(null, new SmbFile("smb1://server/").getShare());
            }
    
            @Test
            public void testGetServer() throws MalformedURLException {
                assertEquals("server", new SmbFile("smb1://server/share/file.txt").getServer());
                assertEquals("server", new SmbFile("smb1://server/").getServer());
                assertEquals(null, new SmbFile("smb1://").getServer());
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Gets the SMB dialect version selected by the server.
         *
         * @return selected dialect
         */
        DialectVersion getSelectedDialect();
    
        /**
         * Checks whether the server has SMB message signing enabled.
         *
         * @return whether the server has signing enabled
         */
        boolean isSigningEnabled();
    
        /**
         * Checks whether the server requires SMB message signing.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the server address.
         * @return The server address.
         */
        public String getServer() {
            return server;
        }
    
        /**
         * Sets the server address.
         * @param server The server address.
         */
        public void setServer(final String server) {
            this.server = server;
        }
    
        /**
         * Returns the port number.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/NtlmFlags.java

         * authentication.
         */
        int NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED = 0x00002000;
    
        /**
         * Sent by the server to indicate that the server and client are
         * on the same machine. This implies that the server will include
         * a local security context handle in the Type 2 message, for
         * use in local authentication.
         */
        int NTLMSSP_NEGOTIATE_LOCAL_CALL = 0x00004000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top