Get_Hostbyname: Unkown host with Samba
Hi, I am running Slackware 7.0 and I installed Samba 2.0.5 from source. Everything went ok with the ./configure, make, make install - smb.conf looks is:
# Samba config file created using SWAT # from fw-2.phx3.fw.mindspring.net (199.174.119.232) # Date: 2001/07/19 08:06:43 # Global parameters [global] workgroup = WORKGROUP security = user [test] path = /export/samba/test My etc/hosts is: # For loopbacking. 127.0.0.1 localhost myActual IP Address host.domain.com # End of hosts. I run ./testparm sbm.conf and get the following: Load smb config files from smb.conf Get_Hostbyname: Unknown host host Failed to get my hostname. Do I need something more in smb.conf? Also, I can't tell why testparm is only giving me back just the host and not the rest when reporting this error, is that normal? any suggestions? thx |
In /etc/hosts you also want just the name of you machine. For example
Code:
127.0.0.1 localhost HTH Jamie... |
type hostname
this should return your hostname if it is not set you need to put it into your network file mine is in /etc/sysconfig/ |
right on! that did it.
sorry to post a reply but just wanted to say thx --- ALOT. |
All times are GMT -5. The time now is 11:58 AM. |