problem with lib/util_sock.c

Bill Moran wmoran at iowna.com
Fri May 4 15:05:57 GMT 2001


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