[4882] in Kerberos

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

is krb5_kdc_default_options part of the API?

daemon@ATHENA.MIT.EDU (Donna Converse)
Tue Mar 28 17:35:20 1995

To: kerberos@MIT.EDU
Cc: converse@x.org
Date: Tue, 28 Mar 1995 17:15:43 EST
From: Donna Converse <converse@x.org>


Looking at the R6 Xlib use of Kerberos, (in lib/X11/ConnDis.c)
I see a call to krb5_get_credentials which uses the undocumented
external variable krb5_kdc_default_options as the first argument.
Nor for that matter is its type documented, or the possible values
of variables of that type.  My attention has been drawn to it 
because this use of a variable is causing problems for shared library
X clients at link time.

I'm told this code was copied or derived from other working code,
though I don't know the source, rather than determined by reading
the docs and logically deducing what to do.  Aha.

Is the use of default options appropriate for this call; that is,
what is krb5_kdc_default_options, and would its value have meaning
for this call, and if so, is there no other way to determine and
represent these default options?

If so, I'd ask that a function be created in the next incarnation
of the API to return the default options, instead of using a variable.

Any comments from the developers, or the cognoscenti among you?

I'd welcome hearing from anyone who's working on bringing the R6 X
use of the Kerberos API up to date!

Finally, the usual: is Beta5 imminent?


Donna Converse
converse@x.org

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