Article View: comp.protocols.kerberos
Article #857Kadmind patch.
From: Ruixi Yuan
Date: Mon, 23 Nov 1992 16:46
Date: Mon, 23 Nov 1992 16:46
40 lines
1810 bytes
1810 bytes
From kdrenard@BRL.MIL Mon Nov 23 08:23:03 1992
>
> Sorry, I don't have any fixes for rlogin for you at this time, it's
>next on my list. I would like to know what you have done to kadmin/kpasswd
>to keep its head above water. I have already replaced "exit"s in kadmind
>with "continues" to keep the server from dying after a successfully
>completing a request. I am quite disappointed that no network "cleanup"
>is attempted by kpasswd upon error ("finish:"). When you do not validate
>you new password correctly, kpasswd ends and lets the server die (errno 10).
>I haven't looked deep enough into the "Program lacks support for keytype..."
>error yet. Have you conquered these problems yet, are there others? Any
>help would be greatly appreciated.
>
>Ken Renard
>U.S. Army Research Lab
>ACISD-HPCCB
>
I solved this problem by correcting a simple mem allocation
error in kadmin/server/adm_funcs.c, the diffs between the corrected
version and original version is:
196c196
< memset((char *) entry, 0, sizeof(*entry));
---
> memset((char *) &entry, 0, sizeof(entry));
As for kpasswd, someone posted a patch before, the diffs for kpasswd.c is:
153c153
< if (!my_keyblock) {
---
> if (!*key) {
As for the kadmind server exiting problem, I didn't seem to have this
problem yet.
--- Ruixi Yuan, MTS
NEC Systems Lab.
yuan@syl.dl.nec.com
Technical Details
Message-ID:
<9211231646.AA01564@utah.syl.dl.nec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!syl.dl.nec.com!yuanShow Full Headers
Complete Article Headers
Newsgroups: comp.protocols.kerberos Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!syl.dl.nec.com!yuan From: yuan@syl.dl.nec.com (Ruixi Yuan) Subject: Kadmind patch. Message-ID: <9211231646.AA01564@utah.syl.dl.nec.com> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Mon, 23 Nov 1992 16:46:51 GMT Lines: 40