On Wed, Mar 02, 2005 at 07:26:29AM -0500, Geoffrey Young wrote: > I think we just need another status besides > > typedef enum { > AUTH_DENIED, > AUTH_GRANTED, > AUTH_USER_FOUND, > AUTH_USER_NOT_FOUND, > AUTH_GENERAL_ERROR > } authn_status > > something like AUTH_DECLINED, which would mean that the current provider is > passing on doing the checking. code that into the provider loop and you're > done.
AUTH_USER_NOT_FOUND acts as AUTH_DECLINED. The auth modules loop until it runs out of providers or it receives something other than AUTH_USER_NOT_FOUND. -- justin