]> eyrie.org Git - kerberos/krb5-sync.git/commit
Rework internal error handling to use Kerberos errors
authorRuss Allbery <eagle@eyrie.org>
Thu, 21 Nov 2013 02:15:08 +0000 (18:15 -0800)
committerRuss Allbery <eagle@eyrie.org>
Thu, 21 Nov 2013 02:15:08 +0000 (18:15 -0800)
commit077ae1a3dd8e42560cfc2be28f9a5526bd2f6338
treeeb6a173c938262e2dde8a9630132279db929fd1d
parent12048e19f3e27464c7bdb368501d857898c765f6
Rework internal error handling to use Kerberos errors

Now that we've dropped the old API, we can drop the error handling
mode, which predates rich Kerberos errors.  Replace it with use of
krb5_set_error_message everywhere, and change a lot of functions
to return a krb5_error_code instead of a boolean or some special
status code.

As part of this change, all password changes are queued for Active
Directory if they fail regardless of the reason for the failure.
13 files changed:
plugin/ad.c
plugin/api.c
plugin/error.c
plugin/heimdal.c
plugin/internal.h
plugin/mit.c
plugin/queue.c
portable/kadmin.h
tests/plugin/heimdal-t.c
tests/plugin/mit-t.c
tests/plugin/queue-only-t.c
tests/plugin/queuing-t.c
tools/krb5-sync.c