Skip to content

CustomerUserExternalSourceLoginRename

Compatibility OTOBO ≥ 10.0.x, Znuny ≥ 6.x

The CustomerUserExternalSourceLoginRename plugin provides a console command to change customer login names that originate from external sources such as LDAP. If, for example, the login is formed from the first and last name and the last name changes (e.g., due to marriage), this tool ensures that all associated tickets and data records in OTOBO are updated to the new login.

  1. Package Manager
  • Log in to the OTOBO admin area and navigate to System Administration → Package Manager. Search for “CustomerUserExternalSourceLoginRename” and click Install.
  1. Manual Installation
  • Unpack the release archive into Kernel/Config/Files/.
  • In the admin area under System Administration → Refresh → Reload File System, activate the new files.

Execute the following console command on your OTOBO server:

Terminal window
bin/otobo.Console.pl Admin::CustomerUser::ExternalSourceLoginRename \
--OldLogin "old.loginname" \
--NewLogin "new.loginname"
  • —OldLogin: The currently used (old) login name in the CustomerUser map.
  • —NewLogin: The desired new login name, also defined in the CustomerUser map.

Internally, the command triggers the same events as a manual login change and calls, for example, TicketCustomerSet() to assign existing tickets to the new user.

  • Framework: OTOBO ≥ 10.0.x
  • Packages: none
  • Third-Party: none

No further SysConfig settings are required. The command works immediately as long as the logins exist in the CustomerUser map.