Файловый менеджер - Редактировать - /usr/lib64/python3.6/site-packages/samba/netcmd/__pycache__/nettime.cpython-36.pyc
Ðазад
3 �I�d� � @ sB d dl jZddlmZ d dlmZ d dlmZ G dd� de�Z dS )� N� )�common)�Net)�Commandc @ s6 e Zd ZdZdZejejejd�Z dgZ ddd�ZdS ) �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�versionoptszserver_name?Nc C sR |j � }|j|dd�}t|||jd�}|d kr8tj|�}| jj|j|�d � d S )NT)Zfallback_machine)Zserver� ) Zget_loadparmZget_credentialsr Z ipaddressr Znetcmd_dnsnameZoutf�writeZtime)�selfZserver_namer r r ZlpZcredsZnet� r �/usr/lib64/python3.6/nettime.py�run5 s zcmd_time.run)NNNN)�__name__� __module__�__qualname__�__doc__Zsynopsis�optionsZSambaOptionsZCredentialsOptionsZVersionOptionsZtakes_optiongroupsZ takes_argsr r r r r r s r ) Zsamba.getoptZgetoptr � r Z samba.netr Zsamba.netcmdr r r r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка