%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__/vgp_motd_ext.cpython-312.pyc

�

�I�dm��.�ddlZddlmZGd�de�Zy)�N)�
gp_xml_extc�"�eZdZd�Z	dd�Zd�Zy)�vgp_motd_extc��y)Nz Unix Settings/Message of the Day�)�selfs �7/usr/lib/python3/dist-packages/samba/gp/vgp_motd_ext.py�__str__zvgp_motd_ext.__str__s��1�c��|D]�\}}|jj|�t|�|vr�|t|�j�D]h\}}|dk(r9t	|d�5}|r|j|�n|j
�ddd�|jjt|�|��j|jj���|D�]c}	|	js�|jj|	j�d}
tjj|	j|
�}|j|�}|s�v|jd�}
|
jd�}|jd�}tjj!|�rt	|d�j#�nd}||j$k7s��t	|d�5}|j|j$�|jj't|�d|�ddd�|jj���fy#1swY���xYw#1swY�4xYw)	N�motd�w�'MACHINE/VGP/VTLA/Unix/MOTD/manifest.xml�
policysetting�data�text�r�)�gp_db�set_guid�str�items�open�write�truncate�delete�commit�
file_sys_path�name�os�path�join�parse�find�exists�readr�store)r�deleted_gpo_list�changed_gpo_listr
�guid�settings�	attribute�msgr�gpo�xmlr!�xml_conf�policyrr�currents                 r	�process_group_policyz!vgp_motd_ext.process_group_policys���.�	 �N�D�(��J�J����%��4�y�H�$�&.�s�4�y�&9�&?�&?�&A�<�N�I�s� �F�*�!�$��_�-��"� !����� !�
�
��	-�
�J�J�%�%�c�$�i��;�<�
�J�J����	 �$�	(�C�� � ��
�
�#�#�C�H�H�-�?���w�w�|�|�C�$5�$5�s�;���:�:�d�+����!����7���{�{�6�*���y�y��(��46�G�G�N�N�4�4H�$�t�S�/�.�.�0�b���d�i�i�'��d�C��E�A�����	�	�*��
�
�(�(��T��F�G�D�E��J�J�%�%�'�!	(�-�-��*E�E�s�$%H>�AI�>I�I	c��i}|jr�d}tjj|j|�}|j	|�}|s|S|jd�}|jd�}|jd�}|jd�}	tjjd|j�}
|	j||
<|S)Nrrr�filenamerz/etc)rr r!r"r#r$r)rr.�outputr/r!r0r1rr5r�mfiles           r	�rsopzvgp_motd_ext.rsop9s��������;�C��7�7�<�<�� 1� 1�3�7�D��z�z�$�'�H���
��]�]�?�3�F��;�;�v�&�D��y�y��,�H��9�9�V�$�D��G�G�L�L�����7�E� �I�I�F�5�M��
rN)z	/etc/motd)�__name__�
__module__�__qualname__r
r3r8rrr	rrs��2�#.�(�Brr)r �samba.gp.gpclassrrrrr	�<module>r=s��"
�'�3�:�3r

Zerion Mini Shell 1.0