Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for myworkgroup (0.06 sec)

  1. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            lenient().when(mockNameServiceClient.getLocalHost()).thenReturn(mockLocalHost);
            lenient().when(mockLocalHost.getHostName()).thenReturn("localhost");
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
        }
    
        @Test
        @DisplayName("Should create Type 1 message with default flags")
        void testType1MessageCreation() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.trans.SmbComTransaction;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 NetServerEnum2 request message for enumerating network servers in a domain or workgroup.
     * This class implements the SMB1 transaction to query for available servers, supporting various
     * server types and filtering options for network browsing functionality.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

            verify(mockNetbiosName).getName();
        }
    
        @Test
        @DisplayName("Should handle getScope() method")
        void testGetScope() {
            // Given
            String testScope = "WORKGROUP";
            when(mockNetbiosName.getScope()).thenReturn(testScope);
    
            // When
            String scope = mockNetbiosName.getScope();
    
            // Then
            assertEquals(testScope, scope);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

            public boolean isIPC() {
                return false;
            }
    
            @Override
            public int getType() {
                return 0;
            }
    
            @Override
            public boolean isWorkgroup() {
                return false;
            }
    
            @Override
            public boolean isRoot() {
                return "/".equals(path);
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Given
            when(mockDelegate.getOemEncoding()).thenReturn("UTF-8");
            when(mockDelegate.getNetbiosHostname()).thenReturn("TESTHOST");
            when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP");
            when(mockDelegate.getDefaultUsername()).thenReturn("testuser");
            when(mockDelegate.getDefaultPassword()).thenReturn("testpass");
            when(mockDelegate.getNativeLanman()).thenReturn("jCIFS");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                }
            }
            return this.type;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#isWorkgroup()
         */
        @Override
        public boolean isWorkgroup() throws CIFSException {
            if (this.type == SmbConstants.TYPE_WORKGROUP || this.url.getHost().length() == 0) {
                this.type = SmbConstants.TYPE_WORKGROUP;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * JMORRIS         <03>  UNIQUE      Registered
     *
     * MAC Address = 00-B0-34-21-FA-3B
     * </pre>
     * <p> The hostname of this machine is <code>JMORRIS2</code>. It is
     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *   InetAddress addr = NbtAddress.getByName( "jmorris2" ).getInetAddress();
     * </pre>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbConstants.java

         * represents is a regular file or directory.
         */
        int TYPE_FILESYSTEM = 0x01;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a workgroup.
         */
        int TYPE_WORKGROUP = 0x02;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a server.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            assertEquals(comment, server.commentOrMasterBrowser);
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getType for workgroup")
        void testServerInfo1GetTypeWorkgroup() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            server.type = 0x80000000; // SV_TYPE_DOMAIN_ENUM flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top