HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/ipaclient/plugins/__pycache__/migration.cpython-36.pyc
3

�d[e��@shddlZddlmZddlmZddlmZddlmZej	rBe
Ze�Zeddd�Gdd	�d	e��Z
dS)
�N)�CommandOverride)�File)�Registry)�_T)�overrideZno_failcs8eZdZd	Zed�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#s:x4tt|�j�D]"}|jdkr,|j|jt�}|VqWdS)NZ
cacertfile)�superr�get_options�nameZclone_retyper)�selfZoption)�	__class__��/usr/lib/python3.6/migration.pyr0s
zmigrate_ds.get_optionscKs�|j|j�|ds$|j|j�dS|ds:|jd�dSt|dj��}|jd�|j|d|jdd�x6|jD],}|jd	|�|j|d
||jdd�qrW|jdt|j��|s�|jd
|�dS|jt	|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
ZtextuirZldapuriZoptionsZany_migratedZ
ldap_obj_namerrr�output_for_cli6s0


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