1038473 Responder: simplify if-else structure in sss_dp_get_account_msg()

1 file Authored by amitkumar25nov 5 years ago, Committed by fidencio 5 years ago,
    Responder: simplify if-else structure in sss_dp_get_account_msg()
    
    The structure of if-else statements in sss_dp_get_account_msg
    become too complex. Replacing if-else with switch initially,
    Will investigate more on refactoring further.
    
    Resolves: https://pagure.io/SSSD/sssd/issue/1903
    Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>