Re: can not connect from Win2K to Samba

From: Jeff Godfrey (jeff-godfrey_at_wa.nacdnet.org)
Date: 03/04/04


Date: 4 Mar 2004 08:59:52 -0800

Michael Buchenrieder <mibu@scrum.muc.de> wrote in message news:<Hu1H20.E9y@scrum.muc.de>...
> jeff-godfrey@wa.nacdnet.org (Jeff Godfrey) writes:
>
>
> >Michael,
> >Thanks for your help.
>
> Pleasure. :-)
>
> >-Yes, I can ping the Samba server
>
> OK
>
> >-I do not have a OS level in the smb.conf file. I will go back
> >through the mans
> >I have to read up on that.
>
> It's an option to let the SAMBA server win the Windows Master
> Browser Elections that occure periodically. If you don't set
> this option to a high enough value in your smb.conf file,
> you'll get never ending election processes, visible in your
> smb logfile.
>
> >-The samba server has a static IP and all the windows clients are
> >static IPs also. I believe I have the network settings correct(IP,
> >DNS server, gateway) because I can access the internet from the Linux
> >machine.
>
> OK. You could post the addresses an settings involved, to help people
> help you out.
>
> >-I have not tried the samba as a WINS server. I can work on that to
> >see if that solves the problem.
>
> You'll have to set
>
> wins support = yes
>
> in the smb.conf file, and create the file /etc/lmhosts (location may
> vary depending from the compile-time options!) manually. The file
> has a very simplistic format, just NetBIOS names and corresponding
> IP addresses, one per line.
>
> >-I am afraid I do not know what you mean by "listen to the correct
> >interface."
>
> There should be an option
>
> interfaces = ..../....
>
> containing ONLY the IP address of the internal interface to your LAN.
> If you don't limit the interfaces SAMBA is listening to, your server
> would be accessible by anyone from anywhere (unless you're filtering
> out packets bound to port 135 - 139 with a firewall).
>
> >-No, I can not connect to the samba server using the IP or NetBIOS
> >with "net use...".
>
> If connecting with the IP address fails, and even a "net view ..."
> doesn't work, check whether or not you have a firewall in place
> that is filtering the traffic on the NetBIOS ports. Common mistake
> would be running ZoneAlarm or Norton Internet Security on the Win*
> client.
>
> Michael

Michael

Thank you! I got it to work.
I added wins support & interfaces to the smb.conf and edited the
lmhosts file. Then I was able to connect to the shared dicertory from
the windows machine.
Thank you very much for your help!

Jeff



Relevant Pages

  • Samba is doing a dance on me
    ... I am trying to solve a problem with a Caldera 3.1 Server running SAMBA 2.2.2... ... to access the internet for browsing and such... ... # Samba config file created for testing ...
    (comp.unix.sco.misc)
  • Re: Long Time Samba No Work-Need Expert Help On Samba/Networking
    ... My suspicions are that the network or Samba is not set up properly. ... # server string is the equivalent of the NT Description field ... # Only bind to the named interfaces and/or networks; ... # Another common choice is storing the profile in the user's home directory ...
    (Ubuntu)
  • Re: [SLE] Samba Problem
    ... I don't need to worry about the win boxes looking on the internet. ... Subject: Samba Problem ... Access from Client (P4-3-SERVER) to Server is working as ... session request to P4-3-SERVER failed ...
    (SuSE)
  • Re: Samba and Active Directory
    ... We have an ftp server running on a SuSE 9.0 box, ... In addition to Samba, we also use ... > username/password when trying to browse the internet but it will fail ... On the authentication side, I have seen prolems with Win2003 authentication ...
    (alt.os.linux.suse)
  • Re: Samba routing
    ... The samba server is configured to listen on all 3 ... don't have the names in DNS, windows clients may try to resolve ... but should find a multi-homed server from any of it's interfaces. ...
    (Fedora)