Re: Samba (DNS?) problem

From: Scot L. Harris (webid_at_cfl.rr.com)
Date: 07/21/04

  • Next message: Mark: "RE: [Solved]: Qmail messages stuck in queue because of permission problems"
    To: Fedora List <fedora-list@redhat.com>
    Date: Wed, 21 Jul 2004 13:31:06 -0400
    
    

    On Wed, 2004-07-21 at 13:03, Santiago Cepas wrote:
    > Hello everybody.
    > I'm trying to configure a public folder in my linux box that can be
    > accessed by other window machines in my local network. However i'm
    > unable to make it work.
    >
    > I've been googling and reading and come to the conclusion that i'm
    > having a DNS problem. When I do
    > ping WinMachine
    > I get:
    > ping: unknown host WinMachine
    >
    > However when i ping the ip address directly, everything works find.

    ping does not use netbios to resolve the names of systems, it will use
    dns, nis, or the host file for that. There is a high probability that
    your windows clients are not in the DNS, and if they are probably at
    some generic type name assigned by DHCP.

    Actually a better test would be:

    smbclient -L servername -N

    This should show you the systems that your linux box has seen on the
    network. It may take time for it to see a system that was just put on
    the network.

    That said, samba uses NETBIOS to exchange information with systems on
    the network. What you need to sort out is the type of permissions your
    windows network is using and make sure your samba server is configured
    correctly.

    If you are not running a full blown domain then user permissions are
    probably used. I have found that in that case you may get better
    results if you create a user on the samba server using smbpasswd to
    create and set the user up.

    >From a windows box on your network try using the run command (from the
    start menu) and put \\ipaddressofsambaserver in the run command. I have
    found that this will work sometimes if the name of the server can not be
    resolved.

    Also you may need to configure your samba server to never be the
    prefered master, local master, or domain master, and set the os level to
    20 or less. And set the netbios name in the samba configuration file
    for your server. And make sure the workgroup name corresponds to your
    windows workgroup.

    Also if you have a wins server on your network configure the samba
    server to point to it.

    You may want to load samba-swat. It gives you a fairly nice graphical
    interface (via a web page) to configure all of this. Once you have that
    loaded just go to a browser and point it at http://localhost:901

    -- 
    Scot L. Harris
    webid@cfl.rr.com
    You had mail, but the super-user read it, and deleted it! 
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Mark: "RE: [Solved]: Qmail messages stuck in queue because of permission problems"

    Relevant Pages

    • RE: Printing from Win9x clients stops
      ... Open Server Management. ... then right-click the name of the computer running Windows Small Business ... >From the client computer: ... The Select Network Component Type ...
      (microsoft.public.windows.server.sbs)
    • RE: Printing from Win9x clients stops
      ... The printers with 9x drivers on the server appeared automatically in the ... > then right-click the name of the computer running Windows Small Business ... > From the client computer: ... The Select Network Component Type ...
      (microsoft.public.windows.server.sbs)
    • Re: random lockouts
      ... >> I've got a network with several Windows 2000 Servers and ... >> about 150 Windows 98 clients. ... >This problem occurs because the Windows 2000-based server ... >because the session that is reused is against a DFS ...
      (microsoft.public.win2000.security)
    • Questions Relating to Administering Windows 2000 Server
      ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
      (microsoft.public.cert.exam.mcse)
    • Questions Relating to Administering Windows 2000 Server
      ... installed the network client on the target computer. ... Sarah has been attempting to install Windows 2000 ... Server for two days. ... Sarah has checked the cables and hard drives. ...
      (microsoft.public.cert.exam.mcse)