lslebodn / SSSD / sssd

Forked from SSSD/sssd 7 years ago
Clone

8652689 RESPONDER: Use fqnames as output when needed

6 files Authored by fidencio 7 years ago, Committed by jhrozek 7 years ago,
    RESPONDER: Use fqnames as output when needed
    
    As some regressions have been caused by not handling properly naming
    conflicts when using shortnames, last explicitly use fully qualified
    names as output in the following situations:
    - domain resolution order is set;
    - a trusted domain has been using `use_fully_qualified_name = false`
    
    In both cases we want to ensure that even handling shortnames as input,
    the output will always be fully qualified.
    
    As part of this patch, our tests ended up being modified to reflect the
    changes done. In other words, the tests related to shortnames now return
    expect as return a fully qualified name for trusted domains.
    
    Resolves:
    https://pagure.io/SSSD/sssd/issue/3403
    
    Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+1 -0
file modified
+7 -0
file modified
+43 -65
file modified
+1 -1