Part of samba.netcmd.time View In Hierarchy
This command returns the date and time of the Active Directory server specified on the command. The server name specified may be the local server or a remote server. If the servername is not specified, the command returns the time and date of the local AD server.
Example1: samba-tool time samdom.example.com
Example1 returns the date and time of the server samdom.example.com.
Example2: samba-tool time
Example2 return the date and time of the local server.
Method | run | Run the command. This should be overriden by all subclasses. |
Inherited from Command:
Method | __init__ | Undocumented |
Method | usage | Undocumented |
Method | show_command_error | display a command error |
Method | message | Undocumented |
Method | get_logger | Get a logger object. |
Method | _get_short_description | Undocumented |
Method | _get_full_description | Undocumented |
Method | _get_name | Undocumented |
Method | _create_parser | Undocumented |
Method | _run | Undocumented |