[1891] in Kerberos-V5-bugs

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

Re: ss-960411 Krlogind and AIX 4.1.4

daemon@ATHENA.MIT.EDU (Sam Hartman)
Fri Apr 19 02:21:56 1996

To: Doug Engert <DEEngert@anl.gov>
Cc: krb5-bugs@MIT.EDU
From: Sam Hartman <hartmans@MIT.EDU>
Date: 19 Apr 1996 02:21:02 -0400
In-Reply-To: Doug Engert's message of Wed, 17 Apr 1996 15:06:24 -0500

>>>>> "Doug" == Doug Engert <DEEngert@anl.gov> writes:

    Doug> On April 15, I sent in a note with updates to ss-960411 for
    Doug> krlogind.c to have it use a vendor's login. I had some of
    Doug> the ifdefs wrong, double negatives.  Attached is a new
    Doug> version of that same code.

    Doug> There are are three seperate changes:

	I have applied these as follows.  I will send you a copy of my
patch under separate cover.  There were a few changes; I believe your
change would break the situation where login.krb5 was used.  Please
confirm that the patch I send you works if you get a chance; it would
be great if we could get this resolved soon.  

    Doug>  The DO_NOT_USE_K_LOGIN will not use the login.krb5, but if
    Doug> the USE_LOGIN_F is also set, it will use the -f and -p
    Doug> options.

	Mostly done as you suggested.  I changed the terminal handling
a bit; I am not quite prepared to just skip terminal initialization
when using LOGIN_F.  (I know libpty currently deals, but this is not
set in stone yet.)  Also, you don't want to send lusername or
rusername for login.krb5.

    Doug> The change to test if the ioctl(p, TIOCPKT, &on); really
    Doug> worked inside of the protocol routine. Some drivers may not
    Doug> support it. even when defined in the header files.  (I saw
    Doug> this on the HP.)

	Applied with no change.

    Doug>  The checksum_required problem with earlier versions of
    Doug> Kerberos.

	I'm still trying to convince Ted to keep the old behavior as
the default and add a backward compatability option.  The current code
contains Ted's fix, which does almost exactly the same thing you did.
If I am sufficiently persuasive, the final solution will be slightly
different.  However, whatever we end up doing will allow you to solve
this problem.

    Doug> The krlogind now appears to function well on a AIX 4.1.4
    Doug> system, without mods to the util/pty routines!

    Doug>            Douglas E. Engert Systems Programming Argonne
    Doug> National Laboratory 9700 South Cass Avenue Argonne, Illinois
    Doug> 60439 (708) 252-5444

    Doug>            Internet: DEEngert@anl.gov


--Sam

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