[1892] in Kerberos-V5-bugs
patch for appl/bsd from 4/11/96 to 4/19/96
daemon@ATHENA.MIT.EDU (Doug Engert)
Fri Apr 19 13:00:37 1996
Date: Fri, 19 Apr 1996 11:57:27 -0500
From: Doug Engert <DEEngert@anl.gov>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: deengert@anl.gov, cc@austin.ibm.com, krb5-bugs@MIT.EDU
In-Reply-To: <199604190643.CAA06828@tertius.mit.edu>
Sam,
I applied the patches you sent. I had a little trouble with them,
since parts of the patch were already in ss-960411 file. I got it
straight.
There is a bug. You added the line:
else tiocpkt_on = 0;
It should be
else tiocpkt_on = 1;
You may also wish to change getstr(... to void getstr(...
I built the krlogind on AIX 4.1.4 using a configure with:
../src/configure --with-cc=gcc \
--with-ccopts=" -O -mcpu=common "\
--with-cppopts='-DAFS524 -DDO_NOT_USE_K_LOGIN -DUSE_LOGIN_F -DLOGIN_PROGRAM=\"/bin/login\" ' \
--prefix=/krb5
I tested it using:
./klogind -5ce -D 11111
./klogind -5e -D 11111
And it appears to work, i.e. ss-960411 clients work with both,
Other clients fail with the -c, and K5.5 clients fail and get the nice
message.
I still question the need to turn on the selected c_lflags and
c_iflags when using the vendor's login. I would assume that the slave
pty whould have the correct defaults aready set. On the AIX system,
when I login at the console, the IXANY and INCLR are off. You turn
them on.
The original problem was that you were turning off in krlogind.c flags
and having login.krb5 turn them back on. When using the vendor login,
these were not being turned back on, because they were not expected to
be off. ISIG was main one.
Other then that things are looking great.
~
Douglas E. Engert
Systems Programming
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(708) 252-5444
Internet: DEEngert@anl.gov