[180] in Info-AFS_Redistribution

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

Re: X11R4 XDM authentication and/or additional documentation

daemon@ATHENA.MIT.EDU (Paul Traina)
Thu Jun 27 13:07:34 1991

From: Paul Traina <pst@stanford.edu>
To: Ted_Anderson@transarc.com
Cc: info-afs@transarc.com
In-Reply-To: Your message of "Thu, 27 Jun 91 09:55:52 EDT."
Date: Thu, 27 Jun 91 08:59:54 -0700

  From: Ted_Anderson@transarc.com
  Subject: Re: X11R4 XDM authentication and/or additional documentation
  
  
  I'm curious about the setpag stuff.  Since you call ka_UserAuthenticate
  with the setpag argument true it is already doing a setpag for you.  The
  setpag which you added near the end would seem to change the PAG again,
  thus losing all the tickets.  I gather this doesn't happen, but I don't
  understand why.
  
  Also since you don't use the reason string, you might as well pass in a zero.

The code I wrote as expressed in the diff's is correct, my bug fix is bogus.
You just found a bug in my second comment (where I thought I had a bug and
said setpag() should be outside the KERBEROS definition).

This is lecture mode for everyone else, not for you Ted...  

The code I sent out does things two ways...if -DKERBEROS is set, then
ka_UserAuthenticate is not used so the explicit setpag() is required.
Unfortunately, the code I sent out is obviously much more complicated
than what most people care about, because we use MIT kerberos here.  I
had the code running both ways (with/without MIT kerberos) for spell and
things did work fine.  You're right about the reason code and I'll fix
that in my local copy.

Sorry about the bogus "bug fix" to the code. :-)


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