[17329] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Make klog_vsyslog() public?

daemon@ATHENA.MIT.EDU (Linus Nordberg)
Fri Oct 28 21:59:10 2011

To: krbdev@mit.edu
From: Linus Nordberg <linus@nordu.net>
Date: Fri, 28 Oct 2011 21:58:50 -0400
Message-ID: <yszlis4ftid.fsf@nordberg.se>
Mime-Version: 1.0
X-Complaints-To: usenet@dough.gmane.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

Greg Hudson <ghudson@MIT.EDU> wrote
Fri, 28 Oct 2011 18:51:54 -0400:

| 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.

So I just got rid of a dependency, great!


| 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.

Doh.  Thanks.

_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post