HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/ipaclient/plugins/__pycache__/migration.cpython-39.pyc
a

}�f��@shddlZddlmZddlmZddlmZddlmZej	rBe
Ze�Zeddd�Gdd	�d	e��Z
dS)
�N)�CommandOverride)�File)�Registry)�_T)�overrideZno_failcs8eZdZdZed�Zed�Z�fdd�Zdd�Z�Z	S)�
migrate_ds)�user�groupzVMigration mode is disabled.
Use 'ipa config-mod --enable-migration=TRUE' to enable it.z�Passwords have been migrated in pre-hashed format.
IPA is unable to generate Kerberos keys unless provided
with clear text passwords. All migrated users need to
login at https://your.domain/ipa/migration/ before they
can use their Kerberos accounts.c#s6tt|���D]"}|jdkr*|�|jt�}|VqdS)NZ
cacertfile)�superr�get_options�nameZclone_retyper)�self�option��	__class__��?/usr/lib/python3.9/site-packages/ipaclient/plugins/migration.pyr0s
zmigrate_ds.get_optionscKs�|�|j�|ds$|�|j�dS|ds:|�d�dSt|d���}|�d�|j|d|jdd�|jD],}|�d	|�|j|d
||jdd�qp|�dt|j��|s�|�d
|�dS|�t	|j
��dS)NZenabled��compatz�The compat plug-in is enabled. This can increase the memory requirements during migration. Disable the compat plug-in with 'ipa-compat-manage disable' or re-run this script with '--with-compat' option.�resultz	Migrated:F)Z
attr_orderZone_value_per_linez
Failed %s:ZfailedT�-z%No users/groups were migrated from %s)Z
print_namerZprint_plain�migration_disabled_msg�any�valuesZprint_entry1�
migrate_order�len�unicode�pwd_migration_msg)r
ZtextuirZldapuri�optionsZany_migratedZ
ldap_obj_namerrr�output_for_cli6s6


�
��zmigrate_ds.output_for_cli)
�__name__�
__module__�__qualname__rrrrrr�
__classcell__rrrrr!s
r)ZsixZipaclient.frontendrZipalib.parametersrZipalib.plugablerZipalibrZPY3�strr�registerrrrrr�<module>s