If samba and xntpd are running, you're done! Samba is a time server. Setting the smb.conf parameter "time server = yes" will cause Samba to advertise itself as a time server in the browse list through nmbd. Regardless of this setting, clients can still set their time with the "net time" command. -Mike MacIsaac, IBM mikemac at us.ibm.com (845) 433-7061 SoloCDM <deedsmis@aculink.net>@lists.samba.org on 06/06/2003 01:04:52 AM Please respond to deedsmis@aculink.net; Please respond to samba@samba.org Sent by: samba-bounces+mikemac=us.ibm.com@lists.samba.org To: "Samba (Request)" <samba@samba.org> cc: Subject: [Samba] Accepting Time Server How do I configure Samba 2.2.7a to act as a time server in Mandrake 8.0 for the Microsoft workstations? I know about ntpd and how it's configured. -- Note: When you reply to this message, please include the mailing list address and my email address in To: and/or Cc: with any proper combination ********************************************************************* Signed, SoloCDM -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
hi, you have to put this line in your global smb.conf time server = yes and you have to make samba as domain logon for login script to run in your win box i guess you allready knew about running login script, so i am not going to spit it here if you don't you can always ask thanks ----- Original Message ----- From: SoloCDM <deedsmis@aculink.net> To: Samba (Request) <samba@samba.org> Sent: Friday, June 06, 2003 12:04 PM Subject: [Samba] Accepting Time Server> How do I configure Samba 2.2.7a to act as a time server in Mandrake > 8.0 for the Microsoft workstations? I know about ntpd and how > it's configured. > > -- > Note: When you reply to this message, please include the mailing > list address and my email address in To: and/or Cc: with > any proper combination > > ********************************************************************* > Signed, > SoloCDM > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
On Sat, 2003-06-07 at 16:36, SoloCDM wrote:> How does Microsoft Windows know to grab the time off the Linux server?In regards to Samba's time service the Windows system simply performs a "net time /set" command, executed manually or via a script.> Is ntpd needed on the Linux server to execute net time?Not to use Samba's time service which emulates the NT4 time service. Samba's time service is most useful for Win9x systems as there are no security constraints that prevent the above "net time /set" command from properly executing. For Windows 2k/XP, users without admin privileges cannot succesfully execute said command so its usefulness in a log on script for these machines is normally dubious. For Win2k/XP it is more desirable to run an ntp server and use the "net time /setsntp:1.2.3.4" where 1.2.3.4 represents the IP address of the ntp server command and these systems will sync periodically with said ntp server. In my case I run both xntpd and the Samba time service. If the logon script finds a Win9x/ME box it runs the proper "net time /set" command, otherwise it doesn't as the 2k and XP boxes will use the ntp service.
> How does Microsoft Windows know to grab the time off the Linux server?As I said: "clients can still set their time with the "net time" command." The synax is "net time \\sambaServer /set /yes This can be run interactively from a DOS prompt, in an autoexec.bat, or in a netlogon startup script> Is ntpd needed on the Linux server to execute net time?No, Samba is. xntpd is needed for an accurate software clock. -Mike MacIsaac, IBM mikemac at us.ibm.com (845) 433-7061