Re: Samba: Windows can't see Linux

From: Andy (ajj3085_at_comcast.net.SPAMBLOCKER)
Date: 07/25/03


Date: Thu, 24 Jul 2003 20:29:13 -0400

Robert Book wrote:

> I have a Windows 98SE box and a Red Hat 7.2 box with Samba 2.2.8a.
>
> The Linux box has no problem seeing the Windows box, mounting shares,
> etc.
> The Windows box has no problem seeing the Linux box for non-Samba
> purposes (ping, ssh, etc.) But, the Windows box can't see the Linux
> box in Network Neighborhood, and can't access any shares.
>
> I went through the "troubleshooting" chapter on samba.org, and found
> that the nmb test fails. That is,
>
> nmblookup -B 192.168.5.255 RH72
>
> does not find the RH72 box -- even when that command is run on the
> RH72 box itself!
>
> Changing the IP in that command from the "broadcast" IP to RH72'2 IP
> does give the correct response, and "smbclient -L //RH72" produces a
> correct list of shares.
>
> So, it seems that RH72 is not responding when queried on the broadcast
> IP.
>
> How can I fix this?
>
> (I've already tried invoking nmbd with the "-B" option, but that
> didn't work.)
>
> Thanks!
>
> --Robert

Did you check /var/log/messages and /var/log/samba/* for any indication of
whats not working? nmbd should start at the same time samba does. You
should be starting samba with /etc/rc.d/init.d/smb start...and that should
start both services. Also, you may want to post your smb.conf file.

Finally, sometimes it takes a while, 15+ minutes, before the smb machines
work out new elections. It may show up if you just wait around for a
while.

Andy



Relevant Pages

  • Re: Networking Problems
    ... > in Linux. ... entering the IP address of the Linux box in the hosts file in the Windows ... will need to tell Samba to run as a WINS server as well. ... I unmounted some of the Windows shares and to this point have ...
    (alt.os.linux.suse)
  • Samba: Windows cant see Linux
    ... I have a Windows 98SE box and a Red Hat 7.2 box with Samba 2.2.8a. ... The Linux box has no problem seeing the Windows box, mounting shares, ...
    (comp.os.linux.networking)
  • Re: [opensuse] Using windows shares
    ... my current logged-in linux username and password to login to shares. ... contain the user's windows password for the share. ... I have had my linux machine join an active directory. ...
    (SuSE)
  • Re: Linux Networking is a Ball of Confusion.
    ... >>user with a complementary Linux account to access the Windows ... and mount points for the shares - this worked until I patched ... > printers permit gueat access, then printing to them doesn't require ...
    (alt.os.linux.suse)
  • [SLE] samba cant see windows shares
    ... I can browse the shares on a Linux box from machines ... But I can't see Windows shares (or for that matter, the Linux shares) ...
    (SuSE)