[14679] in Kerberos

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

Kerberized XDM?

daemon@ATHENA.MIT.EDU (Matthew X. Economou)
Mon Jul 16 17:53:26 2001

From: xenophon@irtnog.org (Matthew X. Economou)
Date: 16 Jul 2001 16:32:59 -0400
Message-ID: <w4od770r4w4.fsf@eco-wks5.cinci.irtnog.org>
To: kerberos@MIT.EDU

I am attempting to Kerberize an SGI Indy workstation running IRIX 6.2
and MIT Kerberos 5 release 1.2.2.  One of my challenges is Kerberizing
the graphical login.  I have a recent copy of the XFree86 sources and
am trying to build XDM with Kerberos 5 support.  Unfortunately, even
after (incorrectly?) defining HasKrb5, Krb5Defines, Krb5Includes, and
Krb5Libraries, I get syntax errors when compiling the file
"session.c", e.g. at line 513, the macro krb5_cc_destroy is used with
an incorrect number of arguments:

	code = krb5_cc_destroy(ccache);

The macro is defined in krb5.h:

	#define krb5_cc_destroy(context, cache) ...

I added the following lines to /usr/lib/X11/config/host.def:

#define HasKrb5         YES
#define Krb5Defines     -DK5AUTH
#define Krb5Includes    -I/usr/athena/include
#define Krb5Libraries   -L/usr/athena/lib -lkrb5 -lk5crypto -lcom_err

What am I doing wrong?  Is there an xdm-krb5 package (or patches)
somewhere to make everything work nicely?

-- 
"His power lies apparently in his ability to choose incompetent
enemies." - Crow T. Robot, MST3K, "Prince of Space"

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