Linux Step By Steps
Caldera Users' List Step x Step
Samba Logo  

SAMBA TIPS

To allow time synching of windows boxes:

If you specify 'timeserver = Yes' in smb.conf you can make a batch file, say "nettime.bat" and add the command: 'net time \\gateway /set /yes' to it.  Then insert a "run=\pathto\nettime.bat" call into the win.ini files of your windows machines and they'll always be synchronized with the SAMBA machine at startup.  You may want to change the properties on the batch file, to make sure it closes after running so you aren't left with a window open when the time sync is finished.

Now just add 'rdate -s time.nrc.ca' as a cron job to the SAMBA machine and you'll always be within tenths of a second of the atomic clock at the National Research Council of Canada. (Or whatever timeserver you want to use.)