3d402b6 ipa-client-samba: map domain sid of trust domain properly for display

Authored and Committed by abbra 4 years ago
    ipa-client-samba: map domain sid of trust domain properly for display
    
    Trusted domain object in LDAP uses ipaNTTrustedDomainSID attribute to
    store SID of the trusted domain while IPA domain itself uses
    ipaNTSecurityIdentifier. When mapping the values for printing out a
    summary table, use the right mapping according to the object.
    
    Fixes: https://pagure.io/freeipa/issue/8149
    Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>