%PDF- %PDF-
Mini Shell

Mini Shell

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

�

�I�df��0�ddl�ddlmZGd�de�Zy)�)�*)�securityc��eZdZd�Zej
ejzejzejzZ	d�Z
d�Z		dd�Z		dd�Z
y)�Connc���|j|�rB|j|�D]}|j|dz|dz��|j|�y|j	|�y)N�\�name)�chkpath�list�deltree�rmdir�unlink)�self�path�entrys   �D/usr/lib/python3/dist-packages/samba/samba3/libsmb_samba_internal.pyrzConn.deltreesV���<�<������4��
:�����T�D�[�5��=�8�9�
:��J�J�t���K�K���c��d}|tjzr|tjz}|tjzr|tjz}|tjzr|tjz}|tj
zr|tjz}|tjzr|tjz}|S�Nr)r�
SECINFO_OWNER�SEC_STD_READ_CONTROL�
SECINFO_GROUP�SECINFO_DACL�SECINFO_SACL�SEC_FLAG_SYSTEM_SECURITY�
SECINFO_LABEL�r�secinfo�accesss   r�required_access_for_get_secinfoz$Conn.required_access_for_get_secinfo"s������X�+�+�+��h�3�3�3�F��X�+�+�+��h�3�3�3�F��X�*�*�*��h�3�3�3�F��X�*�*�*��h�7�7�7�F��X�+�+�+��h�3�3�3�F��
rc��d}|tjzr|tjz}|tjzr|tjz}|tjzr|tj
z}|tjzr|tjz}|tjzr|tjz}|tjzr|tj
z}|tjzr|tjz}|tjzr9|tjz}|tj
z}|tjz}|Sr)rr�SEC_STD_WRITE_OWNERrr�SEC_STD_WRITE_DACrrr�SECINFO_ATTRIBUTE�
SECINFO_SCOPE�SECINFO_BACKUPrs   r�required_access_for_set_secinfoz$Conn.required_access_for_set_secinfo;s�����X�+�+�+��h�2�2�2�F��X�+�+�+��h�2�2�2�F��X�*�*�*��h�0�0�0�F��X�*�*�*��h�7�7�7�F��X�+�+�+��h�2�2�2�F��X�/�/�/��h�0�0�0�F��X�+�+�+��h�7�7�7�F��X�,�,�,��h�2�2�2�F��h�0�0�0�F��h�7�7�7�F��
rNc��|�|j}|�|j|�}|j||ttz��}	|j||�}|j
|�|S#|j
|�wxYw)z!Get security descriptor for file.��Name�
DesiredAccess�ShareAccess)�SECINFO_DEFAULT_FLAGSr �create�FILE_SHARE_READ�FILE_SHARE_WRITE�get_sd�close)r�filename�sinfo�access_mask�fnum�sds      r�get_aclzConn.get_acl^s���
�=��.�.�E����>�>�u�E�K��{�{��%�(�)9�9��<��	����T�5�)�B��J�J�t���	��
�J�J�t��s�A'�'A:c��|�|j}|�|j|�}|j||ttz��}	|j|||�|j
|�y#|j
|�wxYw)z!Set security descriptor for file.Nr))r-r'r.r/r0�set_sdr2)rr3r7r4r5r6s      r�set_aclzConn.set_aclqsz���=��.�.�E����>�>�u�E�K��{�{��%�(�)9�9��<��	��K�K��b�%�(��J�J�t���D�J�J�t��s�A'�'A:)NN)�__name__�
__module__�__qualname__rrrrrrr-r r'r8r;�rrrrsh���	������	����	�	���	���2!�J� ��,� �	rrN)�"samba.samba3.libsmb_samba_cwrapper�samba.dcerpcr�LibsmbCConnrr?rr�<module>rCs�� 1�!�o�;�or

Zerion Mini Shell 1.0