Comment 3 for bug 248839

Revision history for this message
ar-jar (arto-jarvinen-letter) wrote :

I answered by mail but I realize that for added transparency I should perhaps reply here too:

Not sure what exactly what type of smbclient output you wish. I haven't
used this utility before. I don't have any problems listing the shares
on all the computers in the HOME workgroup with the -L flag. See below.

There are currently five computers on-line on the home network, two
Ubuntu machines, two XP machines and one machine running Vista. Not sure
what the "Domain" parameter in the smbclient output means. No Windows
domain is set on any computer. All machines have workgroup set to "HOME"
but that doesn't show for the Windows machines.

If I try smbclient -L=* then I only get one of the computers (Solbacka)
listed as below. Not sure if "*" is a valid value.

I also did smbfind (see below). It would only list the two Ubuntu
computers currently on the network. Not sure if the Windows machines are
supposed to be listed. It certainly looks so in some of the examples on
Internet.

After several tries to open the Windows Network in Nautilus, all five
servers are listed in the smb://home/ view. The network:/// view only
shows three computers. After computer restart the correct list appears in
the network:/// view.

In Windows, the My Network Places window shows all servers and shares
currently on the network (and a few that aren't currently on-line).

Overall, the different ways to look at the network (through Windows,
smbclient, smbfind, Nautilus) give an inconsistent view with respect to
available servers and workgroup assignment. And again, this is after
coming back from hibernation.

Please let me know what smbclient commands you'd like to have the output
from so that I can assist you better.

Thanks!

Arto

---

ar-jar@Heron:~$ smbclient -L=Gamer
Password:
Domain=[GAMER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename Type Comment
        --------- ---- -------
        Public Disk
        IPC$ IPC Fjärr-IPC
        ADMIN$ Disk Fjärr-admin
        C$ Disk Standardresurs
Domain=[GAMER] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
ar-jar@Heron:~$
ar-jar@Heron:~$ smbclient -L=Heron
Password:
Domain=[HERON] OS=[Unix] Server=[Samba 3.0.28a]

        Sharename Type Comment
        --------- ---- -------
        IPC$ IPC IPC Service (Heron)
        Videos Disk
        Backup Disk
        Music Disk
        Share Disk
Domain=[HERON] OS=[Unix] Server=[Samba 3.0.28a]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
        HOME SOLBACKA
ar-jar@Heron:~$ smbclient -L=Verkstad
Password:
Domain=[VERKSTAD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename Type Comment
        --------- ---- -------
        Video Disk
        Reference Disk
        IPC$ IPC Remote IPC
        Backup Disk
        Pictures Disk
        Applications Disk
        Tmp Disk
        Music Disk
        HandyCam Disk
Domain=[VERKSTAD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
ar-jar@Heron:~$ smbclient -L=Solbacka
Password:
Domain=[SOLBACKA] OS=[Unix] Server=[Samba 3.0.28a]

        Sharename Type Comment
        --------- ---- -------
        IPC$ IPC IPC Service (Solbacka)
        www Disk
        Pictures Disk
        Backup Disk
Domain=[SOLBACKA] OS=[Unix] Server=[Samba 3.0.28a]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
        HOME SOLBACKA
ar-jar@Heron:~$ smbclient -L=Excelsior
Password:
Domain=[EXCELSIOR] OS=[Windows Vista (TM) Ultimate 6001 Service Pack 1]
Server=[Windows Vista (TM) Ultimate 6.0]

        Sharename Type Comment
        --------- ---- -------
        ADMIN$ Disk Remote Admin
        C$ Disk Default share
        D$ Disk Default share
        IPC$ IPC Remote IPC
        Joel Disk
        Music Disk
        Public Disk
        Sierra Disk
Domain=[EXCELSIOR] OS=[Windows Vista (TM) Ultimate 6001 Service Pack 1]
Server=[Windows Vista (TM) Ultimate 6.0]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
ar-jar@Heron:~$ smbclient -L=*
Password:
Domain=[HERON] OS=[Unix] Server=[Samba 3.0.28a]

        Sharename Type Comment
        --------- ---- -------
        IPC$ IPC IPC Service (Heron)
        Videos Disk
        Backup Disk
        Music Disk
        Share Disk
Domain=[HERON] OS=[Unix] Server=[Samba 3.0.28a]

        Server Comment
        --------- -------

        Workgroup Master
        --------- -------
        HOME SOLBACKA
ar-jar@Heron:~$
ar-jar@Heron:~$ apt-cache policy samba
samba:
  Installed: 3.0.28a-1ubuntu4.4
  Candidate: 3.0.28a-1ubuntu4.4
  Version table:
 *** 3.0.28a-1ubuntu4.4 0
        500 http://se.archive.ubuntu.com hardy-updates/main Packages
        500 http://security.ubuntu.com hardy-security/main Packages
        100 /var/lib/dpkg/status
     3.0.28a-1ubuntu4 0
        500 http://se.archive.ubuntu.com hardy/main Packages
ar-jar@Heron:~$ findsmb

                                *=DMB
                                +=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.2.55 HERON [HOME] [Unix] [Samba 3.0.28a]
192.168.2.56 SOLBACKA +[HOME] [Unix] [Samba 3.0.28a]
ar-jar@Heron:~$

--
Arto Jarvinen, Vreta kloster, Ostrogothia, Sweden, http://www.ostrogothia.com/