Alan M Wright wrote:
> On 12/05/08 23:57, Bill Shannon wrote:
>> Gordon Ross wrote:
>>> Have a look at a snoop capture (use wireshark to view it).
>>> If you see no NetBIOS responses, You'll probably find that
>>> NetBIOS is not running on the box you're trying to reach.
>>
>> I don't know what the difference is between all these things.
>> If I can discover filesystems on the other machine using
>> Windows Explorer, and I can access files on the other machine,
>> doesn't that imply that NetBIOS is running on the other machine?
>> If not, what do I do in Windows to cause NetBIOS to be running?
> 
> SMB is supported over NetBIOS and natively over TCP/IP, which
> Microsoft calls direct hosted SMB.
> 
> I haven't been following this conversation but try this article.
> It's about disabling NetBIOS but it should help with getting it
> enabled if it's disabled.
> 
> http://support.microsoft.com/kb/204279

Using the procedure described in that article, I verified that
the computer in question *is* running NetBIOS (it has both the
"direct hosted" and "NBT" transports).

If I run "snoop host rosalind" and "smbutil lookup rosalind",
I get no snoop output.

If I run snoop and exclude communication with a few other hosts
(e.g., punch-sfbay.sun.com, the desktop machine where I'm typing
the commands into an ssh window), all I get is:

Using device iprb0 (promiscuous mode)
            ? -> (multicast)  ETHER Type=8781 (Unknown), size=109 bytes
     home-105 -> (broadcast)  ARP C Who is 192.168.0.1, linksys ?
     home-105 -> 192.168.0.255 UDP D=2190 S=3855 LEN=141
     home-100 -> 192.168.0.255 UDP D=2190 S=2599 LEN=166
            ? -> (multicast)  ETHER Type=8781 (Unknown), size=109 bytes
       nissan -> 192.168.0.255 UDP D=631 S=631 LEN=165


Would the fact that I'm punched-in make any difference?  I've got it
configured for "allow local LAN".

Here's what I get on Linux...

If I run Nautilus, it shows me four machines on my local network.

If I run "smbclient -N -R bcast -L nissan" (nissan is my OpenSolaris
server running Samba, the machine on which I'm trying to get smbutil
to work), I get:

$ smbclient -N -R bcast -L nissan
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.32]

        Sharename       Type      Comment
        ---------       ----      -------
        lexmark         Printer
        home            Disk      Home Directory
        shannon         Disk
        wine            Disk      Wine database
        backup          Disk
        backup2         Disk
        download        Disk
        pictures        Disk      My Pictures
        ndatsun         Printer
        IPC$            IPC       IPC Service (Samba Server)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.32]

        Server               Comment
        ---------            -------
        CERES                Kimberly's laptop
        DELL4600
        NISSAN               Samba Server
        ROSALIND             Karen's computer

        Workgroup            Master
        ---------            -------
        WORKGROUP            NISSAN

You can see the four machines on my network.

Then I tried:

$ smbclient -N -R bcast -L rosalind
Domain=[ROSALIND] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        E$              Disk      Default share
        MyDocuments     Disk
        IPC$            IPC       Remote IPC
        print$          Disk      Printer Drivers
        SharedDocs      Disk
        backup          Disk
        Desktop         Disk
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
Domain=[ROSALIND] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

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

        Workgroup            Master
        ---------            -------

I get similar information for "dell4600".  "rosalind is in the
local /etc/hosts file, "dell4600" isn't.

This seems to indicate that the WINS name server on nissan is working.

What else should I do to figure out why smbutil isn't working?

_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to