[2222] in Kerberos_V5_Development
Re: v4srvtab.c
daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Fri Feb 14 15:49:03 1997
Date: Fri, 14 Feb 1997 15:45:59 -0500
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Greg Hudson <ghudson@MIT.EDU>
Cc: krbdev@MIT.EDU
In-Reply-To: Greg Hudson's message of Fri, 14 Feb 1997 13:56:28 -0500,
<9702141856.AA10170@small-gods.MIT.EDU>
Date: Fri, 14 Feb 1997 13:56:28 -0500
From: Greg Hudson <ghudson@MIT.EDU>
One interesting screw you should be aware of: this implementation uses
get_service_key() in the krb4 compatibility library, which does not
have the code for falling back to the krb5 srvtab code (a good thing,
for my purposes, since I don't want to get into a loop). I have no
idea why the fallback code was implemented in read_service_key() (a
wrapper function) and not in get_service_key().
Because read_service_key() is the officially exported function in the V4
API. get_service_key() was never in the original v4 libraries; whoever
implemented the fallback code renamed the original read_service_key() to
be get_service_key(), probably in the name of making the code easier to
understand.
get_service_key() can (and probably should) be declared static.
- Ted