[249] in Kerberos-V5-bugs
Question regarding BSD r commands and kadmin in KB5-BETA2
daemon@ATHENA.MIT.EDU (Ruixi Yuan)
Wed Nov 11 18:56:13 1992
Date: Wed, 11 Nov 92 17:37:30 CST
From: yuan@syl.dl.nec.com (Ruixi Yuan)
To: kerberos@Athena.MIT.EDU, krb5-bugs@Athena.MIT.EDU
Hi, Everybody:
I am having difficulty getting the BSD r commands and "kadmin" working
under krb5-beta2. The error messages are as follows:
1. Kadmin:
Command (add, cpw, del, inq, mod, addrnd, cpwrnd, addv4, cpwv4, q): add
Name of Principal to be Added: newprincipal
Principal Already Exists!
Command (add, cpw, del, inq, mod, addrnd, cpwrnd, addv4, cpwv4, q): del
Name of Principal to be Deleted: oldprincipal
Principal Does NOT Exist!
This error persists regardless of whether the newprincipal and
old principal actually exist or not. I have krb5kdc and kadmind both
running.
2. BSD RCMDS:
I added a principal "host/<host>" to the Krb5 database and extracted a
srvtab by using "ext <host> host" in kdb5_edit. and placed it in
/etc/srvtab. Now, when I use the command "rlogin <host>", I got the
following error message.
rlogin: kcmd to host <host> failed - Not enough memory
trying normal rlogin (/usr/ucb/rlogin)
After some code hacking, It looks like the krb5_read and krb5_write
is not functioning properly. I suspect this has something to do with
the srvtab file: its proper extraction and location. But cannot find
any clue to it yet. Another possibility is that I am missing some
steps in setting up the applications.
Could some of our knowledgeable netters providing some comments on the
above mentioned problems? Thanks in advance!
--- Ruixi