Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getOEMDomainName (0.08 sec)

  1. src/test/java/jcifs/SmbTreeHandleTest.java

        /**
         * Test for getOEMDomainName() method throwing CIFSException.
         * @throws CIFSException
         */
        @Test
        void testGetOEMDomainName_throwsCIFSException() throws CIFSException {
            when(smbTreeHandle.getOEMDomainName()).thenThrow(new CIFSException("Test Exception"));
            assertThrows(CIFSException.class, () -> smbTreeHandle.getOEMDomainName(), "getOEMDomainName() should throw CIFSException");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbTreeHandle.java

        /**
         * Gets the OEM domain name reported by the server
         * @return server reported domain name
         * @throws CIFSException if an error occurs retrieving the domain name
         */
        String getOEMDomainName() throws CIFSException;
    
        /**
         * Gets the name of the share this tree is connected to
         * @return the share we are connected to
         */
        String getConnectedShare();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.workgroup = locator.getType() == SmbConstants.TYPE_WORKGROUP;
            if (locator.getURL().getHost().isEmpty()) {
                this.request = new NetServerEnum2(th.getConfig(), th.getOEMDomainName(), NetServerEnum2.SV_TYPE_DOMAIN_ENUM);
            } else if (this.workgroup) {
                this.request = new NetServerEnum2(th.getConfig(), locator.getURL().getHost(), NetServerEnum2.SV_TYPE_ALL);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top