[14696] in Kerberos
Re: Kerberized XDM? (XFree86)
daemon@ATHENA.MIT.EDU (David Holl)
Thu Jul 19 22:47:49 2001
Date: Thu, 19 Jul 2001 22:44:22 -0400 (EDT)
From: David Holl <smyrph@ece.wpi.edu>
To: <kerberos@mit.edu>
cc: <Xpert@XFree86.Org>, "Matthew X. Economou" <xenophon@irtnog.org>
Message-ID: <Pine.OSF.4.33.0107192229490.29690-100000@ece.wpi.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Yes, if anyone has a quick fix for XFree86, that'd be grand!
or if anyone would like to 'cowboy' code with me... we could fix XFree86
in a few programmer days... I almost finished updating 4.0.x then they
went and released 4.1.x... :)
Well, if someone could answer this (though I don't think this is the right
forum...) does anyone know where krb5_context should be initialized in
libX11, xauth, xdm, ...?! libXau was easy enough... ;) I obviously have
no clue what I'm doing (yet), but I'd thoroughly love to have "kerberized"
X logins. looks like XFree86 is almost there for krb5 1.2.2 but just
needs a few touch ups.
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"