%PDF- %PDF-
Direktori : /lib/python3/dist-packages/samba/provision/__pycache__/ |
Current File : //lib/python3/dist-packages/samba/provision/__pycache__/kerberos.cpython-312.pyc |
� �I�d� � �* � d dl mZ d dlmZ d dlZd� Zy)� )�kdb_modules_dir)�is_heimdal_builtNc �. � t � ry dt j v ry dt j v rdt j v ry | �J �|�J �|j � }|�J �|j � }t | d� } |j d� |j d� |j d� |j d� |j d � |j d � |j d� |j d|z � |j d � |j d� |j d� |j d � |j d|j � z � |j d � |j d� |j d� |j d � |j d|z � |j d � |j d� |j d� |j d � |j d� |j dt z � |j d � |j d|z � |j d� |j d� |j d � |j d|j � z � |j d� |j d� |j d � |j d|z � |j d� |j d� |j d � |j d� |j d|z � |j d|z � |j d � |j � y # |j � w xY w)N�KRB5_KDC_PROFILE�SAMBA_SELFTEST�MITKRB5�wz[kdcdefaults] z kdc_ports = 88 z kdc_tcp_ports = 88 z kadmind_port = 464 z" restrict_anonymous_to_tgt = true � z [realms] z %s = { z master_key_type = aes256-cts z% default_principal_flags = +preauth z } z[dbmodules] z db_module_dir = %s z db_library = samba z [logging] z kdc = FILE:%s/mit_kdc.log z' admin_server = FILE:%s/mit_kadmin.log ) r �os�environ�upper�open�write�lowerr �close)�kdcconf�realm�domain�logdir�fs �:/usr/lib/python3/dist-packages/samba/provision/kerberos.py�create_kdc_confr s� � ���� �R�Z�Z�'�� �2�:�:�%�)�r�z�z�*A���������� �\�\�^�F������K�K�M�E��W�c��A�7� ���!�"� ���$�%� ���(�)� ���(�)� ���6�7� ���� � ����� ����u�$�%� ���4�5� ���:�;� ����� ���� � ����u�{�{�}�,�-� ���4�5� ���:�;� ����� ���� � ����v�%�&� ���4�5� ���:�;� ����� ���� � ���� � ���(�?�:�;� ���� � ����u�$�%� ���*�+� ����� ���� � ����u�{�{�}�,�-� ���*�+� ����� ���� � ����v�%�&� ���*�+� ����� ���� � ��� �� ���/�&�8�9� ���;�f�D�E� ���� � ��� ����� �s �=K4N �N)�'samba.provision.kerberos_implementationr �sambar r r � � r �<module>r s ��*� "� �Mr