d6f8e06 adtrust upgrade: fix wrong primary principal name, part 2

1 file Authored by abbra 4 years ago, Committed by frenaud 4 years ago,
    adtrust upgrade: fix wrong primary principal name, part 2
    
    Second part of the trust principals upgrade
    
    For existing LOCAL-FLAT$@REMOTE object, convert it to
    krbtgt/LOCAL-FLAT@REMOTE and add LOCAL-FLAT$@REMOTE as an alias. To do
    so we need to modify an entry content a bit so it is better to remove
    the old entry and create a new one instead of renaming.
    
    Resolves: https://pagure.io/freeipa/issue/7992
    Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>