"Operation not supported" error code

Will Fiveash William.Fiveash at sun.com
Wed Jun 14 16:23:04 EDT 2006


On Wed, Jun 14, 2006 at 02:52:44PM -0400, Ken Raeburn wrote:
> On Jun 14, 2006, at 11:34, Jeffrey Hutzelman wrote:
> 
> > It would seem to make sense in this case to define an error code  
> > for "operation not supported by plugin" or even "database operation  
> > not supported".
> 
> Sure.  I had already added an error code KRB5_PLUGIN_NO_HANDLE,  
> "Supplied data not handled by this plugin", for cases like a service- 
> location plugin that doesn't handle a specific realm, but we could  
> generalize the message a little, if no one minds using the same  
> message for database types.  (And the new error-message interface  
> could be used to store a message that actually talks about database  
> types.)

My concern is an admin naively trying to do something with a krb utility
that isn't supported by the configured KDB plugin.  If it be made clear
as to what the problem is so they don't waste cycles this would be good.

-- 
Will Fiveash
Sun Microsystems Inc.
Austin, TX, USA (TZ=CST6CDT)



More information about the krbdev mailing list