Set up samba.

William Rowden rowdenw at eskimo.com
Wed Dec 26 17:08:47 PST 2001


On Sunday, Cliff wrote:
> Also, the output you provided from smbclient tells me that samba
> is only seeing itself on the network.  If everything was set up
> correctly, you should see other workgroups as well as all the
> specific computers in the hurston workgroup.

There is only one workgroup (harlem) on this subnet.  The
`smbclient` output, unfortunately, is similar for the three
computers current in this workgroup:

	[root at hurston root]# smbclient -L dubois
	INFO: Debug class all level = 2   (pid 26649 from pid 26649)
	added interface ip=192.168.0.1 bcast=192.168.0.255
	nmask=255.255.255.0
	Got a positive name query response from 192.168.0.5 ( 192.168.0.5 )
	Password:
[...]
        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        HARLEM               DUBOIS

	[root at hurston root]# smbclient -L hurston
	INFO: Debug class all level = 2   (pid 26650 from pid 26650)
	added interface ip=192.168.0.1 bcast=192.168.0.255
	nmask=255.255.255.0
	Password:
	Domain=[HARLEM] OS=[Unix] Server=[Samba 2.2.1a]
[...]
        Server               Comment
        ---------            -------
        HURSTON              Linux Samba Server

        Workgroup            Master
        ---------            -------
        HARLEM

	[root at hurston root]# smbclient -L toomer
	INFO: Debug class all level = 2   (pid 26652 from pid 26652)
	added interface ip=192.168.0.1 bcast=192.168.0.255
	nmask=255.255.255.0
	Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
	Password:
[...]
        Server               Comment
        ---------            -------

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

> In this case, smeg is a win2k box and is the workgroup master
> for the "blah" workgroup.

What kind of logon validation does the network use?

> Can the windows boxes see each other?

Yes, they can.  File sharing between the windows boxen is no
problem.

> Are there any strange router rules preventing broadcasts from
> going through?

The router blocks ports 137-139 to the WAN in addition (I assume) to
the subnet broadcast address, but all the computers are on the LAN,
which simply uses a hub.  I assume that broadcasts are working
because the Win98 comp's can share files.
-- 
    -William
I'm not a witch, I'm your wife!





More information about the Linux mailing list