ee87f1c trust: fix get_dn() to distinguish creating and re-adding trusts

1 file Authored by abbra 10 years ago, Committed by mkosek 10 years ago,
    trust: fix get_dn() to distinguish creating and re-adding trusts
    
    Latest support for subdomains introduced regression that masked
    difference between newly added trust and re-added one.
    
    Additionally, in case no new subdomains were found, the code was
    returning None instead of an empty list which later could confuse
    trustdomain-find command.
    
    https://fedorahosted.org/freeipa/ticket/4067
    
        
file modified
+2 -2