%PDF- %PDF-
Direktori : /lib/python3/dist-packages/samba/netcmd/domain/__pycache__/ |
Current File : //lib/python3/dist-packages/samba/netcmd/domain/__pycache__/keytab.cpython-312.pyc |
� �I�d� � �x � d dl mZ d dlmZ d dlmZ d dlmZm Z e� G d� de� Z y# e$ r dZ Y yw xY w)� N)�enable_net_export_keytab)�Net)�Command�Optionc � � e Zd ZdZdZej ej ej d�Z e dde�� gZdgZ d d �Zy)�cmd_domain_export_keytabz/Dump Kerberos keys of the domain into a keytab.z%prog <keytab> [options])� sambaopts�credopts�versionoptsz--principalzextract only this principal)�help�type�keytabNc �b � |j � }t d |� }|j ||�� y )N)r � principal)�get_loadparmr � export_keytab)�selfr r r r r �lp�nets �</usr/lib/python3/dist-packages/samba/netcmd/domain/keytab.py�runzcmd_domain_export_keytab.run4 s. � ��'�'�)�B��d�B�-�C����V�y��A� )NNNN)�__name__� __module__�__qualname__�__doc__�synopsis�options�SambaOptions�CredentialsOptions�VersionOptions�takes_optiongroupsr �str� takes_options� takes_argsr � r r r r # sT � �=�-�� !�-�-��2�2�"�1�1� �� �=�'D�3�O� � � �Z� � Br r )�samba.getopt�getoptr �sambar � samba.netr �samba.netcmdr r r �ImportErrorr&