summaryrefslogtreecommitdiff
path: root/src/responder/pam
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-11-22 16:34:18 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-03-04 23:40:39 +0100
commitc6872e79e8496fd075e20aec0343ade99cca725c (patch)
tree3440487b6a82ad8a331d6398fae4e1cff037544e /src/responder/pam
parente1e429c89e70fddcad4210375aacd1e339e6d071 (diff)
downloadsssd-c6872e79e8496fd075e20aec0343ade99cca725c.tar.gz
sssd-c6872e79e8496fd075e20aec0343ade99cca725c.tar.bz2
sssd-c6872e79e8496fd075e20aec0343ade99cca725c.zip
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.
Diffstat (limited to 'src/responder/pam')
0 files changed, 0 insertions, 0 deletions