[255] in Kerberos-V5-bugs
K5-beta2 rlogin application
daemon@ATHENA.MIT.EDU (Ruixi Yuan)
Thu Nov 19 20:34:25 1992
Date: Thu, 19 Nov 92 18:48:34 CST
From: yuan@syl.dl.nec.com (Ruixi Yuan)
To: kerberos@Athena.MIT.EDU, krb5-bugs@Athena.MIT.EDU
After installing KRB5-BETA2 version on my machine (SunOS 4.1.1) and
fixing some problems with kadmin, and kpasswd. I am trying to get
the bsd rcommonds running, but to no avail. After performing the
following procedures:
1. add an entry "host/ottawa.dl.nec.com" to the kerberos database
2. extract a srvtab file by using "xst ottawa.dl.nec.com host" in
kdb5_edit and place it in /krb5/v5srvtab
3. make the appropriate change in /etc/services and /etc/inetd.conf files
4. try "rlogin ottawa" and I got the following error messages:
rlogin: kcmd to host ottawa.dl.nec.com failed - Server rejected authentication (during sendauth exchange)
trying normal rlogin (/usr/ucb/rlogin)
Password:
In the /usr/adm/messages log file, it tells the following:
Nov 19 18:38:15 ottawa krlogind[24308]: Kerberos authentication failed from otta
wa.dl.nec.com: Wrong principal in request
Nov 19 18:38:15 ottawa krlogind[24308]: Error reading message
I have followed some of the source code, and it looks like somehow after
encoding and decoding the application request, the principal and relavent
keys from rlogin client don't match that of the krlogind server.
I have no clue on why the K5 rlogin problems does this, Does anybody
run into this kind of problem before, and can any knowledgeable netter
provide any info on why the above occur? (BTW, I have also tried to use
"host/ottawa" as principal, and "xst ottawa host" for srvtab).
Thanks in advance!
--- Ruixi , yuan@syl.dl.nec.com