[17328] in Kerberos_V5_Development
Re: Make klog_vsyslog() public?
daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Oct 28 18:52:04 2011
Message-ID: <4EAB320A.4090101@mit.edu>
Date: Fri, 28 Oct 2011 18:51:54 -0400
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Linus Nordberg <linus@nordu.net>
In-Reply-To: <yszbot0hjtk.fsf@nordberg.se>
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu
You can use com_err or com_err_va to log from a plugin; there's a
com_err hook which will convert those into KDC logs. This is probably
better than linking against libkadm5srv.
That said, I'll probably take this patch, since we already export
krb5_klog_syslog and I think variable-argument interfaces should
generally be paired with va_arg versions. As a technical note, your
patch seems to be missing changes to the libkadm5clnt and libkadm5srv
export lists.
_______________________________________________
krbdev mailing list krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev