problem with lib/util_sock.c

Cuyler Dingwell cuyler at home.com
Fri May 4 15:25:51 GMT 2001


Everything like that is set up fine (currently the machine routes traffic to
the internet perfectly) and the /etc/hosts file is as your specified.

Bill Moran wrote:

> Cuyler Dingwell wrote:
> >
> > I get the following errors in the smb.log file.  If anyone has any ideas
> > about this please let me know.
> >
> > [2001/05/01 09:51:46, 0] lib/util_sock.c:open_socket_in(827)
> >   Get_Hostbyname: Unknown host
>
> With regard to this one, make sure you have DNS set up properly, the
> easiest fix is to be sure the short name is in the host file. i.e.:
>
> <RIGHT>
> 192.168.0.1     fileserver fileserver.domain.com
>
> <NOT QUITE ENOUGH>
> 192.168.0.1     fileserver.domain.com
>
> Also, making sure /etc/resolv.conf is set up properly helps. Things like
> "search" and "domain" options are key (see man resolv.conf)
>
> Hope this helps,
> Bill





More information about the samba mailing list