d98d5e4 Remove all references to deleted indirect map from parent map

2 files Authored by rcritten 9 months ago, Committed by frenaud 9 months ago,
    Remove all references to deleted indirect map from parent map
    
    An attempt to do this was already coded but the wrong
    argument was used. It was passing in the location name and
    not the map name so the map wouldn't be completely removed.
    
    Include a test to verify that the map is gone after removing
    it by calling automountlocation-tofiles which will fail if the
    map wasn't properly removed.
    
    Fixes: https://pagure.io/freeipa/issue/9397
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>