%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/samba/provision/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/samba/provision/__pycache__/backend.cpython-312.pyc

�

�I�d
	��R�dZddlZGd�de�ZGd�de�ZGd�de�Zy)	zGFunctions for setting up a Samba configuration (LDB and LDAP backends).�Nc��eZdZd�Zy)�
BackendResultc�,�t|j��)z5Rerport this result to a particular logger.

        )�NotImplementedError�
report_logger)�self�loggers  �9/usr/lib/python3/dist-packages/samba/provision/backend.pyrzBackendResult.report_logger s��"�$�"4�"4�5�5�N)�__name__�
__module__�__qualname__r�rr
rrs��6rrc�0�eZdZ		dd�Zd�Zd�Zd�Zd�Zy)�ProvisionBackendNc�J�||_||_||_||_d|_y)zProvision a backend for samba4�ldbN)�paths�lp�namesr	�type)rrrrr	s     r
�__init__zProvisionBackend.__init__)s'����
������
������	rc�,�t|j��)zInitialize the backend.)r�init�rs r
rzProvisionBackend.init3s��!�$�)�)�,�,rc�,�t|j��)zStart the backend.)r�startrs r
rzProvisionBackend.start7s��!�$�*�*�-�-rc�,�t|j��)zShutdown the backend.)r�shutdownrs r
rzProvisionBackend.shutdown;s��!�$�-�-�0�0rc�,�t|j��)z>Post setup.

        :return: A BackendResult or None
        )r�
post_setuprs r
r!zProvisionBackend.post_setup?s��
"�$�/�/�2�2r)NNNN)rr
rrrrrr!rrr
rr's!��&*�$(��-�.�1�3rrc�$�eZdZd�Zd�Zd�Zd�Zy)�
LDBBackendc�^�tj|jjdzd�y)Nz.dT)�shutil�rmtreer�samdbrs r
rzLDBBackend.initIs!��	�
�
�d�j�j�&�&��-�t�4rc��y�Nrrs r
rzLDBBackend.startN���rc��yr)rrs r
rzLDBBackend.shutdownQr*rc��yr)rrs r
r!zLDBBackend.post_setupTr*rN)rr
rrrrr!rrr
r#r#Gs��5�

�
�
rr#)�__doc__r%�objectrrr#rrr
�<module>r/s4��4N�
�6�F�6�3�v�3�@
�!�
r

Zerion Mini Shell 1.0