[Samba] Syncing time for non-Admin logons? - net time \\superserver /set /yes

Jeff Gardiner gardiner at imaging.robarts.ca
Wed Nov 19 19:52:17 GMT 2003


I have in my smb.conf file the following entries:
time server = yes

and 

logon script = startup.bat

Where logon script is as follow:

-----start script -----
NET TIME \\SUPERSERVER /SET /YES
# Here we map network drives to shares on the Samba Server

echo Mapping Network Drives to Samba Server Theremin
net use s: \\superserver\scratch
net use r: \\superserver\share

\\virusserver\Antivirus\PCCSRV\AUTOPCC.EXE
-----end script -----

The NET TIME command seems to be runable only by the local admin.  The 
\\superserver is a Solaris9 box running samba 3.0.1pre3 and also acts as an 
ntp server.

Does anyone have suggestions as to how to have my samba clients update with 
the server?

Cheers
Jeff


-- 
Jeff Gardiner [ gardiner at imaging.robarts.ca ]
System Administrator - Imaging Research Laboratories
Robarts Research Institute - London ON, Canada
519.663.5777 x34089

       ~~~~~~~
  Those who do not understand Unix are condemned to reinvent it, poorly.
        -- Henry Spencer
~~~~~~




More information about the samba mailing list