[3274] in Kerberos

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

Re: telnetd supporting both v4/v5?

daemon@ATHENA.MIT.EDU (Paul Pomes)
Fri May 13 19:06:47 1994

To: kerberos@MIT.EDU
Date: 13 May 1994 17:32:07 -0500
From: paul@vixen.cso.uiuc.edu (Paul Pomes)
Reply-To: P-Pomes@uiuc.edu

"Derrick J. Brashear" <db74+@andrew.cmu.edu> writes:

>I think the v4 telnet service wants a v4 key rcmd.hostname instead of
>host/hostname... create it as a v4 key, add it to the v4 srvtab, and try
>that.
>
>Right now I don't have v4 services working at all with my v5 server, but
>I haven't gotten the bug worked out yet.

This turned out to be the vital clue.  What I had to do was edit
appl/telnet/libtelnet/kerberos.c and change the

#define SERVICE "telnet"

to

#define SERVICE "rcmd"

"rcmd" is the service used by NCSA telnet and by FTP Software's telnet.

Next I added a service key with kdb5_edit as

ask rcmd/argus@UIUC.EDU
crk rcmd/argus@UIUC.EDU
xst4 argus rcmd

The resultant argus-new-v4-srvtab is copied to /etc/srvtab.

V5 operation, for completeness requires

ask telnet/argus.cso.uiuc.edu@UIUC.EDU
crk telnet/argus.cso.uiuc.edu@UIUC.EDU
xst argus.cso.uiuc.edu telnet

The resultant argus.cso.uiuc.edu-new-srvtab file was copied to /etc/v5srvtab.

/pbp
-- 
		 Alan Frederick Engelbrecht-Wiggans
		quem di diligunt, adolescens moritur

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