[rt-users] Can't upgrade database upgrading to 4.4 (externalauthid issue)

fleon fleon at seguroscatatumbo.com
Thu Feb 11 09:03:08 EST 2016

I am upgrading to 4.4 from 4.2 and following all steps in the upgrading file
and readme, but when i do make upgrade-database i am getting the following

[23547] [Thu Feb 11 14:45:19 2016] [warning]: You have 626 users(s) with a
non-empty value for column 'ExternalAuthId'. 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

The docs said to remove the plugin from the local dir, to remove the plugin
declaration in SiteConfig and also to add Set($ExternalAuth, 1); to that
file, which i did.

My guess is that the failure is caused by using this configuration:

# The mapping of RT attributes on to LDAP attributes
  'attr_map'                  =>  {   'Name' => 'sAMAccountName',
  'EmailAddress' => 'mail',
  'Organization' => 'physicalDeliveryOfficeName',
  'RealName' => 'displayName',
  *'ExternalAuthId' => 'sAMAccountName',*

How do i fix this? This is practically required for any setup that uses
Windows Active Directory. Let's suppose the answer is to drop all these
values as the upgrade script says, but then how would i force the script to
run since it stops?

View this message in context: http://requesttracker.8502.n7.nabble.com/Can-t-upgrade-database-upgrading-to-4-4-externalauthid-issue-tp61350.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

More information about the rt-users mailing list