Ë
    þI¶dÙ  ã                   óJ   — d dl mZ ddlmZ d dlmZ d dlmZ  G d„ de«      Z	y)é    Né   )Úcommon)ÚNet)ÚCommandc                   ón   — e Zd ZdZdZej                  ej                  ej                  dœZ	dgZ
	 	 dd„Zy)Úcmd_timeañ  Retrieve the time on a server.

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.
z%prog [server-name] [options])Ú	sambaoptsÚcredoptsÚversionoptszserver_name?Nc                 ó  — |j                  «       }|j                  |d¬«      }t        |||j                  ¬«      }|€t	        j
                  |«      }| j                  j                  |j                  |«      dz   «       y )NT)Úfallback_machine)Úserverú
)	Úget_loadparmÚget_credentialsr   Ú	ipaddressr   Únetcmd_dnsnameÚoutfÚwriteÚtime)ÚselfÚserver_namer
   r	   r   ÚlpÚcredsÚnets           ú6/usr/lib/python3/dist-packages/samba/netcmd/nettime.pyÚrunzcmd_time.run5   sm   € à×#Ñ#Ó%ˆØ×(Ñ(¨¸dÐ(ÓCˆÜ�%˜ H×$6Ñ$6Ô7ˆØÐÜ ×/Ñ/°Ó3ˆKØ�	‰	�‰˜Ÿ™ Ó-°Ñ4Õ5ó    )NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚsynopsisÚoptionsÚSambaOptionsÚCredentialsOptionsÚVersionOptionsÚtakes_optiongroupsÚ
takes_argsr   © r   r   r   r      sH   „ ñð /€Hð ×)Ñ)Ø×.Ñ.Ø×-Ñ-ñÐð !Ð!€Jà=AØô6r   r   )
Úsamba.getoptÚgetoptr$   Ú r   Ú	samba.netr   Úsamba.netcmdr   r   r*   r   r   ú<module>r0      s!   ðõ& Ý Ý õô
 6ˆwõ  6r   