.. include:: /Includes.rst.txt .. _feature-1791764558: ============================================================= Feature: Import account blocks and LDAP settings from Horilla ============================================================= Description =========== The stage ``account-blocks`` runs after ``employees``: an employee who is active while the Horilla user is inactive gets an open block of the account with the reason "Other" and the note "Imported from Horilla". An account that ``invite-users`` creates later is blocked as soon as it exists. Archived employees get no block. With ``web-vision/adsum-ldap`` installed, the stage ``identity-providers`` turns Horilla's LDAP settings into a disabled directory provider of every imported company, with server, bind DN and base DN. Horilla's bind password, stored there in plain text, is never read; an admin enters a new one before enabling the provider. A directory provider may therefore now be saved disabled without a bind password; enabling it still needs one. Impact ====== Only with ``MIGRATION_ENABLED=1``. ``createIdentityProvider`` and ``updateIdentityProvider`` accept an ``ldap`` provider without bind password while it is disabled. .. index:: CLI, API, package:adsum-migration, package:adsum-ldap, package:adsum-core