[1605] in Kerberos_V5_Development

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

Propsal: Add krb5_get_profile...

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sun Aug 18 21:49:11 1996

From: epeisach@MIT.EDU
Date: Sun, 18 Aug 1996 21:49:03 -0400
To: krbcore@MIT.EDU


A message was sent to ther kerberos mailing list indicating that
unfortunatly, there is not way currently to gain access to the profile
field of the context without including k5-int.h - which is not installed
(and should not be).

The developer wants to add stanza to the krb5.conf for his application
for site configurable operations. I see several options depending on the
route we want to take:

a) Add 
krb5_error_code krb5_get_profile(krb5_context context, profile_t **)

so that the user may use it in calling profile_get_values, etc directly

b) Add 
	krb5_profile_get_values
	krb5_profile_get_string
	krb5_profile_get_integer

which take as argument a krb5_context and calls their conterpart thereby
hiding the profile_t aspect - which would have prototype problems in
krb5.hin. 


The more I think about it, the more I like (b). 

The other logical question is where to put such helpers? libkrb5?
libkrb5util? I just don't want to bloat the krb5 library any more with
what is really a helper for application development and not used
internally.

Thoughts? Comments?

	Ezra

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