[KLUG Members] ntpd and samba

Robert G. Brown members@kalamazoolinux.org
Tue, 18 Feb 2003 00:58:56 -0500


>In other news, Bob Brown asked for a sample ntp.conf file, here it is.
>Note how it comes with NO explanations at all! Just like the package!

But I didn't ask for just ANY ntp.conf file.... What I want to do is
get the right time off the net from time servers..which I do now, and
them run ntpd on other hosts to get the time from THAT host.

To set the time off the net, here's the ntp.conf file I'm using....
--------------------------------------
server darkcity.cerias.purdue.edu
server ntp-0.cso.uiuc.edu
driftfile /etc/ntp/drift
multicastclient             
broadcastdelay  0.008
authenticate no
keys  /etc/ntp/keys
--------------------------------------

For brevity, I've excised all the comments and commeted-out configuration
statements.

Note the two "server" lines. These are servers taken from some list of
public ntp servers. I can probably eliminate a couple of lines from the
above, notably "multicastclient", perhaps others...

On the client, the config file is (effectively)...
---------------------------------------
server 192.168.24.10
driftfile /etc/ntp/drift
broadcastdelay  0.008
authenticate no
keys /etc/ntp/keys
---------------------------------------

The IP address being that of the first machine.

So when I start ntpd on the client machine, I get....

ntpd: Synchronizing with time server:                      [FAILED]

The log on the server is untouched, the log on the client is...

ntpdate[4029]: no server suitable for synchronization found
ntpd:  failed

No, there's no firewall or other impediment between the client 
(at 192.168.24.100) and the server (at 192.168.24.10), they ping
fine, and I'm writing this mail message on the client, in a window
exported from the server. so commuinications between these hosts is 
just great.

I tried a few of the lines from Peter's config file earlier this 
evening, with the same result. 

I'm sure I'm missing something simple, but I've tried to get this
to work in the past to no avail; reading about it more has not helped
much.. not that this is a barrier to all progress, nor has it been the
focus of my life... but it would be nice to get it working, and under-
stand what's going on....

The answer Bruce Smith offered might be correct, but I have not seen 
that behavior at all...so I look forward to other comments or solutions
(or manic laughter, telling me ehat I've missed! :) 

						Regards,
						---> RGB <---