New RT User tasked with figuring out the upgrade from 4.2.12 to 4.4.1. I’m finding the documentation a bit confusing, but perhaps it’s me. In particular, we are (in 4.2.12) using the RT-Authen-ExternalAuth plugin. I understand it has been moved to core, I’ve read all I can find to try to understand what changes I might need to make in the upgrade, but am still in need of some guidance.
In our instance we use LDAP for user authentication and log-in. One of the fields we get/use is ExternalAuthId, which is the employee ID number and, if I understand correctly, is the ID upon which all else in our RT is based (could be wrong about that) as far as who gets what and can do what. When I create a new user, I just enter the user’s company email address and then auto-populate the rest. ExternalAuthId is stored in our DB (Pg).
When I run, in our test/dev/environment, sudo make upgrade-database, I get the following:
“You have 7348 users(s) with a non-empty value for column ‘ExteranlAuthId’. Core RT does not use this column, so perhaps an extension or local modification makes use of it. Please migrate these user values to a custom field or an attribute because this upgrade will drop these columns. at ./etc/upgrade/4.3.0/content line 67, <$handle> line 1. (./etc/upgrade/4.3.0/content:67)
make: *** [upgrade-database] Error 1”
I believe, from talking to my manager and reading the code, that this column was added to the plugin by us, and is needed for our RT to properly function. If I can’t keep it, major rewrites will need to be done.
How do I keep it? I get that I need to make it a custom field or attribute based on the warning, but it is provided by LDAP and I’m not sure how to proceed.