WARNING about auth-type = Local

2011-09-21 Thread Johan Meiring
Hi, I use a completely custom setup. Not using the default server at all. All is working fine, except for a warning. In the authorise section, I have rlm_sql that selects the cleartext password from a database. The query looks like this. authorize_check_query = SELECT AccountID, Login,

Re: WARNING about auth-type = Local

2011-09-21 Thread Phil Mayers
On 21/09/11 17:11, Johan Meiring wrote: - [sql] expand: SELECT AccountID, Login, 'Cleartext-Password', Password, ':=' [sql] User found in radcheck table rlm_sql (sql): Released sql socket id: 1 +++[sql] returns ok ++- else else returns ok WARNING:

Re: WARNING about auth-type = Local

2011-09-21 Thread Alan DeKok
Johan Meiring wrote: My authorise and authenticate section looks like this. authorize { authorisation_log chap mschap sql pap } You need the pap module last in the authorize section. It will set Auth-Type for you. In 3.0, the Auth-Type = Local warnings

Re: WARNING about auth-type = Local

2011-09-21 Thread Johan Meiring
On 2011/09/21 06:19 PM, Alan DeKok wrote: Johan Meiring wrote: My authorise and authenticate section looks like this. authorize { authorisation_log chap mschap sql pap } You need the pap module last in the authorize section. It will set

Re: WARNING about auth-type = Local

2011-09-21 Thread Alan DeKok
Johan Meiring wrote: Thanks, makes perfect sense. Good... What now interests me, is how authentication worked at all previously? Magic. :( The server core had hacks to work around legacy configurations from version 0.x. That's bad, and should be removed from the server. Is that the