%PDF- %PDF-
Direktori : /lib/python3/dist-packages/samba/__pycache__/ |
Current File : //lib/python3/dist-packages/samba/__pycache__/schema.cpython-312.pyc |
� �I�d) � � � d Z ddlmZ ddlmZmZmZ ddlmZ ddl m Z ddlmZ ddl mZ ddlmZ dd lmZ dd lmZmZ dd�Z G d � de� Zd� Zd� Z dd�Zy)z(Functions for setting up a Samba Schema.� )� b64encode)�read_and_sub_file�substitute_var�check_all_substituted)�security)�read_ms_schema)�ndr_pack)�SamDB�� get_string)�dsdb)� SCOPE_SUBTREE�SCOPE_ONELEVELNc �d � |�i }d}t j j || � }t |� S )Na� O:SAG:SAD:AI(OA;;CR;e12b56b6-0a95-11d1-adbb-00c04fd8d5cd;;SA)(OA;;CR;1131f6aa-9c07-11d1-f79f-00c04fc2dcd2;;ED)(OA;;CR;1131f6ab-9c07-11d1-f79f-00c04fc2dcd2;;ED)(OA;;CR;1131f6ac-9c07-11d1-f79f-00c04fc2dcd2;;ED)(OA;;CR;1131f6aa-9c07-11d1-f79f-00c04fc2dcd2;;BA)(OA;;CR;1131f6ab-9c07-11d1-f79f-00c04fc2dcd2;;BA)(OA;;CR;1131f6ac-9c07-11d1-f79f-00c04fc2dcd2;;BA)(A;CI;RPLCLORC;;;AU)(A;CI;RPWPCRCCLCLORCWOWDSW;;;SA)(A;CI;RPWPCRCCDCLCLORCWOWDSDDTSW;;;SY)(OA;;CR;1131f6ad-9c07-11d1-f79f-00c04fc2dcd2;;ED)(OA;;CR;89e95b76-444d-4c62-991a-0facbeda640c;;ED)(OA;;CR;1131f6ad-9c07-11d1-f79f-00c04fc2dcd2;;BA)(OA;;CR;89e95b76-444d-4c62-991a-0facbeda640c;;BA)(OA;;CR;1131f6aa-9c07-11d1-f79f-00c04fc2dcd2;;RO)(OA;;CR;1131f6ad-9c07-11d1-f79f-00c04fc2dcd2;;RO)(OA;;CR;89e95b76-444d-4c62-991a-0facbeda640c;;RO)S:(AU;SA;WPCCDCWOWDSDDTSW;;;WD)(AU;CISA;WP;;;WD)(AU;SA;CR;;;BA)(AU;SA;CR;;;DU)(OU;SA;CR;e12b56b6-0a95-11d1-adbb-00c04fd8d5cd;;WD)(OU;SA;CR;45ec5156-db7e-47bb-b53f-dbeb2d03c40f;;WD))r � descriptor� from_sddlr )� domain_sid�name_map�sddl�secs �./usr/lib/python3/dist-packages/samba/schema.py�get_schema_descriptorr $ s9 � �����A�D�. � � � '� '��j� 9�C��C�=�� c �j � e Zd Zddddddd�Z dd �Zed � � Zed� � Zd� Zd � Z d� Z d� Zd� Zy)�Schema)z"MS-AD_Schema_2K8_R2_Attributes.txtzMS-AD_Schema_2K8_R2_Classes.txt�/ )z0Attributes_for_AD_DS__Windows_Server_2008_R2.ldfz-Classes_for_AD_DS__Windows_Server_2008_R2.ldfr )z-Attributes_for_AD_DS__Windows_Server_2012.ldfz*Classes_for_AD_DS__Windows_Server_2012.ldf�8 )z,AD_DS_Attributes__Windows_Server_2012_R2.ldfz)AD_DS_Classes__Windows_Server_2012_R2.ldf�E )z*AD_DS_Attributes__Windows_Server_v1803.ldfz'AD_DS_Classes__Windows_Server_v1803.ldf�W )z)AD_DS_Attributes_Windows_Server_v1903.ldfz&AD_DS_Classes_Windows_Server_v1903.ldf�X )�2008_R2_old�2008_R2�2012�2012_R2�2016�2019Nc �T �� ddl m} |�t j � }|| _ || _ t dd�� | _ |�| j j |� t |dt j | d z � |dt j | d z � � | _ d� �|�dj �fd �|D � � | _ t | j d |i� | _ t | j � t t j! |� � } t# |d� || d�� | _ t'