Follow up.

Issuing "net help time" on my Win2k machine gave the following:

NET TIME [\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SE
]
         [\\computername] /QUERYSNTP
         [\\computername] /SETSNTP[:ntp server list]

NET TIME synchronizes the computer's clock with that of another computer
or domain, or displays the time for a computer or domain. When used without
options on a Windows Server domain, it displays the current
date and time at the computer designated as the time server for the domain.
This command allows setting the NTP timeserver for computername.

\\computername  Is the name of the computer you want to check or
                synchronize with.

/DOMAIN[:domainname]  Specifies to synchronize the time from the Primary Domain
                      Controller of domainname.

/RTSDOMAIN[:domainname]  Specifies to synchronize with a Reliable Time Server
                         from domainname.

/SET            Synchronizes the computer's time with the time
                on the specified computer or domain.
/QUERYSNTP      Displays the currently configured NTP server for this computer
/SETSNTP[:ntp server list]
                Sets the NTP time servers to be used by this computer.  This
                may be a list of IP addresses or DNS names separated by spaces.
                If multiple timeservers are listed, the list must be surrounded
                by quotes.

NET HELP command | MORE displays Help one screen at a time.

So they might be able to use the /setsntp option to get what they want from your NTP 
server.

> -----Original Message-----
> From: James Melin [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 07, 2003 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: [LINUX-390] XNTP providing time source to Windex 2003 server
>
>
> The windex folks are trying to get windows 2003 server to get
> the time from
> my Linux box 'rockhopper' using the net time command from
> within a shell.
>
> the command and results are this:
>
> H:\>net time \\rockhopper
> System error 5 has occurred.
>
> Access is denied.
>
>
> They are telling me it has to be an authentication issue with
> Linux. I am
> telling them that this is impossible since xntpd is providing a tcp/ip
> service on a tcp/ip port. The service does not authenticate,
> and the tcp/ip
> layer does not authenticate therefore it's not a Linux problem.
>
> What I suspect is that their windows server is trying to
> treat Linux like a
> domain controller. They also think that because I have SAMBA
> running, their
> time request must be being delivered by SMB (false, of course)
>
> Does anyone know what you have to twiddle in order to make
> the windex time
> thing get time from an ntp time server?
>

Reply via email to