Re: [Samba] Re: Purpose of param. time server ?

2004-03-30 Thread Malcolm Baldridge
 a) Ability to set clock by net time ... don't depend on value of this
 parameter on SAMBA server.

I don't know if Samba supports the call if you don't specify that.

 b) Ability to set clock by net time on NT and subsequent Windows is based
 on system rights of current user,  and so it is not sure to work.

Correct.  Consumer Windows [95/98/Me] let you do it unconditionally.

 c) Setting clock during execution of login script is dependent on user
 logging and then accurancy of clock depends on frequency of logging in.

Correct.  And it's not very precise either.  I think +/- 0.5 second is the
best you can expect, and it's probably not even that good.  It's not NTP,
nor does it condition the system's clocks.  You're better off using W32Time
for NTP, which comes built-in with Windows 2000, and is an easily obtained
download for Windows NT.
 
 Is somebody able to explain me it more thoroughly ?

You'd sprinkle net time \\sambaserver /set into the login scripts of your
various users.  This is easier to do for Windows 95/98/Me of course.

=R=


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Purpose of param. time server ?

2004-03-30 Thread M. Vancl

Raphaƫl RIGNIER [EMAIL PROTECTED] wrote:

 By default, Windoze XP Pro Workstations look for the (S)NTP service on the
 PDC to synchronize with.
 If your Samba server is a PDC, then yes, you could use this option and
 configure NTP service on the Samba Box. There is nothing to do with your
XP
 pro workstations, if tey are members of the domain.

 If your workstations are XP Home or in Workgroup mode, it is NOT
automatic.
 You must configure the w32time service to syncrhonize to the IP address of
 your local NTP server (by default it's time.microsoft.com or something
like
 that).

 To see exactly what your Windows workstation is doing with time, you can
use
 w32time service in debug mode
 http://support.microsoft.com/default.aspx?scid=kb;en-us;816043

Thanks for your explanation. Its new for me and it seems to lead me to right
understanding of time sync on WinXP.

I had done some experimet:
My workstation is WinXP Pro, DC is SAMBA 3.0.2 with time server = yes,
without running ntpd on this server now.
Clock setting on XP (3rd card / Internet time - I'm not sure of right
english label of it) is by default disabled (empty checkbox). Formerly on
this wkst. was done some experiments with single ntp server in our LAN
(router Cisco).
I configured debug log of w32time and restarted computer. Entries in log are
interesting.
It seems, after reboot was made 3 attempts to use strange IP address
(169.254.148.84 is unknown for me):
= 147281 12:15:26.8281250s - NtpProvider: Created 2 sockets (1
listen-only): 169.254.148.84:123, (127.0.0.1:123)
After it, attempts to poll some ntp peers (peer list contents is not
displayed) are made and got response from my earlier tested internal ntp
server. I don't know why, because I deleted it from server list from
registry (key
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers) before
reboot.
But most important is - there are logged no attempts to sync clock with my
samba server and additionally tcpdump (port 123) on it don't caught any such
attempt.
Conclusion: It seems not be true that XP Pro wkst. looks by default (or
based on option time server) to ntp service on my SAMBA PDC. Curiously it
uses another ntp server on my LAN but I don't know why...
Probably the best but not nice solution is to stop researching how to
exploit time server option and explicitly set up internal ntp server in
clock settings on all WinXP workstations. It's annoying.

M. Vancl



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Purpose of param. time server ?

2004-03-29 Thread Mark
M. Vancl [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I need to make a decision whether or not to install ntp server on my
network
 in order to give time source to WinXP workstations. I found this parameter
 but I don't know how to employ it. I have got some unsure information
about
 new functionality (other then ntp and 'net time' service) on WinXP (DC)
 server for setting clock on its workstations. Is it true ? And is time
 server = yes parameter on SAMBA intended for setting such functionality
on
 it ? Unfortunately my trial with it was not successful. Can anybody help
me


For more information, see the discussion of this on 3-19 with subject time
server option.



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Purpose of param. time server ?

2004-03-29 Thread M. Vancl
 For more information, see the discussion of this on 3-19 with subject
time
 server option.

Thanks for your advices. Unfortunately that thread was also based by me and
this is my second attempt to reach proper explanation.

More intimately some my thoughts:
a) Ability to set clock by net time ... don't depend on value of this
parameter on SAMBA server.
b) Ability to set clock by net time on NT and subsequent Windows is based on
system rights of current user,  and so it is not sure to work.
c) Setting clock during execution of login script is dependent on user
logging and then accurancy of clock depends on frequency of logging in.

Is somebody able to explain me it more thoroughly ?

M. Vancl



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba