]> 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)
committerGreg Hudson <ghudson@mit.edu>
Wed, 30 Oct 2013 16:38:03 +0000 (12:38 -0400)
commit5a77bb85294f37d1dfa4c7faedfdfb0d7faaf8dc
tree2ee2c3a24e06c62f22184b7146c458cba1c364f9
parent7b7e72f66cda405967b2a1da0b5ff8141feb0eb1
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.)

ticket: 7739 (new)
target_version: 1.12
tags: pullup
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c