On Fri, May 30, 2003 at 09:32:36AM -0400, Alan DeKok wrote:
> Oliver Graf <[EMAIL PROTECTED]> wrote:
> > Is this a good place for the mutex? Or is it better to have some init
> > function for the mutex which is called from threads.c?
> 
>   The best thing to do, as I said before, is to delete the calls to
> crypt() (and ALL authentication checks) from src/main/auth.c, and fix
> the code so that the PAP module works.
> 
>   That will allow the mutex to be in a logical place: the PAP module's
> data structure.

Yep, the PAP module is sort of useless. Don't forget to check rlm_unix
which also does crypts. rlm_unix should work like rlm_sql: just fetch
data, so that some other module (rlm_pap) can authenticate it. Or am I
wrong?

Oliver.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to