Bug 15764 - Patch to add a "net time offset -S <server>" subcommand
Summary: Patch to add a "net time offset -S <server>" subcommand
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.21.2
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-10 08:35 UTC by Peter Eriksson
Modified: 2024-12-10 08:35 UTC (History)
0 users

See Also:


Attachments
Small patch to add a "net time offset -S <server>" subcommand (5.56 KB, patch)
2024-12-10 08:35 UTC, Peter Eriksson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Eriksson 2024-12-10 08:35:04 UTC
Created attachment 18507 [details]
Small patch to add a "net time offset -S <server>" subcommand

Please find enclosed a small patch to "net time" that adds an "offset" subcommand displaying the offset between the local client time and the server provided time:

# net time offset -S ad-dc-1.some.where
Local:  2024-12-10 08:31:55.218288697
Remote: 2024-12-10 08:31:55.214404000
Offset: -0.003884697