Hello, I'm running ubuntu 9.10 which has samba 3.4.0. If I execute smbtree I get this output: Enter yelo3's password: WORKGROUP \\VBOX-CHIEVO cli_start_connection: failed to connect to VBOX-CHIEVO<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL \\PORTATILE-HP-BA cli_start_connection: failed to connect to PORTATILE-HP-BA<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL Both shares are not password protected. The same thing happens if I use smbclient //PORTATILE-HP-BA:Enter yelo3's password: Connection to PORTATILE-HP-BA failed (Error NT_STATUS_UNSUCCESSFUL) But not if I directly type the IP address of the samba server: Enter yelo3's password: Domain=[PORTATILE-HP-BA] OS=[Windows Vista (TM) Home Premium 6002 Service Pack 2] Server=[Windows Vista (TM) Home Premium 6.0] Sharename Type Comment --------- ---- ------- ADMIN$ Disk Amministrazione remota C$ Disk Condivisione predefinita D$ Disk Condivisione predefinita IPC$ IPC IPC remoto Public Disk session request to 192.168.5.4 failed (Called name not present) session request to 192 failed (Called name not present) session request to *SMBSERVER failed (Called name not present) NetBIOS over TCP disabled -- no workgroup available Can you help me?
I manually compiled samba 3.4.3 and there is the same problem.
nmblookup can find the IP address. Lissting shares from other windows installations works fine. The problem is linux-only. Unfortunately I don't have other installed distributions to test
I've found a way to workaround my problem: in /etc/samba/smb.conf I have edit the line name resolve order = lmhosts host wins bcast putting host to the end of the list