network time sync

Ben Kosse BKosse at thecreek.com
Tue Mar 17 16:46:37 GMT 1998


Thank you muchly. I will probably use that for now, until it is added to
the actual Samba suite (a smbdate package?)

> smbclient -L theNThost
> 
> and then grep the output for "Server time is"
> 
> If you get anything, you could use cut or PERL or whatever to strip
off
> the "Server time is" and then feed the date string into the date
command.
> 
> This would work pretty easily as long as both machines are in the same
> timezone.. If not, start grepping for "Timezone is" also. ;)
Thankfully, they are. :)
 
> This looks like a good feature for inclusion into smbclient.


More information about the samba mailing list