%PDF- %PDF-
Mini Shell

Mini Shell

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

�

�I�d�
��.�ddlZddlmZGd�de�Zy)�N)�
gp_pol_extc�"�eZdZd�Z	dd�Zd�Zy)�gp_msgs_extc��y)NzUnix Settings/Messages�)�selfs �6/usr/lib/python3/dist-packages/samba/gp/gp_msgs_ext.py�__str__zgp_msgs_ext.__str__s��'�c��|D�]\}}|jj|�t|�|vr�|t|�j�D]�\}}|dk(r!tj
j
|d�}n'|dk(r!tj
j
|d�}n�St|d�5}	|r|	j|�n|	j�ddd�|jjt|�|���|jj���|D�]�}
|
js�d}|jj|
j�d}tj
j
|
j|�}
|j|
�}|s�x|jD�]E}|j |k(s�|j"j%�s�/|j&dk(r!tj
j
|d�}n1|j&dk(r!tj
j
|d�}n��tj
j)|�rt|d�j+�}nd}t|d�5}	|	j|j"�|jj-t|�|j&|�ddd�|jj���H���y#1swY��!xYw#1swY�7xYw)N�motd�issue�w�.Software\Policies\Samba\Unix Settings\Messages�MACHINE/Registry.pol�r�)�gp_db�set_guid�str�items�os�path�join�open�write�truncate�delete�commit�
file_sys_path�name�parse�entries�keyname�data�strip�	valuename�exists�read�store)r�deleted_gpo_list�changed_gpo_list�cdir�guid�settings�	attribute�msg�mfiler�gpo�section_name�pol_filer�pol_conf�e�old_vals                 r	�process_group_policyz gp_msgs_ext.process_group_policys]��.�	 �N�D�(��J�J����%��4�y�H�$�&.�s�4�y�&9�&?�&?�&A�<�N�I�s� �F�*� "�����T�6� :��"�g�-� "�����T�7� ;�� ��e�S�)�)�Q���G�G�C�L��J�J�L�	)�
�J�J�%�%�c�$�i��;�<�
�J�J����!	 �$$�	,�C�� � �S���
�
�#�#�C�H�H�-�1���w�w�|�|�C�$5�$5�x�@���:�:�d�+����!�)�)�,�A��y�y�L�0�Q�V�V�\�\�^��;�;�&�0�$&�G�G�L�L��v�$>�E��[�[�G�3�$&�G�G�L�L��w�$?�E�$��7�7�>�>�%�0�&*�5�#�&6�&;�&;�&=�G�&(�G�!�%��-�N���G�G�A�F�F�O� �J�J�,�,�S��Y����W�M�N��
�
�)�)�+�,�	,�)�)��:N�N�s�-%K1�<AK>�1K;�>Lc��i}|jr�d}d}tjj|j|�}|j	|�}|s|S|j
D]f}|j|k(s�|jj�s�.tjjd|j�}|j||<�h|S)Nrr�/etc)
r rrrr"r#r$r%r&r')	rr3�outputr4r5rr6r7r2s	         r	�rsopzgp_msgs_ext.rsopFs��������O�L�-�H��7�7�<�<�� 1� 1�8�<�D��z�z�$�'�H���
��%�%�
+���9�9��,��������G�G�L�L�����=�E�$%�F�F�F�5�M�
+��
rN)r;)�__name__�
__module__�__qualname__r
r9r=rrr	rrs��(�#)�,,�\
rr)r�samba.gp.gpclassrrrrr	�<module>rBs��"
�'�?�*�?r

Zerion Mini Shell 1.0