????

Your IP : 216.73.217.84


Current Path : /proc/self/root/lib/python3.9/site-packages/ipaclient/plugins/__pycache__/
Upload File :
Current File : //proc/self/root/lib/python3.9/site-packages/ipaclient/plugins/__pycache__/idrange.cpython-39.pyc

a

��i�	�@s>ddlmZddlmZe�Zeddd�Gdd�de��ZdS)�)�MethodOverride)�RegistryT)�overrideZno_failc@seZdZdd�ZdS)�idrange_addcs�t�fdd�dD��}��dd�}��dd�}��dd�}��fdd	�}|rf|dur�|d
kr�|d�n |durv|d�|dur�|d�dS)a4
        Ensure that rid-base is prompted for when dom-sid is specified.

        Also ensure that secondary-rid-base is prompted for when rid-base is
        specified and vice versa, in case that dom-sid was not specified.

        Also ensure that rid-base and secondary-rid-base is prompted for.
        c3s|]}|�vVqdS�N�)�.0Zdom_id)�kwr�=/usr/lib/python3.9/site-packages/ipaclient/plugins/idrange.py�	<genexpr>+�z:idrange_add.interactive_prompt_callback.<locals>.<genexpr>)ZipanttrusteddomainnameZipanttrusteddomainsidZ
ipabaseridNZipasecondarybaseridZiparangetypecs&���j|�}||i}��|�dSr)Zprompt_param�params�update)Zparam�valuer�r	�selfrr
�set_from_prompt2sz@idrange_add.interactive_prompt_callback.<locals>.set_from_promptzipa-ad-trust-posix)�any�get)rr	Zdom_sid_setZrid_baseZsecondary_rid_baseZ
range_typerrrr
�interactive_prompt_callbacks�
z'idrange_add.interactive_prompt_callbackN)�__name__�
__module__�__qualname__rrrrr
rsrN)Zipaclient.frontendrZipalib.plugabler�registerrrrrr
�<module>s