c6872e7 Cleanup error message handling for krb5 child

4 files Authored by simo 11 years ago, Committed by jhrozek 11 years ago,
    Cleanup error message handling for krb5 child
    
    Use the new internal SSSD errors, to simplify error handling.
    Instead of using up to 3 different error types (system, krb5 and
    pam_status), collapse all error reporting into one error type mapped
    on errno_t.
    
    The returned error can contain either SSSD internal errors, kerberos
    errors or system errors, they all use different number spaces so there
    is no overlap and they can be safely merged.
    
    This means that errors being sent from the child to the parent are not
    pam status error messages anymore.
    The callers have been changed to properly deal with that.
    
    Also note that this patch removes returning SSS_PAM_SYSTEM_INFO from
    the krb5_child for kerberos errors as all it was doing was simply to
    make the parent emit the same debug log already emitted by the child,
    and the code is simpler if we do not do that.
    
        
file modified
+80 -67
file modified
+160 -229
file modified
+6 -1
file modified
+5 -0