[rt-users] rt2 to rt3, importing just users, queues, scrips, groups - how?
matthew zeier
mrz at intelenet.net
Tue Mar 4 10:21:52 EST 2003
I've been messing with the conversion tool today, trying to only export and
import users, groups, queues and scrips. Specifically with users, I only
want to keep non-Autocreated accounts.
Around line 106 I have:
if ($user_ds->{'Comments'} eq "Autocreated on ticket submission") {
print STDERR "skipping $user_ds->{'EmailAddress'}\n";
} else {
push (@{$ds->{'User'}},$user_ds);
}
And I commented out Links and put an exit() before the ticket exporter.
Import fails with the following:
[Mon Mar 3 22:41:31 2003] [crit]: Couldn't load principal to grant them
SuperUser globally
$VAR1 = {
'PrincipalType' => 'User',
'PrincipalId' => '1',
'Name' => 'SuperUser'
};
(/opt/rt3/lib/RT.pm:226)
What dependency did I miss?
metadata only has Scrip, Right, Group, and User.
--
matthew zeier | "Nothing in life is to be feared.
InteleNet Communications, Inc. | It is only to be understood."
(949) 784-7904 | - Marie Curie
_______________________________________________
rt-devel mailing list
rt-devel at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel
More information about the rt-users
mailing list