Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for SMBSERVER_NAME (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
    
            mockName = new Name(mockConfig, "DOMAIN", 0x1C, null); // Domain Controller
            nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/netbios/NbtAddress.java

            if (this.calledName == this.hostName.name) {
                this.calledName = SMBSERVER_NAME;
            } else if (SMBSERVER_NAME.equals(this.calledName)) {
                NetbiosAddress[] addrs;
    
                try {
                    addrs = tc.getNameServiceClient().getNodeStatus(this);
                    if (this.getNameType() == 0x1D) {
                        for (final NetbiosAddress addr : addrs) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

                assertEquals(NbtAddress.SMBSERVER_NAME, uniAddress.nextCalledName(mockCIFSContext));
            }
    
            @Test
            void shouldReturnNullWhenInetAddressAndCalledNameIsAlreadySmbServerName() throws UnknownHostException {
                when(mockInetAddress.getHostName()).thenReturn("192.168.1.1"); // This will set calledName to SMBSERVER_NAME
                UniAddress uniAddress = new UniAddress(mockInetAddress);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (calledName == hostName.name) {
                calledName = SMBSERVER_NAME;
            } else if (calledName == SMBSERVER_NAME) {
                NbtAddress[] addrs;
    
                try {
                    addrs = CLIENT.getNodeStatus(this);
                    if (hostName.hexCode == 0x1D) {
                        for (final NbtAddress addr : addrs) {
                            if (addr.hostName.hexCode == 0x20) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.7K bytes
    - Click Count (0)
Back to Top