Skip Menu |
 

Subject: krb5_set_trace_filename not exported
I finally implemented an option to pam-krb5 to enable trace logging for
debugging (pam-krb5 almost always uses a secure context, so the
environment variable doesn't work), only to find that while
krb5_set_trace_filename is prototyped in krb5.h, it isn't exported by
the library. I assume this is an oversight?
Yes, that's an oversight. (The krb5_set_trace_callback API also needs to
be exported, and both also need to be added to krb5_32.def.)
From: ghudson@mit.edu
Subject: SVN Commit

Export krb5_set_trace_callback/filename

krb5_set_trace_callback and krb5_set_trace_filename were added to
krb5.h in krb5 1.9, but were mistakenly left out of the library export
lists. Add them now. Reported by Russ Allbery.

https://github.com/krb5/krb5/commit/61e6ab231b75f7ac3ff8967f002436e48ce05620
Author: Greg Hudson <ghudson@mit.edu>
Commit: 61e6ab231b75f7ac3ff8967f002436e48ce05620
Branch: master
src/lib/krb5/libkrb5.exports | 2 ++
src/lib/krb5_32.def | 5 ++++-
2 files changed, 6 insertions(+), 1 deletions(-)
This should also be pulled up to 1.9. The patch to krb5_32.def won't
apply to either branch, but applying the functional part by hand should be
easy.
From: tlyu@mit.edu
Subject: SVN Commit

Export krb5_set_trace_callback/filename

krb5_set_trace_callback and krb5_set_trace_filename were added to
krb5.h in krb5 1.9, but were mistakenly left out of the library export
lists. Add them now. Reported by Russ Allbery.

(backported from commit 61e6ab231b75f7ac3ff8967f002436e48ce05620)

https://github.com/krb5/krb5/commit/d0e740185b3f5732055dfa9a76a98c193d36b412
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: d0e740185b3f5732055dfa9a76a98c193d36b412
Branch: krb5-1.10
src/lib/krb5/libkrb5.exports | 2 ++
src/lib/krb5_32.def | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)