]> git.ipfire.org Git - thirdparty/krb5.git/commit
Improve LDAP KDB initialization error messages
authorGreg Hudson <ghudson@mit.edu>
Mon, 28 Oct 2013 15:23:11 +0000 (11:23 -0400)
committerTom Yu <tlyu@mit.edu>
Wed, 30 Oct 2013 22:06:19 +0000 (18:06 -0400)
commit054d3ae1284d9e29ba93e2fa7a26bf4d75c75ff0
treeefec2d81d00fa3b156230e9154750ff37e909b73
parent3623e375a0ad440b4bb64b1b1589b962cc542d31
Improve LDAP KDB initialization error messages

In krb5_ldap_initialize, don't just blat the LDAP error into the
extended message; give an indication of which LDAP operation we were
trying to do and show what parameters we gave to it.

(Also, krb5_set_error_message can handle a null context argument, so
don't bother to check before calling.)

(cherry picked from commit 5a77bb85294f37d1dfa4c7faedfdfb0d7faaf8dc)

ticket: 7750 (new)
version_fixed: 1.10.7
status: resolved
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c