XNTP providing time source to Windex 2003 server

2003-08-14 Thread James Melin
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?


Re: XNTP providing time source to Windex 2003 server

2003-08-08 Thread John Summerfield
On Fri, 8 Aug 2003, James Melin wrote:

> Samba has a time service? Can you elucidate on this?

LanServer/LanManager have had a time service for synchronising clocks
for eons.

As part of its functionality, Samba also provides  that service.

man smb.conf
Search for "time server."


This is not the same functionality that ntp provides.



--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
Copyright John Summerfield. Reproduction prohibited.


Re: XNTP providing time source to Windex 2003 server

2003-08-09 Thread Hall, Ken (IDS ECCS)
Right, "net time" uses the smb protocol to set the clock from a Windows (Samba) 
server.  If rockhopper is running Samba, this should work.

My XP Pro system has an "internet time" option in the "Date/Time properties" window 
that can be used with a Linux system, but I don't recall which time protocol it uses.  
There are three:  ntp (port
113), time (port 37), and daytime (port 13).

ntpd provides ntp time service.  The other two are provided by inetd if you enable 
them in inetd.conf.

There are after market time clients also.

> -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?
>


Re: XNTP providing time source to Windex 2003 server

2003-08-09 Thread James Melin
Samba has a time service? Can you elucidate on this?



|-+-->
| |   John Summerfield   |
| |   <[EMAIL PROTECTED]|
| |   afe.com.au>|
| |   Sent by: Linux on  |
| |   390 Port   |
| |   <[EMAIL PROTECTED]|
| |   T.EDU> |
| |  |
| |  |
| |   08/07/2003 07:12 PM|
| |   Please respond to  |
| |   Linux on 390 Port  |
| |  |
|-+-->
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: XNTP providing time source to Windex 2003 server   
  |
  
>--|




On Thu, 7 Aug 2003, James Melin wrote:

> 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.

It's almost certainly talking to Samba's time service, not using NTP.



--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
Copyright John Summerfield. Reproduction prohibited.


Re: XNTP providing time source to Windex 2003 server

2003-08-09 Thread John Summerfield
On Thu, 7 Aug 2003, James Melin wrote:

> 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.

It's almost certainly talking to Samba's time service, not using NTP.



--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb
Copyright John Summerfield. Reproduction prohibited.


Re: XNTP providing time source to Windex 2003 server

2003-08-14 Thread James Melin
Looked at that. From all the doc I can see, I have no restrictions in this
at all.
A curiosity exists however...

While we cannot seem to get the windows 2003 server to do it correctly,  a
little piece of  code called aboutime that is shareware (author calls it
careware but I digress) can hit my Linux ntp sever with TCP, UDP and SNTP
and get the time returned to it. I cannot believe that it is authentication
at linux. Now if they are attempting to route this over SMB, well that's
another story. I don't have it working quite right yet, as it's not been a
priority.



|-+>
| |   "Post, Mark K"   |
| |   <[EMAIL PROTECTED]|
| |   m>   |
| |   Sent by: Linux on|
| |   390 Port |
| |   <[EMAIL PROTECTED]|
| |   IST.EDU> |
| ||
| ||
| |   08/07/2003 12:47 |
| |   PM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+>
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
      |
  |       Subject:  Re: XNTP providing time source to Windex 2003 server   
  |
  
>--|




James,

Make sure your ntp.conf file allows other systems to use it as a server.
(It's a very _simple_ authentication scheme.)  You may see something in
there like this:
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.169.10.0 mask 255.255.255.0


Mark Post

-Original Message-
From: James Melin [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:56 AM
To: [EMAIL PROTECTED]
Subject: 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?


Re: XNTP providing time source to Windex 2003 server

2003-08-14 Thread Hall, Ken (IDS ECCS)
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.

/SETSynchronizes 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?
>


Re: XNTP providing time source to Windex 2003 server

2003-08-14 Thread Post, Mark K
James,

Make sure your ntp.conf file allows other systems to use it as a server.
(It's a very _simple_ authentication scheme.)  You may see something in
there like this:
restrict default noquery notrust nomodify
restrict 127.0.0.1
restrict 192.169.10.0 mask 255.255.255.0


Mark Post

-Original Message-
From: James Melin [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 9:56 AM
To: [EMAIL PROTECTED]
Subject: 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?


Re: XNTP providing time source to Windex 2003 server

2003-08-14 Thread Per Jessen
On Thu, 7 Aug 2003 13:23:10 -0500, James Melin wrote:

>While we cannot seem to get the windows 2003 server to do it correctly,  a
>little piece of  code called aboutime that is shareware (author calls it
>careware but I digress) can hit my Linux ntp sever with TCP, UDP and SNTP
>and get the time returned to it. I cannot believe that it is authentication
>at linux. Now if they are attempting to route this over SMB, well that's
>another story. I don't have it working quite right yet, as it's not been a
>priority.

I have several Win9x workstations setting time using the "NET TIME" scheme
from a samba server. ("net time" is in the logon script)
It has nothing to do with ntp nor the associated authentication mechanisms.
I would check your samba logs.

Otherwise, if your Windows people want to sync time using NTP, they just need
a Windows NTP client.
See http://www.google.ch/search?q=ntp+windows&ie=UTF-8&oe=UTF-8&hl=de&meta=

/Per

best regards,
Per Jessen, [EMAIL PROTECTED]
http://timian.jessen.ch - an analog report-formatter using XSLT